	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phantom_isr
_phantom_isr:                           ## @phantom_isr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	leaq	24(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	_PHN_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r15), %rdi
	callq	_ioread32
	movq	_PHN_CTL_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	16(%r15), %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	16(%r15), %rsi
	movl	$192, %edi
	callq	_iowrite32
	movq	_PHB_NOT_OH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_9
## %bb.3:
	movl	56(%r15), %edi
	movl	$8, %esi
	callq	_min
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%r15), %r12d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r12d, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movq	32(%r15), %rsi
	addq	%rbx, %rsi
	callq	_iowrite32
	jmp	LBB0_7
LBB0_1:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_PHN_CTL_AMP@GOTPCREL(%rip), %rax
	movl	4(%r15), %edi
	xorl	(%rax), %edi
	movl	%edi, 4(%r15)
	movq	_PHN_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r15), %rsi
	callq	_iowrite32
LBB0_9:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	16(%r15), %rdi
	callq	_ioread32
	leaq	12(%r15), %rdi
	callq	_atomic_inc
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_wake_up_interruptible
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHN_CONTROL,8,3                ## @PHN_CONTROL
	.comm	_PHN_CTL_IRQ,4,2                ## @PHN_CTL_IRQ
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PHB_NOT_OH,4,2                 ## @PHB_NOT_OH
	.comm	_PHN_CTL_AMP,4,2                ## @PHN_CTL_AMP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_phantom_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phantom_isr
_phantom_isr:                           ; @phantom_isr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	add	x20, x1, #24
	mov	x0, x20
	bl	_spin_lock
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x22, _PHN_CONTROL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PHN_CONTROL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_ioread32
Lloh2:
	adrp	x8, _PHN_CTL_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHN_CTL_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.1:
	ldr	x1, [x19, #16]
	mov	w0, #0
	bl	_iowrite32
	ldr	x1, [x19, #16]
	mov	w0, #192
	bl	_iowrite32
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _PHB_NOT_OH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PHB_NOT_OH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.2:
	ldr	w0, [x19, #56]
	mov	w1, #8
	bl	_min
	cbz	w0, LBB0_8
; %bb.3:
	mov	x21, #0
	mov	w23, w0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x23, x21
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x19, #40]
	mov	x0, x21
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #48]
	ldr	w0, [x8, x21, lsl #2]
	ldr	x8, [x19, #32]
	add	x1, x21, x8
	bl	_iowrite32
	b	LBB0_4
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _PHN_CTL_AMP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PHN_CTL_AMP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	eor	w0, w9, w8
	str	w0, [x19, #4]
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
LBB0_9:
	mov	x0, x20
	bl	_spin_unlock
	ldr	x0, [x19, #16]
	bl	_ioread32
	add	x0, x19, #12
	bl	_atomic_inc
	add	x0, x19, #8
	bl	_wake_up_interruptible
Lloh13:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PHN_CONTROL,8,3                ; @PHN_CONTROL
	.comm	_PHN_CTL_IRQ,4,2                ; @PHN_CTL_IRQ
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PHB_NOT_OH,4,2                 ; @PHB_NOT_OH
	.comm	_PHN_CTL_AMP,4,2                ; @PHN_CTL_AMP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_phantom_isr
.subsections_via_symbols
