📄 gzip.s
字号:
stw 3,z_len@l(29) addis 9,0,.L59@ha addi 18,9,.L59@l addis 9,0,.L59@ha addi 19,9,.L59@l li 28,1 addis 24,0,optarg@ha addis 25,0,to_stdout@ha addis 26,0,decompress@ha addis 20,0,list@ha addis 30,0,no_time@ha li 31,0 addis 21,0,no_name@ha addis 22,0,quiet@ha addis 27,0,verbose@ha addis 23,0,progname@ha.L24: lwz 3,8(1) lwz 4,12(1) addis 5,0,.LC69@ha addi 5,5,.LC69@l addis 6,0,longopts@ha addi 6,6,longopts@l li 7,0 bl getopt_long cmpwi 1,3,-1 bc 12,6,.L25 addi 0,3,-49 cmplwi 1,0,69 bc 12,5,.L58 slwi 0,0,2 lwzx 0,18,0 add 0,0,19 mtctr 0 bctr .section ".rodata" .align 3 .align 2.L59: .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L57-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L35-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L35-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L37-.L59 .long .L39-.L59 .long .L41-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L44-.L59 .long .L58-.L59 .long .L58-.L59 .long .L47-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L48-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L28-.L59 .long .L29-.L59 .long .L30-.L59 .long .L31-.L59 .long .L58-.L59 .long .L32-.L59 .long .L58-.L59 .long .L35-.L59 .long .L58-.L59 .long .L58-.L59 .long .L58-.L59 .long .L36-.L59 .long .L38-.L59 .long .L40-.L59 .long .L58-.L59 .long .L58-.L59 .long .L42-.L59 .long .L43-.L59 .long .L58-.L59 .long .L45-.L59 .long .L58-.L59 .long .L46-.L59 .section ".text".L28: addis 9,0,ascii@ha stw 28,ascii@l(9) b .L24.L29: lwz 3,optarg@l(24) bl atoi addis 9,0,maxbits@ha stw 3,maxbits@l(9) b .L24.L30: stw 28,to_stdout@l(25) b .L24.L31: stw 28,decompress@l(26) b .L24.L32: addis 9,0,force@ha lwz 0,force@l(9) addic 0,0,1 stw 0,force@l(9) b .L24.L35: bl help b .L77.L36: stw 28,to_stdout@l(25) stw 28,decompress@l(26) stw 28,list@l(20) b .L24.L37: bl license b .L77.L38: stw 28,no_time@l(30) b .L24.L39: stw 31,no_time@l(30) b .L24.L40: stw 28,no_time@l(30) stw 28,no_name@l(21) b .L24.L41: stw 31,no_time@l(30) stw 31,no_name@l(21) b .L24.L42: stw 28,quiet@l(22) stw 31,verbose@l(27) b .L24.L43: addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,12(9) addis 4,0,.LC70@ha addi 4,4,.LC70@l.L78: lwz 5,progname@l(23) crxor 6,6,6 bl fprintf b .L58.L44: addis 29,0,z_len@ha lwz 3,optarg@l(24) bl strlen stw 3,z_len@l(29) addis 3,0,z_suffix@ha addi 3,3,z_suffix@l lwz 4,optarg@l(24) bl strcpy b .L24.L45: addis 9,0,test@ha stw 28,to_stdout@l(25) stw 28,decompress@l(26) stw 28,test@l(9) b .L24.L46: lwz 0,verbose@l(27) addic 0,0,1 stw 0,verbose@l(27) stw 31,quiet@l(22) b .L24.L47: bl version.L77: li 3,0 bl do_exit b .L24.L48: addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,12(9) addis 4,0,.LC71@ha addi 4,4,.LC71@l b .L78.L57: addis 9,0,level@ha addi 0,3,-48 stw 0,level@l(9) b .L24.L58: bl usage li 3,1 bl do_exit b .L24.L25: addis 11,0,no_time@ha lwz 0,no_time@l(11) cmpwi 1,0,0 bc 4,4,.L60 addis 9,0,decompress@ha lwz 0,decompress@l(9) stw 0,no_time@l(11).L60: addis 11,0,no_name@ha lwz 0,no_name@l(11) cmpwi 1,0,0 bc 4,4,.L61 addis 9,0,decompress@ha lwz 0,decompress@l(9) stw 0,no_name@l(11).L61: addis 9,0,optind@ha lwz 11,8(1) lwz 0,optind@l(9) subf 31,0,11 addis 9,0,ascii@ha lwz 0,ascii@l(9) cmpwi 1,0,0 bc 12,6,.L62 addis 9,0,quiet@ha lwz 0,quiet@l(9) cmpwi 1,0,0 bc 4,6,.L62 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha lwz 3,12(9) addis 4,0,.LC72@ha addi 4,4,.LC72@l lwz 5,progname@l(11) crxor 6,6,6 bl fprintf.L62: addis 9,0,z_len@ha lwz 0,z_len@l(9) cmpwi 1,0,0 bc 4,6,.L65 addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 12,6,.L64.L65: addis 9,0,z_len@ha lwz 0,z_len@l(9) cmpwi 1,0,30 bc 4,5,.L63.L64: addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha addis 10,0,optarg@ha lwz 3,12(9) addis 4,0,.LC73@ha addi 4,4,.LC73@l lwz 5,progname@l(11) lwz 6,optarg@l(10) crxor 6,6,6 bl fprintf li 3,1 bl do_exit.L63: addis 9,0,do_lzw@ha lwz 0,do_lzw@l(9) cmpwi 1,0,0 bc 12,6,.L66 addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 4,6,.L66 addis 11,0,work@ha addis 9,0,lzw@ha addi 9,9,lzw@l stw 9,work@l(11).L66: cmpwi 1,31,0 bc 12,6,.L67 addis 9,0,to_stdout@ha lwz 0,to_stdout@l(9) cmpwi 1,0,0 bc 12,6,.L68 addis 9,0,test@ha lwz 0,test@l(9) cmpwi 1,0,0 bc 4,6,.L68 addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0.L68: addis 9,0,optind@ha lwz 9,optind@l(9) lwz 0,8(1) cmpw 1,9,0 bc 4,4,.L74 addis 29,0,optind@ha.L72: lwz 0,optind@l(29) lwz 11,12(1) slwi 9,0,2 addic 0,0,1 stw 0,optind@l(29) lwzx 3,9,11 bl treat_file lwz 9,optind@l(29) lwz 0,8(1) cmpw 1,9,0 bc 12,4,.L72 b .L74.L67: bl treat_stdin.L74: addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0 bc 12,6,.L75 addis 9,0,quiet@ha lwz 0,quiet@l(9) subfic 9,0,0 adde 0,9,0 cmpwi 1,31,1 mfcr 9 rlwinm 9,9,6,1 and. 11,0,9 bc 12,2,.L75 li 3,-1 mr 4,3 bl do_list.L75: addis 29,0,exit_code@ha lwz 3,exit_code@l(29) bl do_exit lwz 3,exit_code@l(29) lwz 0,84(1) mtlr 0 lwz 18,24(1) lwz 19,28(1) lwz 20,32(1) lwz 21,36(1) lwz 22,40(1) lwz 23,44(1) lwz 24,48(1) lwz 25,52(1) lwz 26,56(1) lwz 27,60(1) lwz 28,64(1) lwz 29,68(1) lwz 30,72(1) lwz 31,76(1) addi 1,1,80 blr.Lfe5: .size main,.Lfe5-main .section ".rodata" .align 2.LC74: .string "%s: compressed data not %s a terminal. Use -f to force %scompression.\n" .align 2.LC75: .string "read from" .align 2.LC76: .string "written to" .align 2.LC77: .string "de" .align 2.LC78: .string "For help, type: %s -h\n" .align 2.LC79: .string "stdin" .align 2.LC80: .string "fstat(stdin)" .align 2.LC81: .string " OK\n" .section ".text" .align 2 .type treat_stdin,@functiontreat_stdin: stwu 1,-48(1) mflr 0 stw 22,8(1) stw 23,12(1) stw 24,16(1) stw 25,20(1) stw 26,24(1) stw 27,28(1) stw 28,32(1) stw 29,36(1) stw 30,40(1) stw 31,44(1) stw 0,52(1) addis 9,0,force@ha lwz 0,force@l(9) cmpwi 1,0,0 bc 4,6,.L80 addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0 bc 4,6,.L80 addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 12,6,.L81 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,4(9) b .L82.L81: addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,8(9).L82: bl fileno bl isatty cmpwi 1,3,0 bc 12,6,.L80 addis 9,0,_impure_ptr@ha lwz 11,_impure_ptr@l(9) addis 9,0,progname@ha addi 5,9,progname@l addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 12,6,.L83 addis 9,0,.LC75@ha addi 6,9,.LC75@l b .L84.L83: addis 9,0,.LC76@ha addi 6,9,.LC76@l.L84: addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 12,6,.L85 addis 9,0,.LC77@ha addi 7,9,.LC77@l b .L86.L85: addis 9,0,.LC5@ha addi 7,9,.LC5@l.L86: lwz 3,12(11) addis 4,0,.LC74@ha addi 4,4,.LC74@l lwz 5,0(5) crxor 6,6,6 bl fprintf addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha lwz 3,12(9) addis 4,0,.LC78@ha addi 4,4,.LC78@l lwz 5,progname@l(11) crxor 6,6,6 bl fprintf li 3,1 bl do_exit.L80: addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 addis 9,0,test@ha lwz 0,test@l(9) cmpwi 1,0,0 bc 4,6,.L89 addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0 bc 4,6,.L89 addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0.L89: addis 10,0,ifname@ha addi 8,10,ifname@l addis 9,0,.LC79@ha addi 11,9,.LC79@l lwz 0,.LC79@l(9) lhz 9,4(11) stw 0,ifname@l(10) sth 9,4(8) addis 10,0,ofname@ha addi 8,10,ofname@l addis 9,0,.LC15@ha addi 11,9,.LC15@l lwz 0,.LC15@l(9) lhz 9,4(11) lbz 11,6(11) stw 0,ofname@l(10) sth 9,4(8) stb 11,6(8) addis 9,0,time_stamp@ha li 0,0 stw 0,time_stamp@l(9) addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0 bc 4,6,.L92 addis 9,0,no_time@ha lwz 0,no_time@l(9) cmpwi 1,0,0 bc 4,6,.L91.L92: addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,4(9) bl fileno addis 4,0,istat@ha addi 4,4,istat@l bl fstat cmpwi 1,3,0 bc 12,6,.L93 addis 3,0,.LC80@ha addi 3,3,.LC80@l bl error.L93: addis 9,0,time_stamp@ha addis 11,0,istat+28@ha lwz 0,istat+28@l(11) stw 0,time_stamp@l(9).L91: addis 9,0,ifile_size@ha li 0,-1 stw 0,ifile_size@l(9) bl clear_bufs addis 9,0,to_stdout@ha li 0,1 stw 0,to_stdout@l(9) addis 9,0,part_nb@ha li 0,0 stw 0,part_nb@l(9) addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 12,6,.L94 addis 9,0,ifd@ha lwz 3,ifd@l(9) bl get_method addis 9,0,method@ha stw 3,method@l(9) cmpwi 1,3,0 bc 4,4,.L94 addis 9,0,exit_code@ha lwz 3,exit_code@l(9) bl do_exit.L94: addis 9,0,list@ha lwz 0,list@l(9) cmpwi 1,0,0 bc 12,6,.L96 addis 9,0,ifd@ha addis 11,0,method@ha lwz 3,ifd@l(9) lwz 4,method@l(11) bl do_list b .L79.L96: addis 22,0,work@ha addis 31,0,_impure_ptr@ha addis 23,0,decompress@ha addis 24,0,last_member@ha addis 25,0,inptr@ha addis 26,0,insize@ha addis 27,0,ifd@ha addis 28,0,method@ha addis 30,0,bytes_out@ha.L97: lwz 9,_impure_ptr@l(31) lwz 3,4(9) bl fileno mr 29,3 lwz 9,_impure_ptr@l(31) lwz 3,8(9) bl fileno mr 4,3 lwz 0,work@l(22) mr 3,29 mtlr 0 blrl cmpwi 1,3,0 bc 4,6,.L79 lwz 0,decompress@l(23) cmpwi 1,0,0 bc 12,6,.L98 lwz 29,last_member@l(24) cmpwi 1,29,0 bc 4,6,.L98 lwz 0,inptr@l(25) lwz 9,insize@l(26) cmpw 1,0,9 bc 12,6,.L98 lwz 3,ifd@l(27) bl get_method stw 3,method@l(28) cmpwi 1,3,0 bc 12,4,.L79 stw 29,bytes_out@l(30) b .L97.L98: addis 9,0,verbose@ha lwz 0,verbose@l(9) cmpwi 1,0,0 bc 12,6,.L79 addis 9,0,test@ha lwz 0,test@l(9) cmpwi 1,0,0 bc 12,6,.L105 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) lwz 3,12(9) addis 4,0,.LC81@ha addi 4,4,.LC81@l b .L108.L105: addis 9,0,decompress@ha lwz 0,decompress@l(9) cmpwi 1,0,0 bc 4,6,.L79 addis 10,0,bytes_in@ha addis 9,0,bytes_out@ha addis 11,0,header_bytes@ha lwz 3,bytes_out@l(9) lwz 0,header_bytes@l(11) subf 3,0,3 lwz 4,bytes_in@l(10) addis 29,0,_impure_ptr@ha lwz 9,_impure_ptr@l(29) subf 3,3,4 lwz 5,12(9) bl display_ratio lwz 9,_impure_ptr@l(29) lwz 3,12(9) addis 4,0,.LC61@ha addi 4,4,.LC61@l.L108: crxor 6,6,6 bl fprintf.L79: lwz 0,52(1) mtlr 0 lwz 22,8(1) lwz 23,12(1) lwz 24,16(1) lwz 25,20(1) lwz 26,24(1) lwz 27,28(1) lwz 28,32(1) lwz 29,36(1) lwz 30,40(1) lwz 31,44(1) addi 1,1,48 blr.Lfe6: .size treat_stdin,.Lfe6-treat_stdin .section ".rodata" .align 2.LC82: .string "-" .align 2.LC83: .string "%s: %s is a directory -- ignored\n" .align 2.LC84: .string "%s: %s is not a directory or a regular file - ignored\n" .align 2.LC85: .string "%s: %s has %d other link%c -- unchanged\n" .align 2.LC86: .string "%s: " .align 2.LC87: .string "%s: %s compressed to %s\n" .align 2.LC88: .string "%s:\t%s" .align 2.LC89: .string "\t" .align 2.LC90: .string "\t\t" .align 2.LC91: .string " OK" .align 2.LC92: .string " -- replaced with %s" .section ".text" .align 2 .type treat_file,@functiontreat_file: stwu 1,-48(1) mflr 0 stw 22,8(1) stw 23,12(1) stw 24,16(1) stw 25,20(1) stw 26,24(1) stw 27,28(1) stw 28,32(1) stw 29,36(1) stw 30,40(1) stw 31,44(1) stw 0,52(1) mr 29,3 addis 4,0,.LC82@ha addi 4,4,.LC82@l bl strcmp cmpwi 1,3,0 bc 4,6,.L110 addis 29,0,to_stdout@ha lwz 28,to_stdout@l(29) bl treat_stdin stw 28,to_stdout@l(29) b .L109.L110: mr 3,29 addis 29,0,istat@ha addi 4,29,istat@l bl get_istat cmpwi 1,3,0 bc 4,6,.L109 addi 9,29,istat@l lwz 0,4(9) rlwinm 0,0,0,16,19 cmpwi 1,0,16384 bc 4,6,.L112 addis 9,0,quiet@ha lwz 0,quiet@l(9) cmpwi 1,0,0 bc 4,6,.L119 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha lwz 3,12(9) addis 4,0,.LC83@ha addi 4,4,.LC83@l b .L163.L112: addis 9,0,istat+4@ha lwz 0,istat+4@l(9) rlwinm 0,0,0,16,19 li 9,0 ori 9,9,32768 cmpw 1,0,9 bc 12,6,.L115 addis 9,0,quiet@ha lwz 0,quiet@l(9) cmpwi 1,0,0 bc 4,6,.L119 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha lwz 3,12(9) addis 4,0,.LC84@ha addi 4,4,.LC84@l.L163: lwz 5,progname@l(11) addis 6,0,ifname@ha addi 6,6,ifname@l crxor 6,6,6 bl fprintf b .L119.L115: addis 9,0,istat+8@ha lhz 7,istat+8@l(9) cmplwi 1,7,1 bc 4,5,.L118 addis 9,0,to_stdout@ha lwz 0,to_stdout@l(9) cmpwi 1,0,0 bc 4,6,.L118 addis 9,0,force@ha lwz 0,force@l(9) cmpwi 1,0,0 bc 4,6,.L118 addis 9,0,quiet@ha lwz 0,quiet@l(9) cmpwi 1,0,0 bc 4,6,.L119 addis 9,0,_impure_ptr@ha lwz 9,_impure_ptr@l(9) addis 11,0,progname@ha subfic 8,7,2 subfe 8,8,8 andi. 8,8,115 lwz 3,12(9) addis 4,0,.LC85@ha addi 4,4,.LC85@l lwz 5,progname@l(11) addis 6,0,ifname@ha addi 6,6,ifname@l addi 7,7,-1 ori 8,8,32 crxor 6,6,6 bl fprintf.L119: addis 9,0,exit_code@ha lwz 0,exit_code@l(9) cmpwi 1,0,0 bc 4,6,.L109 li 0,2 stw 0,exit_code@l(9) b .L109.L118: addis 11,0,ifile_size@ha addis 9,0,istat+16@ha lwz 0,istat+16@l(9) stw 0,ifile_size@l(11) addis 9,0,time_stamp@ha addi 11,9,time_stamp@l addis 9,0,no_time@ha lwz 0,no_time@l(9) cmpwi 1,0,0 bc 12,6,.L125
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -