	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netsec_irq_handler
_netsec_irq_handler:                    ## @netsec_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_NETSEC_REG_TOP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_netsec_read
	movl	%eax, %r14d
	movq	_NETSEC_IRQ_TX@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_NETSEC_REG_NRM_TX_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_netsec_read
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_netsec_write
LBB0_2:
	movq	_NETSEC_IRQ_RX@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_4
## %bb.3:
	movq	_NETSEC_REG_NRM_RX_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_netsec_read
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_netsec_write
LBB0_4:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_NETSEC_REG_INTEN_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	orl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_netsec_write
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_napi_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETSEC_REG_TOP_STATUS,4,2      ## @NETSEC_REG_TOP_STATUS
	.comm	_NETSEC_IRQ_TX,4,2              ## @NETSEC_IRQ_TX
	.comm	_NETSEC_REG_NRM_TX_STATUS,4,2   ## @NETSEC_REG_NRM_TX_STATUS
	.comm	_NETSEC_IRQ_RX,4,2              ## @NETSEC_IRQ_RX
	.comm	_NETSEC_REG_NRM_RX_STATUS,4,2   ## @NETSEC_REG_NRM_RX_STATUS
	.comm	_NETSEC_REG_INTEN_CLR,4,2       ## @NETSEC_REG_INTEN_CLR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_netsec_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netsec_irq_handler
_netsec_irq_handler:                    ; @netsec_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
Lloh0:
	adrp	x8, _NETSEC_REG_TOP_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETSEC_REG_TOP_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_netsec_read
	mov	x20, x0
Lloh3:
	adrp	x21, _NETSEC_IRQ_TX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NETSEC_IRQ_TX@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x22, _NETSEC_REG_NRM_TX_STATUS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _NETSEC_REG_NRM_TX_STATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_netsec_read
	mov	x2, x0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_netsec_write
LBB0_2:
Lloh7:
	adrp	x22, _NETSEC_IRQ_RX@GOTPAGE
Lloh8:
	ldr	x22, [x22, _NETSEC_IRQ_RX@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x20, _NETSEC_REG_NRM_RX_STATUS@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NETSEC_REG_NRM_RX_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_netsec_read
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_netsec_write
LBB0_4:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _NETSEC_REG_INTEN_CLR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETSEC_REG_INTEN_CLR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_netsec_write
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_napi_schedule
Lloh14:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh16:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NETSEC_REG_TOP_STATUS,4,2      ; @NETSEC_REG_TOP_STATUS
	.comm	_NETSEC_IRQ_TX,4,2              ; @NETSEC_IRQ_TX
	.comm	_NETSEC_REG_NRM_TX_STATUS,4,2   ; @NETSEC_REG_NRM_TX_STATUS
	.comm	_NETSEC_IRQ_RX,4,2              ; @NETSEC_IRQ_RX
	.comm	_NETSEC_REG_NRM_RX_STATUS,4,2   ; @NETSEC_REG_NRM_RX_STATUS
	.comm	_NETSEC_REG_INTEN_CLR,4,2       ; @NETSEC_REG_INTEN_CLR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_netsec_irq_handler
.subsections_via_symbols
