	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc95xx_autosuspend
_smsc95xx_autosuspend:                  ## @smsc95xx_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movl	(%rdi), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.8:
	movq	_PHY_INT_MASK_LINK_DOWN_@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smsc95xx_enable_phy_wakeup_interrupts
	movl	(%rbx), %edi
	testl	%eax, %eax
	js	LBB0_5
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	callq	_netdev_dbg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smsc95xx_enter_suspend3        ## TAILCALL
LBB0_10:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smsc95xx_enter_suspend2        ## TAILCALL
LBB0_2:
	movq	_FEATURE_PHY_NLP_CROSSOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %edi
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_dbg
	movq	_PHY_INT_MASK_ANEG_COMP_@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smsc95xx_enable_phy_wakeup_interrupts
	movl	(%rbx), %edi
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	callq	_netdev_info
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smsc95xx_enter_suspend1        ## TAILCALL
LBB0_5:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	callq	_netdev_warn
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_warn
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autosuspend entering SUSPEND2\n"

	.comm	_FEATURE_PHY_NLP_CROSSOVER,4,2  ## @FEATURE_PHY_NLP_CROSSOVER
L_.str.1:                               ## @.str.1
	.asciz	"EDPD not supported\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.2:                               ## @.str.2
	.asciz	"autosuspend entering SUSPEND1\n"

	.comm	_PHY_INT_MASK_ANEG_COMP_,4,2    ## @PHY_INT_MASK_ANEG_COMP_
L_.str.3:                               ## @.str.3
	.asciz	"error enabling PHY wakeup ints\n"

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

	.comm	_PHY_INT_MASK_LINK_DOWN_,4,2    ## @PHY_INT_MASK_LINK_DOWN_
L_.str.5:                               ## @.str.5
	.asciz	"autosuspend entering SUSPEND3\n"

	.no_dead_strip	_smsc95xx_autosuspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc95xx_autosuspend
_smsc95xx_autosuspend:                  ; @smsc95xx_autosuspend
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	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	_smsc95xx_enable_phy_wakeup_interrupts
	mov	x20, x0
	ldr	w0, [x19]
	tbnz	w20, #31, LBB0_8
; %bb.3:
Lloh3:
	adrp	x1, l_.str.5@PAGE
Lloh4:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x19
	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
	b	_smsc95xx_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, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_smsc95xx_enter_suspend2
LBB0_5:
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _FEATURE_PHY_NLP_CROSSOVER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FEATURE_PHY_NLP_CROSSOVER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ldr	w0, [x19]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_dbg
Lloh12:
	adrp	x8, _PHY_INT_MASK_ANEG_COMP_@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PHY_INT_MASK_ANEG_COMP_@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc95xx_enable_phy_wakeup_interrupts
	mov	x20, x0
	ldr	w0, [x19]
	tbnz	w20, #31, LBB0_8
; %bb.7:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_netdev_info
	mov	x0, x19
	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
	b	_smsc95xx_enter_suspend1
LBB0_8:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_warn
	b	LBB0_10
LBB0_9:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_warn
Lloh21:
	adrp	x8, _EBUSY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autosuspend entering SUSPEND2\n"

	.comm	_FEATURE_PHY_NLP_CROSSOVER,4,2  ; @FEATURE_PHY_NLP_CROSSOVER
l_.str.1:                               ; @.str.1
	.asciz	"EDPD not supported\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.2:                               ; @.str.2
	.asciz	"autosuspend entering SUSPEND1\n"

	.comm	_PHY_INT_MASK_ANEG_COMP_,4,2    ; @PHY_INT_MASK_ANEG_COMP_
l_.str.3:                               ; @.str.3
	.asciz	"error enabling PHY wakeup ints\n"

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

	.comm	_PHY_INT_MASK_LINK_DOWN_,4,2    ; @PHY_INT_MASK_LINK_DOWN_
l_.str.5:                               ; @.str.5
	.asciz	"autosuspend entering SUSPEND3\n"

	.no_dead_strip	_smsc95xx_autosuspend
.subsections_via_symbols
