	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc75xx_autosuspend
_smsc75xx_autosuspend:                  ## @smsc75xx_autosuspend
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.4:
	movq	_PHY_INT_MASK_LINK_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smsc75xx_enable_phy_wakeup_interrupts
	movl	(%rbx), %edi
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	callq	_netdev_dbg
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_smsc75xx_enter_suspend3        ## TAILCALL
LBB0_6:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_smsc75xx_enter_suspend2        ## TAILCALL
LBB0_2:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_dbg
	movq	_PHY_INT_MASK_ANEG_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smsc75xx_enable_phy_wakeup_interrupts
	movl	(%rbx), %edi
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	callq	_netdev_info
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_smsc75xx_enter_suspend1        ## TAILCALL
LBB0_7:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_warn
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autosuspend entering SUSPEND2\n"

L_.str.1:                               ## @.str.1
	.asciz	"autosuspend entering SUSPEND1\n"

	.comm	_PHY_INT_MASK_ANEG_COMP,4,2     ## @PHY_INT_MASK_ANEG_COMP
L_.str.2:                               ## @.str.2
	.asciz	"error enabling PHY wakeup ints\n"

L_.str.3:                               ## @.str.3
	.asciz	"entering SUSPEND1 mode\n"

	.comm	_PHY_INT_MASK_LINK_DOWN,4,2     ## @PHY_INT_MASK_LINK_DOWN
L_.str.4:                               ## @.str.4
	.asciz	"autosuspend entering SUSPEND3\n"

	.no_dead_strip	_smsc75xx_autosuspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc75xx_autosuspend
_smsc75xx_autosuspend:                  ; @smsc75xx_autosuspend
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_netif_running
	cbz	w0, LBB0_4
; %bb.1:
	cbz	w20, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _PHY_INT_MASK_LINK_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INT_MASK_LINK_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc75xx_enable_phy_wakeup_interrupts
	mov	x20, x0
	ldr	w0, [x19]
	tbnz	w20, #31, LBB0_7
; %bb.3:
Lloh3:
	adrp	x1, l_.str.4@PAGE
Lloh4:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smsc75xx_enter_suspend3
LBB0_4:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smsc75xx_enter_suspend2
LBB0_5:
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
Lloh9:
	adrp	x8, _PHY_INT_MASK_ANEG_COMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHY_INT_MASK_ANEG_COMP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc75xx_enable_phy_wakeup_interrupts
	mov	x20, x0
	ldr	w0, [x19]
	tbnz	w20, #31, LBB0_7
; %bb.6:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_info
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smsc75xx_enter_suspend1
LBB0_7:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_warn
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autosuspend entering SUSPEND2\n"

l_.str.1:                               ; @.str.1
	.asciz	"autosuspend entering SUSPEND1\n"

	.comm	_PHY_INT_MASK_ANEG_COMP,4,2     ; @PHY_INT_MASK_ANEG_COMP
l_.str.2:                               ; @.str.2
	.asciz	"error enabling PHY wakeup ints\n"

l_.str.3:                               ; @.str.3
	.asciz	"entering SUSPEND1 mode\n"

	.comm	_PHY_INT_MASK_LINK_DOWN,4,2     ; @PHY_INT_MASK_LINK_DOWN
l_.str.4:                               ; @.str.4
	.asciz	"autosuspend entering SUSPEND3\n"

	.no_dead_strip	_smsc75xx_autosuspend
.subsections_via_symbols
