	.file	"extr_radio-sf16fmi.c_fmi_getsigstr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fmi_getsigstr, @function
fmi_getsigstr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	mutex_lock@PLT
	cmp	QWORD PTR 8[rbp], 1
	mov	esi, DWORD PTR 4[rbp]
	sbb	r13d, r13d
	and	r13d, -8
	add	r13d, 24
	cmp	QWORD PTR 8[rbp], 1
	sbb	r12d, r12d
	not	r12d
	and	r12d, 8
	mov	edi, r12d
	call	outb@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, r13d
	call	outb@PLT
	mov	edi, 143
	call	msleep@PLT
	mov	eax, DWORD PTR 4[rbp]
	lea	edi, 1[rax]
	call	inb@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, r12d
	mov	rbx, rax
	call	outb@PLT
	and	ebx, 2
	mov	rdi, rbp
	call	mutex_unlock@PLT
	cmp	ebx, 1
	sbb	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	movzx	eax, ax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fmi_getsigstr, .-fmi_getsigstr
	.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_radio-sf16fmi.c_fmi_getsigstr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmi_getsigstr, %function
fmi_getsigstr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	mutex_lock
	ldr	r5, [r4, #8]
	ldr	r1, [r4, #4]
	cmp	r5, #0
	movne	r5, #8
	moveq	r6, #16
	movne	r6, #24
	mov	r0, r5
	bl	outb
	ldr	r1, [r4, #4]
	mov	r0, r6
	bl	outb
	mov	r0, #143
	bl	msleep
	ldr	r0, [r4, #4]
	add	r0, r0, #1
	bl	inb
	mov	r6, r0
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	outb
	mov	r0, r4
	bl	mutex_unlock
	tst	r6, #2
	ldr	r0, .L8
	movne	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	65535
	.size	fmi_getsigstr, .-fmi_getsigstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
