	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function smsc95xx_suspend
LCPI0_0:
	.long	63                              ## 0x3f
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.long	7                               ## 0x7
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_smsc95xx_suspend:                      ## @smsc95xx_suspend
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_usb_get_intfdata
	movq	%rax, %r13
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movq	%r12, %rdi
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_usbnet_suspend
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	leaq	8(%r14), %rdi
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	callq	_cancel_delayed_work_sync
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_warn
	movq	$0, 16(%r14)
LBB0_3:
	movq	%r13, %rdi
	callq	_smsc95xx_link_ok_nopm
	movl	%eax, %ebx
	movq	_PM_EVENT_AUTO_SUSPEND@GOTPCREL(%rip), %rax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_9
## %bb.4:
	movq	_FEATURE_REMOTE_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.5:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_smsc95xx_autosuspend
LBB0_6:
	movl	%eax, %r15d
LBB0_7:
	testl	%r15d, %r15d
	jne	LBB0_82
## %bb.8:
	xorl	%r15d, %r15d
	jmp	LBB0_85
LBB0_9:
	movl	4(%r14), %eax
	movq	_SUPPORTED_WAKE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_43
## %bb.10:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.11:
	testl	%eax, %ecx
	jne	LBB0_14
	jmp	LBB0_17
LBB0_12:
	movl	%eax, %r15d
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	jmp	LBB0_85
LBB0_13:
	testl	%eax, %ecx
	je	LBB0_43
LBB0_14:
	movq	_PHY_INT_MASK_ANEG_COMP_@GOTPCREL(%rip), %rax
	movq	_PHY_INT_MASK_LINK_DOWN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_enable_phy_wakeup_interrupts
	testl	%eax, %eax
	js	LBB0_49
## %bb.15:
	testl	%ebx, %ebx
	je	LBB0_53
## %bb.16:
	movl	4(%r14), %eax
