	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function happy_meal_interrupt
_happy_meal_interrupt:                  ## @happy_meal_interrupt
	.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, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_GREG_STAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_hme_read32
	movl	%eax, %r15d
	movslq	%eax, %rbx
	movq	%rbx, %rdi
	callq	_HMD
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_GREG_STAT_ERRORS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_HMD
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_happy_meal_is_not_so_happy
	testq	%rax, %rax
	jne	LBB0_9
LBB0_2:
	movq	_GREG_STAT_MIFIRQ@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_HMD
	movq	%r12, %rdi
	callq	_happy_meal_mif_interrupt
LBB0_4:
	movq	_GREG_STAT_TXALL@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	callq	_HMD
	movq	%r12, %rdi
	callq	_happy_meal_tx
LBB0_6:
	movq	_GREG_STAT_RXTOHOST@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	callq	_HMD
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_happy_meal_rx
LBB0_8:
	leaq	L_.str.5(%rip), %rdi
	callq	_HMD
LBB0_9:
	movq	%r12, %rdi
	callq	_spin_unlock
	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	_GREG_STAT,8,3                  ## @GREG_STAT
	.comm	_GREG_STAT_ERRORS,4,2           ## @GREG_STAT_ERRORS
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"ERRORS "

	.comm	_GREG_STAT_MIFIRQ,4,2           ## @GREG_STAT_MIFIRQ
L_.str.2:                               ## @.str.2
	.asciz	"MIFIRQ "

	.comm	_GREG_STAT_TXALL,4,2            ## @GREG_STAT_TXALL
L_.str.3:                               ## @.str.3
	.asciz	"TXALL "

	.comm	_GREG_STAT_RXTOHOST,4,2         ## @GREG_STAT_RXTOHOST
L_.str.4:                               ## @.str.4
	.asciz	"RXTOHOST "

L_.str.5:                               ## @.str.5
	.asciz	"done\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_happy_meal_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function happy_meal_interrupt
_happy_meal_interrupt:                  ; @happy_meal_interrupt
	.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	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _GREG_STAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GREG_STAT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_hme_read32
	mov	x21, x0
	sxtw	x0, w21
	bl	_HMD
	mov	x0, x19
	bl	_spin_lock
Lloh3:
	adrp	x8, _GREG_STAT_ERRORS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GREG_STAT_ERRORS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_HMD
	mov	x0, x19
	mov	x1, x21
	bl	_happy_meal_is_not_so_happy
	cbnz	x0, LBB0_9
LBB0_2:
Lloh8:
	adrp	x8, _GREG_STAT_MIFIRQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GREG_STAT_MIFIRQ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_HMD
	mov	x0, x19
	bl	_happy_meal_mif_interrupt
LBB0_4:
Lloh13:
	adrp	x8, _GREG_STAT_TXALL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GREG_STAT_TXALL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_HMD
	mov	x0, x19
	bl	_happy_meal_tx
LBB0_6:
Lloh18:
	adrp	x8, _GREG_STAT_RXTOHOST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GREG_STAT_RXTOHOST@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_HMD
	mov	x0, x19
	mov	x1, x20
	bl	_happy_meal_rx
LBB0_8:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_HMD
LBB0_9:
	mov	x0, x19
	bl	_spin_unlock
Lloh25:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh27:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GREG_STAT,8,3                  ; @GREG_STAT
	.comm	_GREG_STAT_ERRORS,4,2           ; @GREG_STAT_ERRORS
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"ERRORS "

	.comm	_GREG_STAT_MIFIRQ,4,2           ; @GREG_STAT_MIFIRQ
l_.str.2:                               ; @.str.2
	.asciz	"MIFIRQ "

	.comm	_GREG_STAT_TXALL,4,2            ; @GREG_STAT_TXALL
l_.str.3:                               ; @.str.3
	.asciz	"TXALL "

	.comm	_GREG_STAT_RXTOHOST,4,2         ; @GREG_STAT_RXTOHOST
l_.str.4:                               ; @.str.4
	.asciz	"RXTOHOST "

l_.str.5:                               ; @.str.5
	.asciz	"done\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_happy_meal_interrupt
.subsections_via_symbols
