	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmi_getsigstr
_fmi_getsigstr:                         ## @fmi_getsigstr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_mutex_lock
	xorl	%ebx, %ebx
	cmpq	$0, 8(%r12)
	sete	%bl
	leal	(,%rbx,8), %r14d
	movl	4(%r12), %esi
	movl	%r14d, %edi
	callq	_outb
	leal	16(,%rbx,8), %edi
	movl	4(%r12), %esi
	callq	_outb
	movl	$143, %edi
	callq	_msleep
	movl	4(%r12), %edi
	incl	%edi
	callq	_inb
	movq	%rax, %r15
	movl	4(%r12), %esi
	movl	%r14d, %edi
	callq	_outb
	movq	%r12, %rdi
	callq	_mutex_unlock
	xorl	%ecx, %ecx
	testb	$2, %r15b
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovnel	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fmi_getsigstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmi_getsigstr
_fmi_getsigstr:                         ; @fmi_getsigstr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w21, eq
	lsl	w20, w21, #3
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_outb
	mov	w0, #16
	bfi	w0, w21, #3, #1
	ldr	w1, [x19, #4]
	bl	_outb
	mov	w0, #143
	bl	_msleep
	ldr	w8, [x19, #4]
	add	w0, w8, #1
	bl	_inb
	mov	x21, x0
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_outb
	mov	x0, x19
	bl	_mutex_unlock
	tst	x21, #0x2
	mov	w8, #65535
	csel	w0, w8, wzr, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fmi_getsigstr
.subsections_via_symbols
