	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_irqhandler
_smsc911x_irqhandler:                   ## @smsc911x_irqhandler
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %r15
	movq	_INT_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smsc911x_reg_read
	movl	%eax, %r12d
	movq	_INT_EN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_smsc911x_reg_read
	movl	%eax, %r13d
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%r12d, %r13d
	movq	_INT_STS_SW_INT_@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_smsc911x_reg_read
	movq	_INT_EN_SW_INT_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	movq	_INT_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	movl	$1, (%r15)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	_INT_STS_RXSTOP_INT_@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	_INT_STS@GOTPCREL(%rip), %r14
	je	LBB0_6
## %bb.3:
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_SMSC_TRACE
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_smsc911x_rx_multicast_update_workaround
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movq	_INT_STS_TDFA_@GOTPCREL(%rip), %r12
	testl	%r13d, (%r12)
	je	LBB0_8
## %bb.7:
	movq	_FIFO_INT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_smsc911x_reg_read
	movq	_FIFO_INT_TX_AVAIL_LEVEL_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_smsc911x_reg_write
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_wake_queue
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movq	_INT_STS_RXE_@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_SMSC_TRACE
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movq	_INT_STS_RSFL_@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_napi_schedule_prep
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_INT_EN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_smsc911x_reg_read
	movq	_INT_EN_RSFL_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_smsc911x_reg_write
	movq	%rbx, %rdi
	callq	___napi_schedule
	jmp	LBB0_14
LBB0_13:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	callq	_SMSC_WARN
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_STS,4,2                    ## @INT_STS
	.comm	_INT_EN,4,2                     ## @INT_EN
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_INT_STS_SW_INT_,4,2            ## @INT_STS_SW_INT_
	.comm	_INT_EN_SW_INT_EN_,4,2          ## @INT_EN_SW_INT_EN_
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_INT_STS_RXSTOP_INT_,4,2        ## @INT_STS_RXSTOP_INT_
	.comm	_intr,4,2                       ## @intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX Stop interrupt"

	.comm	_INT_STS_TDFA_,4,2              ## @INT_STS_TDFA_
	.comm	_FIFO_INT,4,2                   ## @FIFO_INT
	.comm	_FIFO_INT_TX_AVAIL_LEVEL_,4,2   ## @FIFO_INT_TX_AVAIL_LEVEL_
	.comm	_INT_STS_RXE_,4,2               ## @INT_STS_RXE_
L_.str.1:                               ## @.str.1
	.asciz	"RX Error interrupt"

	.comm	_INT_STS_RSFL_,4,2              ## @INT_STS_RSFL_
	.comm	_INT_EN_RSFL_EN_,4,2            ## @INT_EN_RSFL_EN_
	.comm	_rx_err,4,2                     ## @rx_err
L_.str.2:                               ## @.str.2
	.asciz	"napi_schedule_prep failed"

	.no_dead_strip	_smsc911x_irqhandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_irqhandler
_smsc911x_irqhandler:                   ; @smsc911x_irqhandler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x24, _INT_STS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _INT_STS@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_smsc911x_reg_read
	mov	x22, x0
Lloh2:
	adrp	x23, _INT_EN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _INT_EN@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc911x_reg_read
Lloh4:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	and	w25, w0, w22
Lloh7:
	adrp	x26, _INT_STS_SW_INT_@GOTPAGE
Lloh8:
	ldr	x26, [x26, _INT_STS_SW_INT_@GOTPAGEOFF]
	ldr	w8, [x26]
	and	w0, w8, w25
	bl	_unlikely
Lloh9:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc911x_reg_read
Lloh11:
	adrp	x8, _INT_EN_SW_INT_EN_@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INT_EN_SW_INT_EN_@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc911x_reg_write
	ldr	w1, [x24]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_smsc911x_reg_write
	mov	w8, #1
	str	w8, [x19]
	bl	_smp_wmb
	ldr	w21, [x22]
LBB0_2:
Lloh14:
	adrp	x27, _INT_STS_RXSTOP_INT_@GOTPAGE
