	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan78xx_status
_lan78xx_status:                        ## @lan78xx_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	cmpl	$4, %edx
	jne	LBB0_1
## %bb.3:
	movl	4(%rsi), %edi
	callq	_get_unaligned_le32
	movq	_INT_ENP_PHY_INT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_link@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movl	%eax, %r8d
	callq	_netif_dbg
	movq	_EVENT_LINK_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lan78xx_defer_kevent
	cmpq	$0, 8(%rbx)
	jle	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_local_irq_disable
	movq	8(%rbx), %rdi
	callq	_generic_handle_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_local_irq_enable               ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected urb length %d"

	.comm	_INT_ENP_PHY_INT,4,2            ## @INT_ENP_PHY_INT
	.comm	_link,4,2                       ## @link
L_.str.1:                               ## @.str.1
	.asciz	"PHY INTR: 0x%08x\n"

	.comm	_EVENT_LINK_RESET,4,2           ## @EVENT_LINK_RESET
L_.str.2:                               ## @.str.2
	.asciz	"unexpected interrupt: 0x%08x\n"

	.no_dead_strip	_lan78xx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan78xx_status
_lan78xx_status:                        ; @lan78xx_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w2, [x1]
	cmp	w2, #4
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x1, #4]
	bl	_get_unaligned_le32
	mov	x4, x0
Lloh0:
	adrp	x8, _INT_ENP_PHY_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_ENP_PHY_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _link@GOTPAGE
Lloh4:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_dbg
Lloh8:
	adrp	x8, _EVENT_LINK_RESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVENT_LINK_RESET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lan78xx_defer_kevent
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.3:
	bl	_local_irq_disable
	ldr	x0, [x19, #8]
	bl	_generic_handle_irq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_local_irq_enable
LBB0_4:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x4
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_warn
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected urb length %d"

	.comm	_INT_ENP_PHY_INT,4,2            ; @INT_ENP_PHY_INT
	.comm	_link,4,2                       ; @link
l_.str.1:                               ; @.str.1
	.asciz	"PHY INTR: 0x%08x\n"

	.comm	_EVENT_LINK_RESET,4,2           ; @EVENT_LINK_RESET
l_.str.2:                               ; @.str.2
	.asciz	"unexpected interrupt: 0x%08x\n"

	.no_dead_strip	_lan78xx_status
.subsections_via_symbols
