	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macio_adb_interrupt
_macio_adb_interrupt:                   ## @macio_adb_interrupt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_macio_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_adb@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_in_8
	movq	_TAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_current_req@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_12
## %bb.3:
	movl	(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%r15), %rax
	movl	(%rax,%rbx), %esi
	callq	_out_8
	incq	%r14
	movslq	(%r15), %rsi
	addq	$4, %rbx
	cmpq	%rsi, %r14
	jl	LBB0_5
## %bb.6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	(%r13), %rdi
	addq	$8, %rdi
	movq	_HMB@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_out_8
	movl	$1, 16(%r15)
	movq	(%r13), %rdi
	addq	$24, %rdi
	cmpq	$0, 56(%r15)
	movq	_DTB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_9
## %bb.8:
	movq	_CRE@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_9:
	callq	_out_8
	movq	48(%r15), %rax
	movq	%rax, (%r12)
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	(%r13), %rbx
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TAR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	$1, %ebx
	movl	%eax, %esi
LBB0_11:
	callq	_out_8
LBB0_12:
	movq	(%r13), %rdi
	xorl	%esi, %esi
	callq	_out_8
	movl	$1, %r12d
LBB0_13:
	movq	(%r13), %rdi
	callq	_in_8
	movq	_DFB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.15:
	movq	(%r13), %rdi
	addq	$4, %rdi
	callq	_in_8
	movq	_current_req@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_24
## %bb.16:
	cmpl	$0, 16(%r12)
	je	LBB0_24