Lloh15:
	ldr	x27, [x27, _INT_STS_RXSTOP_INT_@GOTPAGEOFF]
	ldr	w8, [x27]
	and	w0, w8, w25
	bl	_unlikely
Lloh16:
	adrp	x26, _intr@GOTPAGE
Lloh17:
	ldr	x26, [x26, _intr@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w1, [x26]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_SMSC_TRACE
	ldr	w1, [x24]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_smsc911x_reg_write
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_smsc911x_rx_multicast_update_workaround
LBB0_5:
	ldr	w21, [x22]
LBB0_6:
Lloh20:
	adrp	x27, _INT_STS_TDFA_@GOTPAGE
Lloh21:
	ldr	x27, [x27, _INT_STS_TDFA_@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_8
; %bb.7:
Lloh22:
	adrp	x21, _FIFO_INT@GOTPAGE
Lloh23:
	ldr	x21, [x21, _FIFO_INT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_smsc911x_reg_read
Lloh24:
	adrp	x8, _FIFO_INT_TX_AVAIL_LEVEL_@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FIFO_INT_TX_AVAIL_LEVEL_@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_smsc911x_reg_write
	ldr	w1, [x24]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_smsc911x_reg_write
	mov	x0, x20
	bl	_netif_wake_queue
	ldr	w21, [x22]
LBB0_8:
Lloh27:
	adrp	x20, _INT_STS_RXE_@GOTPAGE
Lloh28:
	ldr	x20, [x20, _INT_STS_RXE_@GOTPAGEOFF]
	ldr	w8, [x20]
	and	w0, w8, w25
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x26]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_SMSC_TRACE
	ldr	w1, [x24]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_smsc911x_reg_write
	ldr	w21, [x22]
LBB0_10:
Lloh31:
	adrp	x8, _INT_STS_RSFL_@GOTPAGE
Lloh32:
	ldr	x8, [x8, _INT_STS_RSFL_@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	and	w0, w8, w25
	bl	_likely
	cbz	x0, LBB0_15
; %bb.11:
	add	x20, x19, #4
	mov	x0, x20
	bl	_napi_schedule_prep
	bl	_likely
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc911x_reg_read
Lloh34:
	adrp	x8, _INT_EN_RSFL_EN_@GOTPAGE
Lloh35:
	ldr	x8, [x8, _INT_EN_RSFL_EN_@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc911x_reg_write
	mov	x0, x20
	bl	___napi_schedule
	b	LBB0_14
LBB0_13:
Lloh37:
	adrp	x8, _rx_err@GOTPAGE
Lloh38:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x2, l_.str.2@PAGE
Lloh41:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_SMSC_WARN
LBB0_14:
	ldr	w21, [x22]
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_STS,4,2                    ; @INT_STS
	.comm	_INT_EN,4,2                     ; @INT_EN
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_INT_STS_SW_INT_,4,2            ; @INT_STS_SW_INT_
	.comm	_INT_EN_SW_INT_EN_,4,2          ; @INT_EN_SW_INT_EN_
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_INT_STS_RXSTOP_INT_,4,2        ; @INT_STS_RXSTOP_INT_
	.comm	_intr,4,2                       ; @intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX Stop interrupt"

	.comm	_INT_STS_TDFA_,4,2              ; @INT_STS_TDFA_
	.comm	_FIFO_INT,4,2                   ; @FIFO_INT
	.comm	_FIFO_INT_TX_AVAIL_LEVEL_,4,2   ; @FIFO_INT_TX_AVAIL_LEVEL_
	.comm	_INT_STS_RXE_,4,2               ; @INT_STS_RXE_
l_.str.1:                               ; @.str.1
	.asciz	"RX Error interrupt"

	.comm	_INT_STS_RSFL_,4,2              ; @INT_STS_RSFL_
	.comm	_INT_EN_RSFL_EN_,4,2            ; @INT_EN_RSFL_EN_
	.comm	_rx_err,4,2                     ; @rx_err
l_.str.2:                               ; @.str.2
	.asciz	"napi_schedule_prep failed"

	.no_dead_strip	_smsc911x_irqhandler
.subsections_via_symbols
