	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irq_handler
_irq_handler:                           ## @irq_handler
	.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, %r14
	movq	_PCI_INT_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_reg_read
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movq	_PCI_INT_INT_PEND@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_PCI_INT_P1394_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_LINK_INT_STATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_reg_read
	movl	%eax, %r15d
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_reg_write
	movq	_LINK_INT_PHY_BUSRESET@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jle	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_bus_reset_irq_handler
LBB0_5:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_reg_write
	movq	_PCI_INT_DMA0_HLT@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%ebx, (%rax)
	jle	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_packet_irq_handler
	movl	(%r14), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_run_pcl
LBB0_7:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_INT_STATUS,4,2             ## @PCI_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PCI_INT_INT_PEND,4,2           ## @PCI_INT_INT_PEND
	.comm	_PCI_INT_P1394_INT,4,2          ## @PCI_INT_P1394_INT
	.comm	_LINK_INT_STATUS,4,2            ## @LINK_INT_STATUS
	.comm	_LINK_INT_PHY_BUSRESET,4,2      ## @LINK_INT_PHY_BUSRESET
	.comm	_PCI_INT_DMA0_HLT,4,2           ## @PCI_INT_DMA0_HLT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irq_handler
_irq_handler:                           ; @irq_handler
	.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
Lloh0:
	adrp	x22, _PCI_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCI_INT_STATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_reg_read
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _PCI_INT_INT_PEND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_INT_INT_PEND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _PCI_INT_P1394_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_INT_P1394_INT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.3:
Lloh8:
	adrp	x23, _LINK_INT_STATUS@GOTPAGE
Lloh9:
	ldr	x23, [x23, _LINK_INT_STATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_reg_read
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_reg_write
Lloh10:
	adrp	x8, _LINK_INT_PHY_BUSRESET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LINK_INT_PHY_BUSRESET@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_bus_reset_irq_handler
LBB0_5:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_reg_write
Lloh13:
	adrp	x8, _PCI_INT_DMA0_HLT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCI_INT_DMA0_HLT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	and	w8, w8, w20
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_packet_irq_handler
	ldr	w1, [x19]
	mov	x0, x19
	mov	w2, #0
	bl	_run_pcl
LBB0_7:
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_INT_STATUS,4,2             ; @PCI_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PCI_INT_INT_PEND,4,2           ; @PCI_INT_INT_PEND
	.comm	_PCI_INT_P1394_INT,4,2          ; @PCI_INT_P1394_INT
	.comm	_LINK_INT_STATUS,4,2            ; @LINK_INT_STATUS
	.comm	_LINK_INT_PHY_BUSRESET,4,2      ; @LINK_INT_PHY_BUSRESET
	.comm	_PCI_INT_DMA0_HLT,4,2           ; @PCI_INT_DMA0_HLT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_irq_handler
.subsections_via_symbols