## %bb.17:
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:
	movq	(%r13), %rdi
	addq	$8, %rdi
	callq	_in_8
	movq	_HMB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 20(%r12)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	addq	%rbx, %rdi
	callq	_in_8
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%rbx)
	incq	%r15
	movslq	20(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_20
LBB0_21:
	movq	48(%r12), %rax
	movq	%rax, (%r14)
	movl	$1, %ebx
	xorl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movq	(%r13), %rbx
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TAR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	$1, %ebx
	movl	%eax, %esi
	callq	_out_8
LBB0_22:
	movq	%r12, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_24:
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_14:
	xorl	%r14d, %r14d
	jmp	LBB0_31
LBB0_26:
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rdi
	addq	$8, %rdi
	callq	_in_8
                                        ## kill: def $eax killed $eax def $rax
	movq	_HMB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_29
## %bb.27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %r12
	leaq	-64(%rbp), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	addq	%r14, %rdi
	callq	_in_8
	movb	%al, (%rbx)
	incq	%rbx
	addq	$4, %r14
	cmpq	%r14, %r12
	jne	LBB0_28
LBB0_29:
	movq	(%r13), %rdi
	addq	$8, %rdi
	callq	_in_8
	movq	_APD@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	setne	%r14b
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
LBB0_30:
	movq	(%r13), %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	callq	_out_8
	movq	(%r13), %rdi
	xorl	%esi, %esi
	callq	_out_8
	movl	$1, %r12d
LBB0_31:
	movq	_macio_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	testl	%ebx, %ebx
	je	LBB0_35
## %bb.32:
	testq	%r15, %r15
	je	LBB0_35
## %bb.33:
	movq	32(%r15), %rbx
	xorl	%eax, %eax
	callq	_mb
	movl	$1, 40(%r15)
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	callq	*%rbx
LBB0_35:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testl	%esi, %esi
	je	LBB0_37
## %bb.36:
	leaq	-64(%rbp), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	callq	_adb_input
LBB0_37:
	movl	%r12d, %edi
	callq	_IRQ_RETVAL
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_39
## %bb.38:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_macio_lock,4,2                 ## @macio_lock
	.comm	_adb,8,3                        ## @adb
	.comm	_TAG,4,2                        ## @TAG
	.comm	_current_req,8,3                ## @current_req
	.comm	_HMB,4,2                        ## @HMB
	.comm	_DTB,4,2                        ## @DTB
	.comm	_CRE,4,2                        ## @CRE
	.comm	_TAR,4,2                        ## @TAR
	.comm	_DFB,4,2                        ## @DFB
	.comm	_APD,4,2                        ## @APD
	.no_dead_strip	_macio_adb_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macio_adb_interrupt
_macio_adb_interrupt:                   ; @macio_adb_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x0, _macio_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _macio_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh5:
	adrp	x23, _adb@GOTPAGE
Lloh6:
	ldr	x23, [x23, _adb@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_in_8
Lloh7:
	adrp	x8, _TAG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TAG@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x21, _current_req@GOTPAGE
Lloh11:
	ldr	x21, [x21, _current_req@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.1:
	ldr	x19, [x21]
	cbz	x19, LBB0_8
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	add	x0, x8, x20
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x20]
	bl	_out_8
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x9, [x23]
	add	x0, x9, #8
Lloh12:
	adrp	x9, _HMB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HMB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w1, w9, w8
	bl	_out_8
	mov	w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #56]
	ldr	x9, [x23]
	add	x0, x9, #24
Lloh15:
	adrp	x9, _DTB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DTB@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	cbz	x8, LBB0_9
; %bb.6:
Lloh18:
	adrp	x8, _CRE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CRE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w1, w8, w1
	bl	_out_8
	mov	w24, #0
	b	LBB0_12
LBB0_7:
	mov	x19, #0
	mov	w24, #0
	mov	w22, #0
	b	LBB0_13
LBB0_8:
	mov	w24, #0
	b	LBB0_12
LBB0_9:
	bl	_out_8
	ldr	x8, [x19, #48]
	str	x8, [x21]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x23]
	add	x20, x8, #24
	mov	x0, x20
	bl	_in_8
Lloh21:
	adrp	x8, _TAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TAR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_out_8
LBB0_11:
	mov	w24, #1
LBB0_12:
	ldr	x0, [x23]
	mov	w1, #0
	bl	_out_8
	mov	w22, #1
LBB0_13:
	ldr	x0, [x23]
	bl	_in_8
Lloh24:
	adrp	x8, _DFB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DFB@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_25
; %bb.14:
	ldr	x8, [x23]
	add	x0, x8, #4
	bl	_in_8
	ldr	x22, [x21]
	cbz	x22, LBB0_23
; %bb.15:
	ldr	w8, [x22, #16]
	cbz	w8, LBB0_23
; %bb.16:
	cbnz	w0, LBB0_20
; %bb.17:
	ldr	x8, [x23]
	add	x0, x8, #8
	bl	_in_8
Lloh27:
	adrp	x8, _HMB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HMB@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x22, #20]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x19, #0
	mov	x20, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	add	x0, x8, x19
	bl	_in_8
	ldr	x8, [x22, #24]
	str	w0, [x8, x19]
	add	x20, x20, #1
	ldrsw	x8, [x22, #20]
	add	x19, x19, #4
	cmp	x20, x8
	b.lt	LBB0_19
LBB0_20:
	ldr	x8, [x22, #48]
	str	x8, [x21]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x8, [x23]
	add	x19, x8, #24
	mov	x0, x19
	bl	_in_8
Lloh30:
	adrp	x8, _TAR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TAR@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_out_8
LBB0_22:
	mov	w20, #0
	mov	w21, #0
	mov	w24, #1
	mov	x19, x22
	b	LBB0_30
LBB0_23:
	cbz	w0, LBB0_26
; %bb.24:
	mov	w20, #0
	mov	w21, #0
	b	LBB0_30
LBB0_25:
	mov	w20, #0
	mov	w21, #0
	b	LBB0_31
LBB0_26:
	ldr	x8, [x23]
	add	x0, x8, #8
	bl	_in_8
Lloh33:
	adrp	x8, _HMB@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HMB@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	and	w20, w8, w0
	cmp	w20, #1
	b.lt	LBB0_29
; %bb.27:
	mov	x21, #0
	lsl	x22, x20, #2
	add	x25, sp, #8
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	add	x0, x8, x21
	bl	_in_8
	strb	w0, [x25], #1
	add	x21, x21, #4
	cmp	x22, x21
	b.ne	LBB0_28
LBB0_29:
	ldr	x8, [x23]
	add	x0, x8, #8
	bl	_in_8
Lloh36:
	adrp	x8, _APD@GOTPAGE
Lloh37:
	ldr	x8, [x8, _APD@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w21, ne
LBB0_30:
	ldr	x8, [x23]
	add	x0, x8, #4
	mov	w1, #0
	bl	_out_8
	ldr	x0, [x23]
	mov	w1, #0
	bl	_out_8
	mov	w22, #1
LBB0_31:
Lloh39:
	adrp	x0, _macio_lock@GOTPAGE
Lloh40:
	ldr	x0, [x0, _macio_lock@GOTPAGEOFF]
	bl	_spin_unlock
	cbz	w24, LBB0_35
; %bb.32:
	cbz	x19, LBB0_35
; %bb.33:
	ldr	x23, [x19, #32]
	bl	_mb
	mov	w8, #1
	str	w8, [x19, #40]
	cbz	x23, LBB0_35
; %bb.34:
	mov	x0, x19
	blr	x23
LBB0_35:
	cbz	w20, LBB0_37
; %bb.36:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_adb_input
LBB0_37:
	mov	x0, x22
	bl	_IRQ_RETVAL
	ldr	x8, [sp, #24]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_macio_lock,4,2                 ; @macio_lock
	.comm	_adb,8,3                        ; @adb
	.comm	_TAG,4,2                        ; @TAG
	.comm	_current_req,8,3                ; @current_req
	.comm	_HMB,4,2                        ; @HMB
	.comm	_DTB,4,2                        ; @DTB
	.comm	_CRE,4,2                        ; @CRE
	.comm	_TAR,4,2                        ; @TAR
	.comm	_DFB,4,2                        ; @DFB
	.comm	_APD,4,2                        ; @APD
	.no_dead_strip	_macio_adb_interrupt
.subsections_via_symbols
