	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmac_irq
_gmac_irq:                              ## @gmac_irq
	.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	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	24(%rax), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gmac_get_intr_flags
	movl	%eax, %r13d
	movq	_GMAC0_IRQ0_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	addl	%ecx, %ecx
	shll	%cl, %eax
	testl	%r13d, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_err
	movq	%rbx, %rdi
	callq	_gmac_dump_dma_state
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gmac_enable_irq
	jmp	LBB0_14
LBB0_2:
	movq	_GMAC0_IRQ0_TXQ0_INTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rcx,%rcx,2), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%r13d, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gmac_tx_irq
LBB0_4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_gmac_get_intr_flags
	movl	%eax, %r12d
	movq	_DEFAULT_Q0_INT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movb	(%rbx), %cl
	shll	%cl, %eax
	testl	%r12d, %eax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gmac_enable_rx_irq
	movl	12(%r15), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	callq	_ktime_set
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	_HRTIMER_MODE_REL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_hrtimer_start
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	addq	$16, %rdi
	callq	_napi_schedule
LBB0_8:
	orl	%r13d, %r12d
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_gmac_get_intr_flags
	movl	%eax, %r13d
	movq	_GMAC0_MIB_INT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	shll	$3, %ecx
	shll	%cl, %eax
	testl	%r13d, %eax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_gmac_update_hw_stats
	movl	(%rbx), %ecx
	shll	$3, %ecx
LBB0_10:
	orl	%r13d, %r12d
	movq	_GMAC0_RX_OVERRUN_INT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	%cl, %eax
	testl	%r13d, %eax
	je	LBB0_12
## %bb.11:
	movq	_GMAC0_RXDERR_INT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movq	_GLOBAL_INTERRUPT_STATUS_4_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r15, %rdi
	callq	_u64_stats_update_begin
	incl	4(%r15)
	movq	%r15, %rdi
	callq	_u64_stats_update_end
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_12:
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.13:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GMAC0_IRQ0_2,4,2               ## @GMAC0_IRQ0_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw failure/sw bug\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_GMAC0_IRQ0_TXQ0_INTS,4,2       ## @GMAC0_IRQ0_TXQ0_INTS
	.comm	_DEFAULT_Q0_INT_BIT,4,2         ## @DEFAULT_Q0_INT_BIT
	.comm	_HRTIMER_MODE_REL,4,2           ## @HRTIMER_MODE_REL
	.comm	_GMAC0_MIB_INT_BIT,4,2          ## @GMAC0_MIB_INT_BIT
	.comm	_GMAC0_RX_OVERRUN_INT_BIT,4,2   ## @GMAC0_RX_OVERRUN_INT_BIT
	.comm	_GMAC0_RXDERR_INT_BIT,4,2       ## @GMAC0_RXDERR_INT_BIT
	.comm	_GLOBAL_INTERRUPT_STATUS_4_REG,8,3 ## @GLOBAL_INTERRUPT_STATUS_4_REG
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_gmac_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmac_irq
_gmac_irq:                              ; @gmac_irq
	.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	x21, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #24]
	mov	x0, x21
	mov	w1, #0
	bl	_gmac_get_intr_flags
Lloh0:
	adrp	x8, _GMAC0_IRQ0_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GMAC0_IRQ0_2@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	w8, [x21]
	lsl	w10, w8, #1
	lsl	w9, w9, w10
	tst	w9, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_err
	mov	x0, x21
	bl	_gmac_dump_dma_state
	mov	x0, x21
	mov	w1, #0
	bl	_gmac_enable_irq
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_13
LBB0_2:
	mov	x22, x0
Lloh7:
	adrp	x9, _GMAC0_IRQ0_TXQ0_INTS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GMAC0_IRQ0_TXQ0_INTS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #1
	lsl	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	w1, #0
	bl	_gmac_tx_irq
LBB0_4:
	mov	x0, x21
	mov	w1, #1
	bl	_gmac_get_intr_flags
	mov	x23, x0
Lloh10:
	adrp	x8, _DEFAULT_Q0_INT_BIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DEFAULT_Q0_INT_BIT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x21]
	lsl	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x21
	mov	w1, #0
	bl	_gmac_enable_rx_irq
	ldr	w1, [x20, #12]
	cbz	w1, LBB0_7
; %bb.6:
	mov	w0, #0
	bl	_ktime_set
	mov	x1, x0
	add	x0, x20, #8
Lloh13:
	adrp	x8, _HRTIMER_MODE_REL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HRTIMER_MODE_REL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_hrtimer_start
	b	LBB0_8
LBB0_7:
	add	x0, x20, #16
	bl	_napi_schedule
LBB0_8:
	orr	w23, w23, w22
	mov	x0, x21
	mov	w1, #4
	bl	_gmac_get_intr_flags
	mov	x22, x0
Lloh16:
	adrp	x8, _GMAC0_MIB_INT_BIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GMAC0_MIB_INT_BIT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x8]
	ldr	w8, [x21]
	lsl	w8, w8, #3
	lsl	w9, w9, w8
	tst	w9, w0
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_gmac_update_hw_stats
	ldr	w8, [x21]
	lsl	w8, w8, #3
LBB0_10:
	orr	w21, w23, w22
Lloh19:
	adrp	x9, _GMAC0_RX_OVERRUN_INT_BIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _GMAC0_RX_OVERRUN_INT_BIT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w9, w9, w8
	tst	w9, w22
	b.eq	LBB0_12
; %bb.11:
Lloh22:
	adrp	x9, _GMAC0_RXDERR_INT_BIT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _GMAC0_RXDERR_INT_BIT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh25:
	adrp	x9, _GLOBAL_INTERRUPT_STATUS_4_REG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _GLOBAL_INTERRUPT_STATUS_4_REG@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	bl	_spin_lock
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_u64_stats_update_end
	mov	x0, x19
	bl	_spin_unlock
LBB0_12:
Lloh28:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh30:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
LBB0_13:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_GMAC0_IRQ0_2,4,2               ; @GMAC0_IRQ0_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw failure/sw bug\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_GMAC0_IRQ0_TXQ0_INTS,4,2       ; @GMAC0_IRQ0_TXQ0_INTS
	.comm	_DEFAULT_Q0_INT_BIT,4,2         ; @DEFAULT_Q0_INT_BIT
	.comm	_HRTIMER_MODE_REL,4,2           ; @HRTIMER_MODE_REL
	.comm	_GMAC0_MIB_INT_BIT,4,2          ; @GMAC0_MIB_INT_BIT
	.comm	_GMAC0_RX_OVERRUN_INT_BIT,4,2   ; @GMAC0_RX_OVERRUN_INT_BIT
	.comm	_GMAC0_RXDERR_INT_BIT,4,2       ; @GMAC0_RXDERR_INT_BIT
	.comm	_GLOBAL_INTERRUPT_STATUS_4_REG,8,3 ; @GLOBAL_INTERRUPT_STATUS_4_REG
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_gmac_irq
.subsections_via_symbols
