	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc95xx_status
_smsc95xx_status:                       ## @smsc95xx_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	cmpl	$4, %edx
	jne	LBB0_7
## %bb.1:
	movl	4(%rsi), %esi
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_le32_to_cpus
	movq	%rbx, %rdi
	callq	_netif_msg_link
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-20(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devdbg
LBB0_3:
	movl	-20(%rbp), %edx
	movq	_INT_ENP_PHY_INT_@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_EVENT_LINK_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_usbnet_defer_kevent
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_devwarn                        ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devwarn
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected urb length %d"

L_.str.1:                               ## @.str.1
	.asciz	"intdata: 0x%08X"

	.comm	_INT_ENP_PHY_INT_,4,2           ## @INT_ENP_PHY_INT_
	.comm	_EVENT_LINK_RESET,4,2           ## @EVENT_LINK_RESET
L_.str.2:                               ## @.str.2
	.asciz	"unexpected interrupt, intdata=0x%08X"

	.no_dead_strip	_smsc95xx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc95xx_status
_smsc95xx_status:                       ; @smsc95xx_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w2, [x1]
	cmp	w2, #4
	b.ne	LBB0_5
; %bb.1:
	ldr	w1, [x1, #4]
	add	x0, sp, #12
	bl	_memcpy
	add	x0, sp, #12
	bl	_le32_to_cpus
	mov	x0, x19
	bl	_netif_msg_link
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w2, [sp, #12]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devdbg
LBB0_3:
	ldr	w2, [sp, #12]
Lloh2:
	adrp	x8, _INT_ENP_PHY_INT_@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT_ENP_PHY_INT_@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _EVENT_LINK_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVENT_LINK_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usbnet_defer_kevent
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_devwarn
LBB0_6:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devwarn
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected urb length %d"

l_.str.1:                               ; @.str.1
	.asciz	"intdata: 0x%08X"

	.comm	_INT_ENP_PHY_INT_,4,2           ; @INT_ENP_PHY_INT_
	.comm	_EVENT_LINK_RESET,4,2           ; @EVENT_LINK_RESET
l_.str.2:                               ; @.str.2
	.asciz	"unexpected interrupt, intdata=0x%08X"

	.no_dead_strip	_smsc95xx_status
.subsections_via_symbols
