	.file	"extr_pst-iop.c_iop_get_mfa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pstiop: no free mfa\n"
	.text
	.p2align 4
	.globl	iop_get_mfa
	.type	iop_get_mfa, @function
iop_get_mfa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	r12d, DWORD PTR [rax]
	cmp	r12d, -1
	jne	.L1
	mov	rbp, rdi
	mov	ebx, 10000
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	test	ebx, ebx
	je	.L5
.L4:
	mov	edi, 1000
	sub	ebx, 1
	call	DELAY@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	r12d, DWORD PTR [rax]
	cmp	r12d, -1
	je	.L9
	test	ebx, ebx
	je	.L5
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	iop_get_mfa, .-iop_get_mfa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pst-iop.c_iop_get_mfa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pstiop: no free mfa\012\000"
	.text
	.align	2
	.global	iop_get_mfa
	.syntax unified
	.arm
	.fpu softvfp
	.type	iop_get_mfa, %function
iop_get_mfa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	cmn	r5, #1
	bne	.L1
	mov	r6, r0
	ldr	r4, .L10
	b	.L4
.L9:
	cmp	r4, #0
	beq	.L5
.L4:
	mov	r0, #1000
	bl	DELAY
	ldr	r3, [r6]
	sub	r4, r4, #1
	ldr	r5, [r3]
	cmn	r5, #1
	beq	.L9
	cmp	r4, #0
	beq	.L5
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r0, .L10+4
	bl	printf
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	10000
	.word	.LC0
	.size	iop_get_mfa, .-iop_get_mfa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
