	.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, %rbx
	movq	_BCMREG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_inb
	movq	_BCMREG_IPEND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_SONIC_ISREG@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_inw
	movl	%eax, %r14d
	movq	_ISREG_RBE@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_irqrbe_handler
	movl	(%r12), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_outw
LBB0_4:
	movq	_ISREG_PKTRX@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_irqrx_handler
	movl	(%r12), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_outw
LBB0_6:
	movq	_ISREG_TXDN@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_irqtx_handler
	movl	(%r12), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_outw
LBB0_8:
	movq	_ISREG_TXER@GOTPCREL(%rip), %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	testl	%r14d, (%r13)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_irqtxerr_handler
	movl	(%r13), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_outw
	jmp	LBB0_10
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMREG,8,3                     ## @BCMREG
	.comm	_BCMREG_IPEND,4,2               ## @BCMREG_IPEND
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SONIC_ISREG,8,3                ## @SONIC_ISREG
	.comm	_ISREG_RBE,4,2                  ## @ISREG_RBE
	.comm	_ISREG_PKTRX,4,2                ## @ISREG_PKTRX
	.comm	_ISREG_TXDN,4,2                 ## @ISREG_TXDN
	.comm	_ISREG_TXER,4,2                 ## @ISREG_TXER
	.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	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, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _BCMREG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BCMREG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_inb
Lloh3:
	adrp	x8, _BCMREG_IPEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMREG_IPEND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.1:
	ldr	x8, [x19]
Lloh6:
	adrp	x21, _SONIC_ISREG@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SONIC_ISREG@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inw
	mov	x20, x0
Lloh8:
	adrp	x22, _ISREG_RBE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ISREG_RBE@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_irqrbe_handler
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outw
LBB0_3:
Lloh10:
	adrp	x22, _ISREG_PKTRX@GOTPAGE
Lloh11:
	ldr	x22, [x22, _ISREG_PKTRX@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_irqrx_handler
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outw
LBB0_5:
Lloh12:
	adrp	x22, _ISREG_TXDN@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ISREG_TXDN@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_irqtx_handler
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outw
LBB0_7:
Lloh14:
	adrp	x22, _ISREG_TXER@GOTPAGE
Lloh15:
	ldr	x22, [x22, _ISREG_TXER@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_irqtxerr_handler
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outw
LBB0_9:
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh18:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMREG,8,3                     ; @BCMREG
	.comm	_BCMREG_IPEND,4,2               ; @BCMREG_IPEND
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SONIC_ISREG,8,3                ; @SONIC_ISREG
	.comm	_ISREG_RBE,4,2                  ; @ISREG_RBE
	.comm	_ISREG_PKTRX,4,2                ; @ISREG_PKTRX
	.comm	_ISREG_TXDN,4,2                 ; @ISREG_TXDN
	.comm	_ISREG_TXER,4,2                 ; @ISREG_TXER
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_irq_handler
.subsections_via_symbols
