ogg2.s

来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 4,096 行 · 第 1/4 页

S
4,096
字号
.file	1 "ogg2.c".section .mdebug.abi32.previous.section	.text.ogg_probe,"ax",@progbits.align	2.align	5.ent	ogg_probe.type	ogg_probe, @functionogg_probe:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacrolw	$4,4($4)li	$2,79			# 0x4flbu	$3,0($4)beq	$3,$2,$L12nop$L2:move	$3,$0$L9:$L13:j	$31move	$2,$3$L12:lbu	$3,1($4)li	$2,103			# 0x67bne	$3,$2,$L2noplbu	$2,2($4)bne	$2,$3,$L13move	$3,$0lbu	$3,3($4)li	$2,83			# 0x53bne	$3,$2,$L13move	$3,$0lbu	$2,4($4)bne	$2,$0,$L13noplbu	$2,5($4)sltu	$2,$2,8bne	$2,$0,$L9li	$3,100			# 0x64j	$L13move	$3,$0.set	macro.set	reorder.end	ogg_probe.section	.text.ogg_read_close,"ax",@progbits.align	2.align	5.ent	ogg_read_close.type	ogg_read_close, @functionogg_read_close:.frame	$sp,32,$31		# vars= 0, regs= 4/0, args= 16, gp= 0.mask	0x80070000,-4.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$31,28($sp)sw	$18,24($sp)sw	$17,20($sp)sw	$16,16($sp)lw	$16,12($4)lw	$2,4($16)blez	$2,$L15move	$18,$0move	$17,$0$L17:lw	$2,0($16)addiu	$18,$18,1addu	$2,$2,$17jal	av_freelw	$4,0($2)lw	$2,0($16)addu	$2,$2,$17lw	$4,324($2)jal	av_freeaddiu	$17,$17,328lw	$2,4($16)slt	$2,$18,$2bne	$2,$0,$L17nop$L15:jal	av_freelw	$4,0($16)lw	$31,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)move	$2,$0j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	ogg_read_close.section	.text.ogg_save,"ax",@progbits.align	2.align	5.ent	ogg_save.type	ogg_save, @functionogg_save:.frame	$sp,56,$31		# vars= 0, regs= 10/0, args= 16, gp= 0.mask	0xc0ff0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-56sw	$31,52($sp)sw	$19,28($sp)sw	$16,16($sp)sw	$fp,48($sp)sw	$23,44($sp)sw	$22,40($sp)sw	$21,36($sp)sw	$20,32($sp)sw	$18,24($sp)sw	$17,20($sp)lw	$17,12($4)move	$16,$4lw	$2,4($17)sll	$3,$2,5sll	$4,$2,3addu	$4,$4,$3addu	$4,$4,$2sll	$4,$4,3.set	noreorder.set	nomacrojal	av_mallocaddiu	$4,$4,24.set	macro.set	reorderaddiu	$4,$16,16.set	noreorder.set	nomacrojal	url_ftellmove	$19,$2.set	macro.set	reorderlw	$4,12($17)sw	$2,0($19)sw	$4,8($19)lw	$5,4($17)sw	$3,4($19)sw	$5,16($19)lw	$4,4($17)lw	$6,24($17)sll	$3,$4,5sll	$2,$4,3addu	$2,$2,$3addu	$2,$2,$4sw	$6,12($19)sll	$6,$2,3sltu	$3,$6,32addiu	$4,$19,24.set	noreorder.set	nomacrobne	$3,$0,$L21lw	$5,0($17).set	macro.set	reorderandi	$2,$4,0x3.set	noreorder.set	nomacrobeq	$2,$0,$L81andi	$2,$5,0x3.set	macro.set	reorder$L21:jal	memcpy$L29:lw	$2,4($17).set	noreorder.set	nomacroblez	$2,$L33move	$20,$0.set	macro.set	reordermove	$18,$0li	$21,2			# 0x2li	$23,3			# 0x3li	$fp,1			# 0x1li	$22,-32			# 0xffffffffffffffe0$L35:lw	$2,0($17)addu	$16,$18,$2.set	noreorder.set	nomacrojal	av_malloclw	$4,4($16).set	macro.set	reorderlw	$6,4($16)move	$4,$2sw	$2,0($16)sltu	$2,$6,40.set	noreorder.set	nomacrobne	$2,$0,$L82andi	$3,$4,0x3.set	macro.set	reorderli	$2,4			# 0x4subu	$2,$2,$3.set	noreorder.set	nomacrobeq	$2,$21,$L41move	$3,$4.set	macro.set	reorderbeq	$2,$23,$L42beq	$2,$fp,$L83$L39:addiu	$5,$3,-4move	$2,$0#APP.word	0b01110000000000100000000001101111	#S32I2M XR1,$2#NO_APPandi	$3,$3,0x1f.set	noreorder.set	nomacrobeq	$3,$0,$L43and	$2,$5,$22.set	macro.set	reorderaddiu	$7,$2,32sltu	$3,$5,$7beq	$3,$0,$L43$L68:#APP.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4#NO_APPsltu	$2,$5,$7bne	$2,$0,$L68$L43:addu	$6,$6,$4addiu	$2,$6,-31and	$4,$2,$22sltu	$3,$5,$4.set	noreorder.set	nomacrobeq	$3,$0,$L88addiu	$2,$6,-4.set	macro.set	reorderaddiu	$2,$5,4$L89:#APPpref 30,0($2).word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4#NO_APPsltu	$2,$5,$4.set	noreorder.set	nomacrobne	$2,$0,$L89addiu	$2,$5,4.set	macro.set	reorderaddiu	$2,$6,-4$L88:li	$3,-4			# 0xfffffffffffffffcand	$3,$2,$3sltu	$4,$5,$3.set	noreorder.set	nomacrobeq	$4,$0,$L90andi	$2,$6,0x3.set	macro.set	reorder$L70:#APP.word	0b01110000101000000000010001010101	#S32SDI XR1,$5,4#NO_APPsltu	$2,$5,$3.set	noreorder.set	nomacrobne	$2,$0,$L70andi	$2,$6,0x3.set	macro.set	reorder$L90:.set	noreorder.set	nomacrobeq	$2,$21,$L51addiu	$3,$5,4.set	macro.set	reorderbeq	$2,$23,$L52beq	$2,$fp,$L84$L38:lw	$6,8($16)$L87:addu	$2,$18,$19sltu	$3,$6,32lw	$4,0($16).set	noreorder.set	nomacrobne	$3,$0,$L53lw	$5,24($2).set	macro.set	reorderandi	$2,$4,0x3bne	$2,$0,$L53andi	$2,$5,0x3bne	$2,$0,$L53addiu	$4,$4,-4and	$2,$6,$22addu	$7,$4,$2sltu	$3,$4,$7.set	noreorder.set	nomacrobeq	$3,$0,$L57addiu	$5,$5,-4.set	macro.set	reorder$L71:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000101000000000010010010100	#S32LDI XR2,$5,4.word	0b01110000101000000000010011010100	#S32LDI XR3,$5,4.word	0b01110000101000000000010100010100	#S32LDI XR4,$5,4.word	0b01110000101000000000010101010100	#S32LDI XR5,$5,4.word	0b01110000101000000000010110010100	#S32LDI XR6,$5,4.word	0b01110000101000000000010111010100	#S32LDI XR7,$5,4.word	0b01110000101000000000011000010100	#S32LDI XR8,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4.word	0b01110000100000000000010010010101	#S32SDI XR2,$4,4.word	0b01110000100000000000010011010101	#S32SDI XR3,$4,4.word	0b01110000100000000000010100010101	#S32SDI XR4,$4,4.word	0b01110000100000000000010101010101	#S32SDI XR5,$4,4.word	0b01110000100000000000010110010101	#S32SDI XR6,$4,4.word	0b01110000100000000000010111010101	#S32SDI XR7,$4,4.word	0b01110000100000000000011000010101	#S32SDI XR8,$4,4#NO_APPsltu	$2,$4,$7bne	$2,$0,$L71$L57:andi	$2,$6,0x1caddu	$7,$7,$2sltu	$3,$4,$7.set	noreorder.set	nomacrobeq	$3,$0,$L91andi	$2,$6,0x3.set	macro.set	reorder$L72:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$7.set	noreorder.set	nomacrobne	$2,$0,$L72andi	$2,$6,0x3.set	macro.set	reorder$L91:beq	$2,$21,$L63beq	$2,$23,$L64beq	$2,$fp,$L85$L61:lw	$2,4($17)$L86:addiu	$20,$20,1slt	$2,$20,$2.set	noreorder.set	nomacrobne	$2,$0,$L35addiu	$18,$18,328.set	macro.set	reorder$L33:sw	$19,24($17)lw	$31,52($sp)lw	$fp,48($sp)lw	$23,44($sp)lw	$22,40($sp)lw	$21,36($sp)lw	$20,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)move	$2,$0.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,56.set	macro.set	reorder$L53:jal	memcpy.set	noreorder.set	nomacroj	$L86lw	$2,4($17).set	macro.set	reorder$L82:.set	noreorder.set	nomacrojal	memsetmove	$5,$0.set	macro.set	reorder.set	noreorder.set	nomacroj	$L87lw	$6,8($16).set	macro.set	reorder$L41:addiu	$3,$4,2sb	$0,0($4).set	noreorder.set	nomacroj	$L39sb	$0,1($4).set	macro.set	reorder$L51:sb	$0,4($5).set	noreorder.set	nomacroj	$L38sb	$0,1($3).set	macro.set	reorder$L42:addiu	$3,$4,3sb	$0,0($4)sb	$0,1($4).set	noreorder.set	nomacroj	$L39sb	$0,2($4).set	macro.set	reorder$L52:sb	$0,6($5)sb	$0,4($5).set	noreorder.set	nomacroj	$L38sb	$0,5($5).set	macro.set	reorder$L83:addiu	$3,$4,1.set	noreorder.set	nomacroj	$L39sb	$0,0($4).set	macro.set	reorder$L84:.set	noreorder.set	nomacroj	$L38sb	$0,4($5).set	macro.set	reorder$L81:.set	noreorder.set	nomacrobne	$2,$0,$L21li	$2,-32			# 0xffffffffffffffe0.set	macro.set	reorderaddiu	$4,$19,20and	$2,$6,$2addu	$7,$4,$2sltu	$3,$4,$7.set	noreorder.set	nomacrobeq	$3,$0,$L25addiu	$5,$5,-4.set	macro.set	reorder$L66:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000101000000000010010010100	#S32LDI XR2,$5,4.word	0b01110000101000000000010011010100	#S32LDI XR3,$5,4.word	0b01110000101000000000010100010100	#S32LDI XR4,$5,4.word	0b01110000101000000000010101010100	#S32LDI XR5,$5,4.word	0b01110000101000000000010110010100	#S32LDI XR6,$5,4.word	0b01110000101000000000010111010100	#S32LDI XR7,$5,4.word	0b01110000101000000000011000010100	#S32LDI XR8,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4.word	0b01110000100000000000010010010101	#S32SDI XR2,$4,4.word	0b01110000100000000000010011010101	#S32SDI XR3,$4,4.word	0b01110000100000000000010100010101	#S32SDI XR4,$4,4.word	0b01110000100000000000010101010101	#S32SDI XR5,$4,4.word	0b01110000100000000000010110010101	#S32SDI XR6,$4,4.word	0b01110000100000000000010111010101	#S32SDI XR7,$4,4.word	0b01110000100000000000011000010101	#S32SDI XR8,$4,4#NO_APPsltu	$2,$4,$7bne	$2,$0,$L66$L25:andi	$2,$6,0x1caddu	$7,$7,$2sltu	$3,$4,$7.set	noreorder.set	nomacrobeq	$3,$0,$L92andi	$3,$6,0x3.set	macro.set	reorder$L67:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$7.set	noreorder.set	nomacrobne	$2,$0,$L67andi	$3,$6,0x3.set	macro.set	reorder$L92:li	$2,3			# 0x3.set	noreorder.set	nomacrobeq	$3,$2,$L32li	$2,1			# 0x1.set	macro.set	reorderbne	$3,$2,$L29lbu	$2,4($5).set	noreorder.set	nomacroj	$L29sb	$2,4($4).set	macro.set	reorder$L63:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5).set	noreorder.set	nomacroj	$L61sb	$3,5($4).set	macro.set	reorder$L64:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L61sb	$2,6($4).set	macro.set	reorder$L85:lbu	$2,4($5).set	noreorder.set	nomacroj	$L61sb	$2,4($4).set	macro.set	reorder$L32:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L29sb	$2,6($4).set	macro.set	reorder.end	ogg_save.section	.rodata.str1.4,"aMS",@progbits,1.align	2$LC0:.ascii	"ogg, can't find sync word\012\000".section	.text.ogg_read_page,"ax",@progbits.align	2.align	5.ent	ogg_read_page.type	ogg_read_page, @functionogg_read_page:.frame	$sp,72,$31		# vars= 16, regs= 10/0, args= 16, gp= 0.mask	0xc0ff0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-72sw	$19,44($sp)sw	$18,40($sp)addiu	$19,$4,16addiu	$18,$sp,16sw	$20,48($sp)sw	$31,68($sp)sw	$fp,64($sp)sw	$23,60($sp)sw	$22,56($sp)sw	$21,52($sp)sw	$17,36($sp)sw	$16,32($sp)move	$20,$4sw	$5,76($sp)move	$4,$19move	$5,$18li	$6,4			# 0x4.set	noreorder.set	nomacrojal	get_bufferlw	$21,12($20).set	macro.set	reorderslt	$2,$2,4.set	noreorder.set	nomacrobne	$2,$0,$L94move	$16,$0.set	macro.set	reorder.set	noreorder.set	nomacroj	$L208andi	$17,$16,0x3.set	macro.set	reorder$L97:.set	noreorder.set	nomacrojal	url_fgetcaddiu	$16,$16,1.set	macro.set	reorder.set	noreorder.set	nomacrobltz	$2,$L94addu	$3,$18,$17.set	macro.set	reordersb	$2,0($3)li	$2,65308			# 0xff1c.set	noreorder.set	nomacrobeq	$16,$2,$L202lui	$6,%hi($LC0).set	macro.set	reorderandi	$17,$16,0x3$L208:addiu	$2,$16,1addu	$3,$18,$17andi	$2,$2,0x3lbu	$5,0($3)addu	$6,$18,$2li	$2,79			# 0x4f.set	noreorder.set	nomacrobne	$5,$2,$L97move	$4,$19.set	macro.set	reorderaddiu	$2,$16,2andi	$2,$2,0x3lbu	$5,0($6)addu	$3,$18,$2li	$2,103			# 0x67.set	noreorder.set	nomacrobne	$5,$2,$L97addiu	$2,$16,3.set	macro.set	reorderlbu	$3,0($3)andi	$2,$2,0x3.set	noreorder.set	nomacrobne	$3,$5,$L97addu	$2,$18,$2.set	macro.set	reorderlbu	$3,0($2)li	$2,83			# 0x53.set	noreorder.set	nomacrobne	$3,$2,$L97li	$2,65306			# 0xff1a.set	macro.set	reorderslt	$2,$2,$16.set	noreorder.set	nomacrobne	$2,$0,$L102lui	$6,%hi($LC0).set	macro.set	reorder.set	noreorder.set	nomacrojal	url_fgetcmove	$4,$19.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L105li	$2,-1			# 0xffffffffffffffff.set	macro.set	reorder.set	noreorder.set	nomacrojal	url_fgetcmove	$4,$19.set	macro.set	reordermove	$4,$19.set	noreorder.set	nomacrojal	get_le64move	$fp,$2.set	macro.set	reordermove	$4,$19sw	$3,28($sp).set	noreorder.set	nomacrojal	get_le32sw	$2,24($sp).set	macro.set	reordermove	$4,$19.set	noreorder.set	nomacrojal	get_le32move	$17,$2.set	macro.set	reorder.set	noreorder.set	nomacrojal	get_le32move	$4,$19.set	macro.set	reorder.set	noreorder.set	nomacrojal	url_fgetcmove	$4,$19.set	macro.set	reorderlw	$6,4($21).set	noreorder.set	nomacroblez	$6,$L107move	$23,$2.set	macro.set	reorderlw	$4,0($21)lw	$2,20($4).set	noreorder.set	nomacrobeq	$2,$17,$L195move	$3,$4.set	macro.set	reorder.set	noreorder.set	nomacroj	$L112move	$22,$0.set	macro.set	reorder$L113:lw	$2,348($3).set	noreorder.set	nomacrobeq	$17,$2,$L114addiu	$3,$3,328.set	macro.set	reorder$L112:addiu	$22,$22,1bne	$22,$6,$L113$L107:lw	$16,12($20)lw	$22,4($16)lw	$4,0($16)addiu	$2,$22,1sll	$3,$2,5sll	$5,$2,3addu	$5,$5,$3addu	$5,$5,$2sll	$5,$5,3.set	noreorder.set	nomacrojal	av_reallocsw	$2,4($16).set	macro.set	reordersll	$4,$22,5sll	$3,$22,3addu	$3,$3,$4addu	$3,$3,$22sll	$18,$3,3addu	$5,$2,$18andi	$4,$5,0x3li	$3,4			# 0x4sw	$2,0($16)subu	$3,$3,$4li	$2,2			# 0x2move	$6,$5.set	noreorder.set	nomacrobeq	$3,$2,$L118addiu	$5,$5,328.set	macro.set	reorderli	$2,3			# 0x3.set	noreorder.set	nomacrobeq	$3,$2,$L119li	$2,1			# 0x1.set	macro.set	reorderbeq	$3,$2,$L196$L116:move	$3,$6move	$2,$0addiu	$6,$6,-4#APP.word	0b01110000000000100000000001101111	#S32I2M XR1,$2#NO_APPandi	$3,$3,0x1f.set	noreorder.set	nomacrobeq	$3,$0,$L203addiu	$2,$5,-31.set	macro.set	reorderli	$2,-32			# 0xffffffffffffffe0and	$2,$6,$2addiu	$4,$2,32sltu	$3,$6,$4.set	noreorder.set	nomacrobeq	$3,$0,$L203addiu	$2,$5,-31.set	macro.set	reorder$L178:#APP.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4#NO_APPsltu	$2,$6,$4.set	noreorder.set	nomacrobne	$2,$0,$L178addiu	$2,$5,-31.set	macro.set	reorder$L203:li	$3,-32			# 0xffffffffffffffe0and	$3,$2,$3sltu	$4,$6,$3.set	noreorder.set	nomacrobeq	$4,$0,$L204addiu	$2,$5,-4.set	macro.set	reorderaddiu	$2,$6,4$L205:#APPpref 30,0($2).word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4#NO_APPsltu	$2,$6,$3.set	noreorder.set	nomacrobne	$2,$0,$L205addiu	$2,$6,4.set	macro.set	reorderaddiu	$2,$5,-4$L204:li	$3,-4			# 0xfffffffffffffffcand	$3,$2,$3sltu	$4,$6,$3beq	$4,$0,$L125$L180:#APP.word	0b01110000110000000000010001010101	#S32SDI XR1,$6,4#NO_APPsltu	$2,$6,$3bne	$2,$0,$L180$L125:andi	$5,$5,0x3li	$2,2			# 0x2.set	noreorder.set	nomacrobeq	$5,$2,$L129addiu	$3,$6,4.set	macro.set	reorderli	$2,3			# 0x3.set	noreorder.set	nomacrobeq	$5,$2,$L130li	$2,1			# 0x1.set	macro.set	reorderbeq	$5,$2,$L197$L127:lw	$16,0($16)li	$2,65307			# 0xff1baddu	$16,$18,$16li	$4,65307			# 0xff1bsw	$17,20($16).set	noreorder

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?