LBB0_17:
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rbx
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	movq	_WAKE_ARP@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_59
## %bb.18:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_FEATURE_8_WAKEUP_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_51
## %bb.19:
	movq	_LAN9500_WUFF_NUM@GOTPCREL(%rip), %rax
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_52
LBB0_20:
	movl	(%rax), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	-56(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	4(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_22
## %bb.21:
	movq	l___const.smsc95xx_suspend.bcast+16(%rip), %rax
	movq	%rax, -96(%rbp)
	movaps	l___const.smsc95xx_suspend.bcast(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	(%r13), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_netdev_info
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [63,0,0,0]
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movups	%xmm0, (%rax)
	orb	$5, -56(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_smsc_crc
	orl	%eax, -80(%rbp)
	movl	4(%r14), %eax
	movl	$1, %r15d
LBB0_22:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movl	l___const.smsc95xx_suspend.mcast+8(%rip), %eax
	movl	%eax, -104(%rbp)
	movq	l___const.smsc95xx_suspend.mcast(%rip), %rax
	movq	%rax, -112(%rbp)
	movq	(%r13), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_netdev_info
	leal	(,%r15,4), %eax
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [7,0,0,0]
	leal	(,%r15,8), %ecx
	movl	$9, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movups	%xmm0, (%rcx,%rax,4)
	orl	%edx, -56(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$3, %esi
	movl	%r15d, %edx
	callq	_smsc_crc
	orl	%eax, -80(%rbp)
	incl	%r15d
	movl	4(%r14), %eax
LBB0_24:
	movq	_WAKE_ARP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:
	movabsq	$25769803784, %rax              ## imm = 0x600000008
	movq	%rax, -112(%rbp)
	movq	(%r13), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_netdev_info
	leal	(,%r15,4), %eax
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [3,0,0,0]
	leal	(,%r15,8), %ecx
	movl	$5, %edx
	shll	%cl, %edx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movups	%xmm0, (%rsi,%rax,4)
	orl	%edx, -56(%rbp)
	movl	$12, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%eax, -64(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$2, %esi
	movl	%r15d, %edx
	callq	_smsc_crc
	movl	%r15d, %ecx
	shrl	%ecx
	orl	%eax, -80(%rbp,%rcx,4)
	incl	%r15d
	movl	4(%r14), %eax
LBB0_26:
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	movq	(%r13), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_netdev_info
	leal	(,%r15,4), %eax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [63,0,0,0]
	leal	(,%r15,8), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movups	%xmm0, (%rcx,%rax,4)
	orl	%edx, -56(%rbp)
	movq	(%r13), %rax
	movq	(%rax), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_smsc_crc
	shrl	%r15d
	orl	%eax, -80(%rbp,%r15,4)
LBB0_28:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	testl	%eax, %eax
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	jle	LBB0_55
## %bb.29:
	leal	(,%rax,4), %eax
	cmpl	$2, %eax
	movl	$1, %ebx
	cmovgel	%eax, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	_WUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r12,4), %edx
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_68
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_30
## %bb.32:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_kfree
	cmpl	$4, -136(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_39
## %bb.33:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leal	3(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	sarl	$2, %r12d
	xorl	%ebx, %ebx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	_WUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp,%rbx,4), %edx
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_66
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_34
## %bb.36:
	xorl	%ebx, %ebx
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	_WUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-64(%rbp,%rbx,4), %edx
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_66
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_37
LBB0_39:
	movq	-136(%rbp), %r12                ## 8-byte Reload
	cmpl	$2, %r12d
	jl	LBB0_56
## %bb.40:
	shrl	%r12d
	xorl	%ebx, %ebx
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	_WUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp,%rbx,4), %edx
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_66
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_41
	jmp	LBB0_56
LBB0_43:
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_info
	movq	_WUCSR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.44:
	movq	_WUCSR_MPEN_@GOTPCREL(%rip), %rax
	movq	_WUCSR_WAKE_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	-112(%rbp), %edx
	movl	%edx, -112(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.45:
	movq	_PM_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.46:
	movq	_PM_CTL_ED_EN_@GOTPCREL(%rip), %rax
	movq	_PM_CTL_WOL_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	-112(%rbp), %edx
	movl	%edx, -112(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.47:
	movq	%r13, %rdi
	callq	_smsc95xx_enter_suspend2
	jmp	LBB0_6
LBB0_49:
	movl	%eax, %r15d
	movq	(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_netdev_warn
	jmp	LBB0_82
LBB0_51:
	movq	_LAN9500A_WUFF_NUM@GOTPCREL(%rip), %rax
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_20
LBB0_52:
	movq	(%r13), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_netdev_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_53:
	movq	(%r13), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_netdev_info
	movq	%r13, %rdi
	callq	_smsc95xx_enter_suspend1
	jmp	LBB0_6
LBB0_55:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_kfree
LBB0_56:
	movq	_WUCSR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_66
## %bb.57:
	movq	_WUCSR_WUFR_@GOTPCREL(%rip), %rax
	movl	-112(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -112(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_66
## %bb.58:
	movl	4(%r14), %eax
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rbx
	movq	-120(%rbp), %r12                ## 8-byte Reload
LBB0_59:
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_62
## %bb.60:
	movq	_WUCSR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_65
## %bb.61:
	movq	_WUCSR_MPR_@GOTPCREL(%rip), %rax
	movl	-112(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -112(%rbp)
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_65
LBB0_62:
	movq	_WUCSR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_65
## %bb.63:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_WAKE_ARP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r13), %rdi
	testl	%eax, 4(%r14)
	je	LBB0_69
## %bb.64:
	leaq	L_.str.10(%rip), %rsi
	callq	_netdev_info
	movq	_WUCSR_WAKE_EN_@GOTPCREL(%rip), %rcx
	movl	-112(%rbp), %eax
	orl	(%rcx), %eax
	jmp	LBB0_70
LBB0_65:
	movl	%eax, %r15d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_82
LBB0_66:
	movl	%eax, %r15d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_7
LBB0_68:
	movl	%eax, %r15d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_kfree
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_7
LBB0_69:
	leaq	L_.str.11(%rip), %rsi
	callq	_netdev_info
	movq	_WUCSR_WAKE_EN_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-112(%rbp), %eax
LBB0_70:
	movq	%r12, %rbx
	movl	%eax, -112(%rbp)
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r13), %rdi
	testl	%eax, 4(%r14)
	je	LBB0_72
## %bb.71:
	leaq	L_.str.12(%rip), %rsi
	callq	_netdev_info
	movq	_WUCSR_MPEN_@GOTPCREL(%rip), %rax
	movl	-112(%rbp), %edx
	orl	(%rax), %edx
	jmp	LBB0_73
LBB0_72:
	leaq	L_.str.13(%rip), %rsi
	callq	_netdev_info
	movq	_WUCSR_MPEN_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-112(%rbp), %edx
LBB0_73:
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movl	%edx, -112(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.74:
	movq	_PM_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_smsc95xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.75:
	movq	_PM_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-112(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -112(%rbp)
	movq	_WAKE_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_77
## %bb.76:
	movq	_PM_CTL_ED_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -112(%rbp)
LBB0_77:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc95xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_81
## %bb.78:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_smsc95xx_start_rx_path
	movq	(%r13), %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_netdev_info
	movq	%r13, %rdi
	callq	_smsc95xx_enter_suspend0
	jmp	LBB0_6
LBB0_81:
	movl	%eax, %r15d
LBB0_82:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_PMSG_IS_AUTO
	testq	%rax, %rax
	je	LBB0_84
## %bb.83:
	movq	%r12, %rdi
	callq	_usbnet_resume
LBB0_84:
	movq	_CARRIER_CHECK_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	callq	_schedule_delayed_work
LBB0_85:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_87
## %bb.86:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_87:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usbnet_suspend error\n"

L_.str.1:                               ## @.str.1
	.asciz	"error during last resume\n"

	.comm	_PM_EVENT_AUTO_SUSPEND,8,3      ## @PM_EVENT_AUTO_SUSPEND
	.comm	_FEATURE_REMOTE_WAKEUP,4,2      ## @FEATURE_REMOTE_WAKEUP
	.comm	_SUPPORTED_WAKE,4,2             ## @SUPPORTED_WAKE
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
L_.str.2:                               ## @.str.2
	.asciz	"entering SUSPEND2 mode\n"

	.comm	_WUCSR,4,2                      ## @WUCSR
	.comm	_WUCSR_MPEN_,4,2                ## @WUCSR_MPEN_
	.comm	_WUCSR_WAKE_EN_,4,2             ## @WUCSR_WAKE_EN_
	.comm	_PM_CTRL,4,2                    ## @PM_CTRL
	.comm	_PM_CTL_ED_EN_,4,2              ## @PM_CTL_ED_EN_
	.comm	_PM_CTL_WOL_EN_,4,2             ## @PM_CTL_WOL_EN_
	.comm	_PHY_INT_MASK_ANEG_COMP_,4,2    ## @PHY_INT_MASK_ANEG_COMP_
	.comm	_PHY_INT_MASK_LINK_DOWN_,4,2    ## @PHY_INT_MASK_LINK_DOWN_
L_.str.3:                               ## @.str.3
	.asciz	"error enabling PHY wakeup ints\n"

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

	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WAKE_ARP,4,2                   ## @WAKE_ARP
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_FEATURE_8_WAKEUP_FILTERS,4,2   ## @FEATURE_8_WAKEUP_FILTERS
	.comm	_LAN9500A_WUFF_NUM,4,2          ## @LAN9500A_WUFF_NUM
	.comm	_LAN9500_WUFF_NUM,4,2           ## @LAN9500_WUFF_NUM
L_.str.5:                               ## @.str.5
	.asciz	"Unable to allocate filter_mask\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__const
	.p2align	4                               ## @__const.smsc95xx_suspend.bcast
l___const.smsc95xx_suspend.bcast:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"enabling broadcast detection\n"

	.section	__TEXT,__const
	.p2align	2                               ## @__const.smsc95xx_suspend.mcast
l___const.smsc95xx_suspend.mcast:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	94                              ## 0x5e

	.section	__TEXT,__cstring,cstring_literals
L_.str.7:                               ## @.str.7
	.asciz	"enabling multicast detection\n"

L_.str.8:                               ## @.str.8
	.asciz	"enabling ARP detection\n"

L_.str.9:                               ## @.str.9
	.asciz	"enabling unicast detection\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WUFF,4,2                       ## @WUFF
	.comm	_WUCSR_WUFR_,4,2                ## @WUCSR_WUFR_
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_WUCSR_MPR_,4,2                 ## @WUCSR_MPR_
L_.str.10:                              ## @.str.10
	.asciz	"enabling pattern match wakeup\n"

L_.str.11:                              ## @.str.11
	.asciz	"disabling pattern match wakeup\n"

L_.str.12:                              ## @.str.12
	.asciz	"enabling magic packet wakeup\n"

L_.str.13:                              ## @.str.13
	.asciz	"disabling magic packet wakeup\n"

L_.str.14:                              ## @.str.14
	.asciz	"entering SUSPEND0 mode\n"

	.comm	_CARRIER_CHECK_DELAY,4,2        ## @CARRIER_CHECK_DELAY
	.no_dead_strip	_smsc95xx_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function smsc95xx_suspend
lCPI0_0:
	.long	63                              ; 0x3f
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
lCPI0_1:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
lCPI0_2:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_smsc95xx_suspend:                      ; @smsc95xx_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_usb_get_intfdata
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x25, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_usbnet_suspend
	tbnz	w0, #31, LBB0_11
; %bb.1:
	add	x21, x25, #8
	mov	x0, x21
	bl	_cancel_delayed_work_sync
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x22]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_warn
	str	xzr, [x25, #16]
LBB0_3:
	mov	x0, x22
	bl	_smsc95xx_link_ok_nopm
	mov	x23, x0
Lloh5:
	adrp	x8, _PM_EVENT_AUTO_SUSPEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PM_EVENT_AUTO_SUSPEND@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x25]
Lloh8:
	adrp	x9, _FEATURE_REMOTE_WAKEUP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FEATURE_REMOTE_WAKEUP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x22
	mov	x1, x23
	bl	_smsc95xx_autosuspend
LBB0_6:
	mov	x24, x0
LBB0_7:
	cbnz	w24, LBB0_72
	b	LBB0_75
LBB0_8:
	ldr	w8, [x25, #4]
Lloh11:
	adrp	x9, _SUPPORTED_WAKE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SUPPORTED_WAKE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.9:
Lloh14:
	adrp	x26, _WAKE_PHY@GOTPAGE
Lloh15:
	ldr	x26, [x26, _WAKE_PHY@GOTPAGEOFF]
	ldr	w9, [x26]
	and	w9, w9, w8
	cbz	w23, LBB0_12
; %bb.10:
	cbnz	w9, LBB0_13
	b	LBB0_16
LBB0_11:
	mov	x24, x0
	ldr	x0, [x22]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
	b	LBB0_75
LBB0_12:
	cbz	w9, LBB0_20
LBB0_13:
Lloh18:
	adrp	x8, _PHY_INT_MASK_ANEG_COMP_@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PHY_INT_MASK_ANEG_COMP_@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PHY_INT_MASK_LINK_DOWN_@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PHY_INT_MASK_LINK_DOWN_@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x22
	bl	_smsc95xx_enable_phy_wakeup_interrupts
	tbnz	w0, #31, LBB0_25
; %bb.14:
	cbz	w23, LBB0_26
; %bb.15:
	ldr	w8, [x25, #4]
LBB0_16:
Lloh24:
	adrp	x28, _WAKE_BCAST@GOTPAGE
Lloh25:
	ldr	x28, [x28, _WAKE_BCAST@GOTPAGEOFF]
Lloh26:
	adrp	x27, _WAKE_MCAST@GOTPAGE
Lloh27:
	ldr	x27, [x27, _WAKE_MCAST@GOTPAGEOFF]
	ldr	w9, [x28]
	ldr	w10, [x27]
	orr	w9, w10, w9
Lloh28:
	adrp	x10, _WAKE_ARP@GOTPAGE
Lloh29:
	ldr	x10, [x10, _WAKE_ARP@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh31:
	adrp	x10, _WAKE_UCAST@GOTPAGE
Lloh32:
	ldr	x10, [x10, _WAKE_UCAST@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_54
; %bb.17:
Lloh34:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	w0, #32
	mov	w1, #4
	bl	_kcalloc
	ldr	w8, [x25]
Lloh37:
	adrp	x9, _FEATURE_8_WAKEUP_FILTERS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _FEATURE_8_WAKEUP_FILTERS@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
Lloh40:
	adrp	x10, _LAN9500A_WUFF_NUM@GOTPAGE
Lloh41:
	ldr	x10, [x10, _LAN9500A_WUFF_NUM@GOTPAGEOFF]
Lloh42:
	adrp	x11, _LAN9500_WUFF_NUM@GOTPAGE
Lloh43:
	ldr	x11, [x11, _LAN9500_WUFF_NUM@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	cbz	x0, LBB0_27
; %bb.18:
	mov	x23, x0
	ldr	w26, [x8]
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w8, [x25, #4]
	ldr	w9, [x28]
	adrp	x28, lCPI0_0@PAGE
	tst	w9, w8
	b.eq	LBB0_28
; %bb.19:
Lloh44:
	adrp	x8, l___const.smsc95xx_suspend.bcast@PAGE
Lloh45:
	add	x8, x8, l___const.smsc95xx_suspend.bcast@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
	ldr	x0, [x22]
Lloh46:
	adrp	x1, l_.str.6@PAGE
Lloh47:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_netdev_info
	ldr	q0, [x28, lCPI0_0@PAGEOFF]
	str	q0, [x23]
	ldr	w8, [sp, #64]
	mov	w9, #5
	orr	w8, w8, w9
	str	w8, [sp, #64]
	add	x0, sp, #16
	mov	w1, #6
	mov	w2, #0
	bl	_smsc_crc
	ldr	w8, [sp, #40]
	orr	w8, w8, w0
	str	w8, [sp, #40]
	ldr	w8, [x25, #4]
	mov	w24, #1
	b	LBB0_29
LBB0_20:
	ldr	x0, [x22]
Lloh48:
	adrp	x1, l_.str.2@PAGE
Lloh49:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_info
Lloh50:
	adrp	x23, _WUCSR@GOTPAGE
Lloh51:
	ldr	x23, [x23, _WUCSR@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.21:
Lloh52:
	adrp	x8, _WUCSR_MPEN_@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WUCSR_MPEN_@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _WUCSR_WAKE_EN_@GOTPAGE
Lloh56:
	ldr	x9, [x9, _WUCSR_WAKE_EN_@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #16]
	bic	w2, w9, w8
	str	w2, [sp, #16]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.22:
Lloh58:
	adrp	x23, _PM_CTRL@GOTPAGE
Lloh59:
	ldr	x23, [x23, _PM_CTRL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.23:
Lloh60:
	adrp	x8, _PM_CTL_ED_EN_@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PM_CTL_ED_EN_@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
Lloh63:
	adrp	x9, _PM_CTL_WOL_EN_@GOTPAGE
Lloh64:
	ldr	x9, [x9, _PM_CTL_WOL_EN_@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #16]
	bic	w2, w9, w8
	str	w2, [sp, #16]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.24:
	mov	x0, x22
	bl	_smsc95xx_enter_suspend2
	b	LBB0_6
LBB0_25:
	mov	x24, x0
	ldr	x0, [x22]
Lloh66:
	adrp	x1, l_.str.3@PAGE
Lloh67:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_warn
	b	LBB0_72
LBB0_26:
	ldr	x0, [x22]
Lloh68:
	adrp	x1, l_.str.4@PAGE
Lloh69:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_netdev_info
	mov	x0, x22
	bl	_smsc95xx_enter_suspend1
	b	LBB0_6
LBB0_27:
	ldr	x0, [x22]
Lloh70:
	adrp	x1, l_.str.5@PAGE
Lloh71:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_netdev_warn
Lloh72:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_7
LBB0_28:
	mov	w24, #0
LBB0_29:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:
Lloh75:
	adrp	x8, l___const.smsc95xx_suspend.mcast@PAGE
Lloh76:
	add	x8, x8, l___const.smsc95xx_suspend.mcast@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #16]
	ldr	w8, [x8, #8]
	str	w8, [sp, #24]
	ldr	x0, [x22]
Lloh77:
	adrp	x1, l_.str.7@PAGE
Lloh78:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_netdev_info
	lsl	w8, w24, #2
	lsl	x8, x8, #2
Lloh79:
	adrp	x9, lCPI0_1@PAGE
Lloh80:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	str	q0, [x23, x8]
	lsl	w8, w24, #3
	mov	w9, #9
	lsl	w8, w9, w8
	ldr	w9, [sp, #64]
	orr	w8, w9, w8
	str	w8, [sp, #64]
	add	x0, sp, #16
	mov	w1, #3
	mov	x2, x24
	bl	_smsc_crc
	ldr	w8, [sp, #40]
	orr	w8, w8, w0
	str	w8, [sp, #40]
	add	w24, w24, #1
	ldr	w8, [x25, #4]
LBB0_31:
Lloh81:
	adrp	x9, _WAKE_ARP@GOTPAGE
Lloh82:
	ldr	x9, [x9, _WAKE_ARP@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
	mov	x8, #8
	movk	x8, #6, lsl #32
	str	x8, [sp, #16]
	ldr	x0, [x22]
Lloh84:
	adrp	x1, l_.str.8@PAGE
Lloh85:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_netdev_info
	lsl	w8, w24, #2
	lsl	x8, x8, #2
Lloh86:
	adrp	x9, lCPI0_2@PAGE
Lloh87:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
	str	q0, [x23, x8]
	lsl	w8, w24, #3
	mov	w9, #5
	lsl	w9, w9, w8
	ldr	w10, [sp, #64]
	orr	w9, w10, w9
	str	w9, [sp, #64]
	mov	w9, #12
	lsl	w8, w9, w8
	ldr	w9, [sp, #56]
	orr	w8, w9, w8
	str	w8, [sp, #56]
	add	x0, sp, #16
	mov	w1, #2
	mov	x2, x24
	bl	_smsc_crc
	lsr	w8, w24, #1
	lsl	x8, x8, #2
	add	x9, sp, #40
	ldr	w10, [x9, x8]
	orr	w10, w10, w0
	str	w10, [x9, x8]
	add	w24, w24, #1
	ldr	w8, [x25, #4]
LBB0_33:
Lloh88:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh89:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.34:
	ldr	x0, [x22]
Lloh91:
	adrp	x1, l_.str.9@PAGE
Lloh92:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_netdev_info
	lsl	w8, w24, #2
	lsl	x8, x8, #2
	ldr	q0, [x28, lCPI0_0@PAGEOFF]
	str	q0, [x23, x8]
	ubfiz	w8, w24, #3, #2
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [sp, #64]
	orr	w8, w9, w8
	str	w8, [sp, #64]
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh93:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x2, x24
	bl	_smsc_crc
	lsr	w8, w24, #1
	lsl	x8, x8, #2
	add	x9, sp, #40
	ldr	w10, [x9, x8]
	orr	w10, w10, w0
	str	w10, [x9, x8]
LBB0_35:
	cmp	w26, #0
	b.le	LBB0_50
; %bb.36:
	mov	x8, x26
	mov	x26, #0
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	lsl	w8, w8, #2
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	lsl	x27, x8, #2
Lloh96:
	adrp	x28, _WUFF@GOTPAGE
Lloh97:
	ldr	x28, [x28, _WUFF@GOTPAGEOFF]
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	ldr	w2, [x23, x26]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_60
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	add	x26, x26, #4
	cmp	x27, x26
	b.ne	LBB0_37
; %bb.39:
	mov	x0, x23
	bl	_kfree
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #4
Lloh98:
	adrp	x27, _WAKE_MCAST@GOTPAGE
Lloh99:
	ldr	x27, [x27, _WAKE_MCAST@GOTPAGEOFF]
	b.lt	LBB0_46
; %bb.40:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w9, #3
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w23, w8, #2
	add	x26, sp, #64
	mov	x27, x23
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_6
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x26, x26, #4
	subs	x27, x27, #1
	b.ne	LBB0_41
; %bb.43:
	add	x26, sp, #56
Lloh100:
	adrp	x27, _WAKE_MCAST@GOTPAGE
Lloh101:
	ldr	x27, [x27, _WAKE_MCAST@GOTPAGEOFF]
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_6
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	add	x26, x26, #4
	subs	x23, x23, #1
	b.ne	LBB0_44
LBB0_46:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_51
; %bb.47:
	lsr	w23, w8, #1
	add	x26, sp, #40
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_6
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	add	x26, x26, #4
	subs	x23, x23, #1
	b.ne	LBB0_48
	b	LBB0_51
LBB0_50:
	mov	x0, x23
	bl	_kfree
LBB0_51:
Lloh102:
	adrp	x23, _WUCSR@GOTPAGE
Lloh103:
	ldr	x23, [x23, _WUCSR@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_6
; %bb.52:
Lloh104:
	adrp	x8, _WUCSR_WUFR_@GOTPAGE
Lloh105:
	ldr	x8, [x8, _WUCSR_WUFR_@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w2, w9, w8
	str	w2, [sp, #16]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_6
; %bb.53:
	ldr	w8, [x25, #4]
Lloh107:
	adrp	x26, _WAKE_PHY@GOTPAGE
Lloh108:
	ldr	x26, [x26, _WAKE_PHY@GOTPAGEOFF]
Lloh109:
	adrp	x28, _WAKE_BCAST@GOTPAGE
Lloh110:
	ldr	x28, [x28, _WAKE_BCAST@GOTPAGEOFF]
LBB0_54:
Lloh111:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh112:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_57
; %bb.55:
Lloh114:
	adrp	x23, _WUCSR@GOTPAGE
Lloh115:
	ldr	x23, [x23, _WUCSR@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.56:
Lloh116:
	adrp	x8, _WUCSR_MPR_@GOTPAGE
Lloh117:
	ldr	x8, [x8, _WUCSR_MPR_@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w2, w9, w8
	str	w2, [sp, #16]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_71
LBB0_57:
Lloh119:
	adrp	x23, _WUCSR@GOTPAGE
Lloh120:
	ldr	x23, [x23, _WUCSR@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.58:
	ldr	w8, [x25, #4]
	ldr	w9, [x28]
	ldr	w10, [x27]
	orr	w9, w10, w9
Lloh121:
	adrp	x10, _WAKE_ARP@GOTPAGE
Lloh122:
	ldr	x10, [x10, _WAKE_ARP@GOTPAGEOFF]
Lloh123:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh124:
	adrp	x10, _WAKE_UCAST@GOTPAGE
Lloh125:
	ldr	x10, [x10, _WAKE_UCAST@GOTPAGEOFF]
Lloh126:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	x0, [x22]
	tst	w9, w8
	b.eq	LBB0_61
; %bb.59:
Lloh127:
	adrp	x1, l_.str.10@PAGE
Lloh128:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_netdev_info
Lloh129:
	adrp	x8, _WUCSR_WAKE_EN_@GOTPAGE
Lloh130:
	ldr	x8, [x8, _WUCSR_WAKE_EN_@GOTPAGEOFF]
Lloh131:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	b	LBB0_62
LBB0_60:
	mov	x24, x0
	mov	x0, x23
	bl	_kfree
	b	LBB0_7
LBB0_61:
Lloh132:
	adrp	x1, l_.str.11@PAGE
Lloh133:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_netdev_info
Lloh134:
	adrp	x8, _WUCSR_WAKE_EN_@GOTPAGE
Lloh135:
	ldr	x8, [x8, _WUCSR_WAKE_EN_@GOTPAGEOFF]
Lloh136:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	bic	w8, w9, w8
LBB0_62:
	str	w8, [sp, #16]
	ldr	w8, [x25, #4]
Lloh137:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh138:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh139:
	ldr	w9, [x9]
	ldr	x0, [x22]
	tst	w9, w8
	b.eq	LBB0_64
; %bb.63:
Lloh140:
	adrp	x1, l_.str.12@PAGE
Lloh141:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_netdev_info
Lloh142:
	adrp	x8, _WUCSR_MPEN_@GOTPAGE
Lloh143:
	ldr	x8, [x8, _WUCSR_MPEN_@GOTPAGEOFF]
Lloh144:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w2, w9, w8
	b	LBB0_65
LBB0_64:
Lloh145:
	adrp	x1, l_.str.13@PAGE
Lloh146:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_netdev_info
Lloh147:
	adrp	x8, _WUCSR_MPEN_@GOTPAGE
Lloh148:
	ldr	x8, [x8, _WUCSR_MPEN_@GOTPAGEOFF]
Lloh149:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	bic	w2, w9, w8
LBB0_65:
	str	w2, [sp, #16]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.66:
Lloh150:
	adrp	x23, _PM_CTRL@GOTPAGE
Lloh151:
	ldr	x23, [x23, _PM_CTRL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #16
	mov	x0, x22
	bl	_smsc95xx_read_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.67:
Lloh152:
	adrp	x8, _PM_CTL_WOL_EN_@GOTPAGE
Lloh153:
	ldr	x8, [x8, _PM_CTL_WOL_EN_@GOTPAGEOFF]
Lloh154:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w2, w9, w8
	str	w2, [sp, #16]
	ldr	w8, [x25, #4]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_69
; %bb.68:
Lloh155:
	adrp	x8, _PM_CTL_ED_EN_@GOTPAGE
Lloh156:
	ldr	x8, [x8, _PM_CTL_ED_EN_@GOTPAGEOFF]
Lloh157:
	ldr	w8, [x8]
	orr	w2, w8, w2
	str	w2, [sp, #16]
LBB0_69:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_smsc95xx_write_reg_nopm
	tbnz	w0, #31, LBB0_71
; %bb.70:
	mov	x0, x22
	mov	w1, #1
	bl	_smsc95xx_start_rx_path
	ldr	x0, [x22]
Lloh158:
	adrp	x1, l_.str.14@PAGE
Lloh159:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_netdev_info
	mov	x0, x22
	bl	_smsc95xx_enter_suspend0
	b	LBB0_6
LBB0_71:
	mov	x24, x0
LBB0_72:
	mov	x0, x20
	bl	_PMSG_IS_AUTO
	cbz	x0, LBB0_74
; %bb.73:
	mov	x0, x19
	bl	_usbnet_resume
LBB0_74:
Lloh160:
	adrp	x8, _CARRIER_CHECK_DELAY@GOTPAGE
Lloh161:
	ldr	x8, [x8, _CARRIER_CHECK_DELAY@GOTPAGEOFF]
Lloh162:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_schedule_delayed_work
LBB0_75:
	ldr	x8, [sp, #72]
Lloh163:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh164:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh165:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_77
; %bb.76:
	mov	x0, x24
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_77:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdr	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdr	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpAdd	Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usbnet_suspend error\n"

l_.str.1:                               ; @.str.1
	.asciz	"error during last resume\n"

	.comm	_PM_EVENT_AUTO_SUSPEND,8,3      ; @PM_EVENT_AUTO_SUSPEND
	.comm	_FEATURE_REMOTE_WAKEUP,4,2      ; @FEATURE_REMOTE_WAKEUP
	.comm	_SUPPORTED_WAKE,4,2             ; @SUPPORTED_WAKE
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
l_.str.2:                               ; @.str.2
	.asciz	"entering SUSPEND2 mode\n"

	.comm	_WUCSR,4,2                      ; @WUCSR
	.comm	_WUCSR_MPEN_,4,2                ; @WUCSR_MPEN_
	.comm	_WUCSR_WAKE_EN_,4,2             ; @WUCSR_WAKE_EN_
	.comm	_PM_CTRL,4,2                    ; @PM_CTRL
	.comm	_PM_CTL_ED_EN_,4,2              ; @PM_CTL_ED_EN_
	.comm	_PM_CTL_WOL_EN_,4,2             ; @PM_CTL_WOL_EN_
	.comm	_PHY_INT_MASK_ANEG_COMP_,4,2    ; @PHY_INT_MASK_ANEG_COMP_
	.comm	_PHY_INT_MASK_LINK_DOWN_,4,2    ; @PHY_INT_MASK_LINK_DOWN_
l_.str.3:                               ; @.str.3
	.asciz	"error enabling PHY wakeup ints\n"

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

	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WAKE_ARP,4,2                   ; @WAKE_ARP
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_FEATURE_8_WAKEUP_FILTERS,4,2   ; @FEATURE_8_WAKEUP_FILTERS
	.comm	_LAN9500A_WUFF_NUM,4,2          ; @LAN9500A_WUFF_NUM
	.comm	_LAN9500_WUFF_NUM,4,2           ; @LAN9500_WUFF_NUM
l_.str.5:                               ; @.str.5
	.asciz	"Unable to allocate filter_mask\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__const
	.p2align	2                               ; @__const.smsc95xx_suspend.bcast
l___const.smsc95xx_suspend.bcast:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"enabling broadcast detection\n"

	.section	__TEXT,__const
	.p2align	2                               ; @__const.smsc95xx_suspend.mcast
l___const.smsc95xx_suspend.mcast:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	94                              ; 0x5e

	.section	__TEXT,__cstring,cstring_literals
l_.str.7:                               ; @.str.7
	.asciz	"enabling multicast detection\n"

l_.str.8:                               ; @.str.8
	.asciz	"enabling ARP detection\n"

l_.str.9:                               ; @.str.9
	.asciz	"enabling unicast detection\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WUFF,4,2                       ; @WUFF
	.comm	_WUCSR_WUFR_,4,2                ; @WUCSR_WUFR_
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_WUCSR_MPR_,4,2                 ; @WUCSR_MPR_
l_.str.10:                              ; @.str.10
	.asciz	"enabling pattern match wakeup\n"

l_.str.11:                              ; @.str.11
	.asciz	"disabling pattern match wakeup\n"

l_.str.12:                              ; @.str.12
	.asciz	"enabling magic packet wakeup\n"

l_.str.13:                              ; @.str.13
	.asciz	"disabling magic packet wakeup\n"

l_.str.14:                              ; @.str.14
	.asciz	"entering SUSPEND0 mode\n"

	.comm	_CARRIER_CHECK_DELAY,4,2        ; @CARRIER_CHECK_DELAY
	.no_dead_strip	_smsc95xx_suspend
.subsections_via_symbols
