	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_eiointr
_stl_eiointr:                           ## @stl_eiointr
	.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, %r14
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	8(%r14), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %r15d
	movl	(%r14), %edi
	callq	_inb
	movq	_EIO_INTRPEND@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*8(%rbx)
	movl	(%r14), %edi
	callq	_inb
	testl	%eax, (%r12)
	jne	LBB0_2
## %bb.3:
	movl	$1, %ebx
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_brd_lock,4,2                   ## @brd_lock
	.comm	_EIO_INTRPEND,4,2               ## @EIO_INTRPEND
	.no_dead_strip	_stl_eiointr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_eiointr
_stl_eiointr:                           ; @stl_eiointr
	.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
Lloh0:
	adrp	x0, _brd_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	bl	_spin_lock
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	ldr	w21, [x20]
	ldr	w0, [x19]
	bl	_inb
Lloh2:
	adrp	x22, _EIO_INTRPEND@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EIO_INTRPEND@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	w0, [x19]
	bl	_inb
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.2:
	mov	w19, #1
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
Lloh4:
	adrp	x0, _brd_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_brd_lock,4,2                   ; @brd_lock
	.comm	_EIO_INTRPEND,4,2               ; @EIO_INTRPEND
	.no_dead_strip	_stl_eiointr
.subsections_via_symbols
