	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macio_adb_autopoll
_macio_adb_autopoll:                    ## @macio_adb_autopoll
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_macio_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_adb@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	$8, %rdi
	movl	%ebx, %esi
	sarl	$8, %esi
	callq	_out_8
	movq	(%r15), %rdi
	addq	$4, %rdi
	movl	%ebx, %esi
	callq	_out_8
	movq	(%r15), %rdi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_APE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	%ebx, %esi
	callq	_out_8
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_macio_lock,4,2                 ## @macio_lock
	.comm	_adb,8,3                        ## @adb
	.comm	_APE,4,2                        ## @APE
	.no_dead_strip	_macio_adb_autopoll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macio_adb_autopoll
_macio_adb_autopoll:                    ; @macio_adb_autopoll
	.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	x20, _macio_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _macio_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x21, _adb@GOTPAGE
Lloh3:
	ldr	x21, [x21, _adb@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, #8
	asr	w1, w19, #8
	bl	_out_8
	ldr	x8, [x21]
	add	x0, x8, #4
	mov	x1, x19
	bl	_out_8
	ldr	x0, [x21]
Lloh4:
	adrp	x8, _APE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _APE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w19, #0
	csel	w1, wzr, w8, eq
	bl	_out_8
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_macio_lock,4,2                 ; @macio_lock
	.comm	_adb,8,3                        ; @adb
	.comm	_APE,4,2                        ; @APE
	.no_dead_strip	_macio_adb_autopoll
.subsections_via_symbols
