	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan78xx_set_suspend
_lan78xx_set_suspend:                   ## @lan78xx_set_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	l___const.lan78xx_set_suspend.ipv4_multicast+8(%rip), %eax
	movl	%eax, -56(%rbp)
	movq	l___const.lan78xx_set_suspend.ipv4_multicast(%rip), %rax
	movq	%rax, -64(%rbp)
	movl	l___const.lan78xx_set_suspend.ipv6_multicast+8(%rip), %eax
	movl	%eax, -72(%rbp)
	movq	l___const.lan78xx_set_suspend.ipv6_multicast(%rip), %rax
	movq	%rax, -80(%rbp)
	movabsq	$25769803784, %rax              ## imm = 0x600000008
	movq	%rax, -96(%rbp)
	movq	_MAC_TX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-88(%rbp), %r15
	movq	%r15, %rdx
	callq	_lan78xx_read_reg
	movq	_MAC_TX_TXEN_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-88(%rbp), %edx
	movl	%edx, -88(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_lan78xx_write_reg
	movq	_MAC_RX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_lan78xx_read_reg
	movq	_MAC_RX_RXEN_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-88(%rbp), %edx
	movl	%edx, -88(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_lan78xx_write_reg
	movq	_WUCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movq	_WUCSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movq	_WK_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-917729, %edx                  ## imm = 0xFFF1FF1F
	callq	_lan78xx_write_reg
	movl	$0, -84(%rbp)
	movq	_PMT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_lan78xx_read_reg
	movq	_PMT_CTL_RES_CLR_WKP_EN_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-84(%rbp), %eax
	movq	_PMT_CTL_RES_CLR_WKP_STS_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
	movq	_NUM_OF_WUF_CFG@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_WUF_CFG
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_1
LBB0_2:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_PMT_CTL_PHY_WAKE_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_4:
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_WUCSR_MPEN_@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_3_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
	jmp	LBB0_7
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_WUCSR_BCST_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_9:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.11:
	movq	_WUCSR_WAKE_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	leaq	-64(%rbp), %rdi
	movl	$3, %esi
	callq	_lan78xx_wakeframe_crc16
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_WUF_CFG
	movq	_WUF_CFGX_EN_@GOTPCREL(%rip), %rdx
	movq	_WUF_CFGX_TYPE_MCAST_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_WUF_CFGX_CRC16_MASK_@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ebx
	orl	%ecx, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan78xx_write_reg
	xorl	%edi, %edi
	callq	_WUF_MASK0
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$7, %edx
	callq	_lan78xx_write_reg
	xorl	%edi, %edi
	callq	_WUF_MASK1
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	xorl	%edi, %edi
	callq	_WUF_MASK2
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	xorl	%edi, %edi
	callq	_WUF_MASK3
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	leaq	-80(%rbp), %rdi
	movl	$2, %r12d
	movl	$2, %esi
	callq	_lan78xx_wakeframe_crc16
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_WUF_CFG
	movq	_WUF_CFGX_TYPE_MCAST_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_WUF_CFGX_EN_@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_WUF_CFGX_CRC16_MASK_@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ebx
	orl	%ecx, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan78xx_write_reg
	movl	$1, %edi
	callq	_WUF_MASK0
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$3, %edx
	callq	_lan78xx_write_reg
	movl	$1, %edi
	callq	_WUF_MASK1
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movl	$1, %edi
	callq	_WUF_MASK2
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movl	$1, %edi
	callq	_WUF_MASK3
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
	jmp	LBB0_12
LBB0_10:
	xorl	%r12d, %r12d
LBB0_12:
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_WUCSR_PFDA_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_14:
	movq	_WAKE_ARP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_WUCSR_WAKE_EN_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	leaq	-96(%rbp), %rdi
	movl	$2, %esi
	callq	_lan78xx_wakeframe_crc16
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_WUF_CFG
	movq	_WUF_CFGX_EN_@GOTPCREL(%rip), %rcx
	movq	_WUF_CFGX_TYPE_ALL_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_WUF_CFGX_CRC16_MASK_@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	%edx, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan78xx_write_reg
	movl	%r12d, %edi
	callq	_WUF_MASK0
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$12288, %edx                    ## imm = 0x3000
	callq	_lan78xx_write_reg
	movl	%r12d, %edi
	callq	_WUF_MASK1
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movl	%r12d, %edi
	callq	_WUF_MASK2
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movl	%r12d, %edi
	callq	_WUF_MASK3
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_lan78xx_write_reg
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_16:
	movq	_WUCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_lan78xx_write_reg
	movslq	%r14d, %rdi
	callq	_hweight_long
	cmpl	$1, %eax
	jle	LBB0_17
## %bb.18:
	movq	_PMT_CTL_WOL_EN_@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_PMT_CTL_SUS_MODE_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movq	_PMT_CTL_SUS_MODE_0_@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -84(%rbp)
	jmp	LBB0_19
LBB0_17:
	movl	-84(%rbp), %edx
LBB0_19:
	movq	_PMT_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_lan78xx_write_reg
	movl	(%rbx), %esi
	leaq	-88(%rbp), %r14
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_lan78xx_read_reg
	movq	_PMT_CTL_WUPS_MASK_@GOTPCREL(%rip), %rax
	movl	-88(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -88(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_lan78xx_write_reg
	movq	_MAC_RX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_lan78xx_read_reg
	movl	-88(%rbp), %edx
	movq	_MAC_RX_RXEN_@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -88(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_lan78xx_write_reg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.lan78xx_set_suspend.ipv4_multicast
l___const.lan78xx_set_suspend.ipv4_multicast:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	94                              ## 0x5e

	.p2align	2                               ## @__const.lan78xx_set_suspend.ipv6_multicast
l___const.lan78xx_set_suspend.ipv6_multicast:
	.long	51                              ## 0x33
	.long	51                              ## 0x33
	.long	0                               ## 0x0

	.comm	_MAC_TX,4,2                     ## @MAC_TX
	.comm	_MAC_TX_TXEN_,4,2               ## @MAC_TX_TXEN_
	.comm	_MAC_RX,4,2                     ## @MAC_RX
	.comm	_MAC_RX_RXEN_,4,2               ## @MAC_RX_RXEN_
	.comm	_WUCSR,4,2                      ## @WUCSR
	.comm	_WUCSR2,4,2                     ## @WUCSR2
	.comm	_WK_SRC,4,2                     ## @WK_SRC
	.comm	_PMT_CTL,4,2                    ## @PMT_CTL
	.comm	_PMT_CTL_RES_CLR_WKP_EN_,4,2    ## @PMT_CTL_RES_CLR_WKP_EN_
	.comm	_PMT_CTL_RES_CLR_WKP_STS_,4,2   ## @PMT_CTL_RES_CLR_WKP_STS_
	.comm	_NUM_OF_WUF_CFG,4,2             ## @NUM_OF_WUF_CFG
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_PMT_CTL_PHY_WAKE_EN_,4,2       ## @PMT_CTL_PHY_WAKE_EN_
	.comm	_PMT_CTL_WOL_EN_,4,2            ## @PMT_CTL_WOL_EN_
	.comm	_PMT_CTL_SUS_MODE_MASK_,4,2     ## @PMT_CTL_SUS_MODE_MASK_
	.comm	_PMT_CTL_SUS_MODE_0_,4,2        ## @PMT_CTL_SUS_MODE_0_
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_WUCSR_MPEN_,4,2                ## @WUCSR_MPEN_
	.comm	_PMT_CTL_SUS_MODE_3_,4,2        ## @PMT_CTL_SUS_MODE_3_
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WUCSR_BCST_EN_,4,2             ## @WUCSR_BCST_EN_
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WUCSR_WAKE_EN_,4,2             ## @WUCSR_WAKE_EN_
	.comm	_WUF_CFGX_EN_,4,2               ## @WUF_CFGX_EN_
	.comm	_WUF_CFGX_TYPE_MCAST_,4,2       ## @WUF_CFGX_TYPE_MCAST_
	.comm	_WUF_CFGX_OFFSET_SHIFT_,4,2     ## @WUF_CFGX_OFFSET_SHIFT_
	.comm	_WUF_CFGX_CRC16_MASK_,4,2       ## @WUF_CFGX_CRC16_MASK_
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_WUCSR_PFDA_EN_,4,2             ## @WUCSR_PFDA_EN_
	.comm	_WAKE_ARP,4,2                   ## @WAKE_ARP
	.comm	_WUF_CFGX_TYPE_ALL_,4,2         ## @WUF_CFGX_TYPE_ALL_
	.comm	_PMT_CTL_WUPS_MASK_,4,2         ## @PMT_CTL_WUPS_MASK_
	.no_dead_strip	_lan78xx_set_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan78xx_set_suspend
_lan78xx_set_suspend:                   ; @lan78xx_set_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x28, 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, #56]
Lloh3:
	adrp	x8, l___const.lan78xx_set_suspend.ipv4_multicast@PAGE
Lloh4:
	add	x8, x8, l___const.lan78xx_set_suspend.ipv4_multicast@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #40]
	ldr	w8, [x8, #8]
	str	w8, [sp, #48]
Lloh5:
	adrp	x8, l___const.lan78xx_set_suspend.ipv6_multicast@PAGE
Lloh6:
	add	x8, x8, l___const.lan78xx_set_suspend.ipv6_multicast@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #24]
	ldr	w8, [x8, #8]
	str	w8, [sp, #32]
	mov	x8, #8
	movk	x8, #6, lsl #32
	str	x8, [sp, #8]
Lloh7:
	adrp	x21, _MAC_TX@GOTPAGE
Lloh8:
	ldr	x21, [x21, _MAC_TX@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #20
	bl	_lan78xx_read_reg
Lloh9:
	adrp	x8, _MAC_TX_TXEN_@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAC_TX_TXEN_@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	bic	w2, w9, w8
	str	w2, [sp, #20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lan78xx_write_reg
Lloh12:
	adrp	x21, _MAC_RX@GOTPAGE
Lloh13:
	ldr	x21, [x21, _MAC_RX@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #20
	mov	x0, x19
	bl	_lan78xx_read_reg
Lloh14:
	adrp	x8, _MAC_RX_RXEN_@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAC_RX_RXEN_@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	bic	w2, w9, w8
	str	w2, [sp, #20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lan78xx_write_reg
Lloh17:
	adrp	x8, _WUCSR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WUCSR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
Lloh20:
	adrp	x8, _WUCSR2@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WUCSR2@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
Lloh23:
	adrp	x8, _WK_SRC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WK_SRC@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65311
	movk	w2, #65521, lsl #16
	bl	_lan78xx_write_reg
	str	wzr, [sp, #16]
Lloh26:
	adrp	x26, _PMT_CTL@GOTPAGE
Lloh27:
	ldr	x26, [x26, _PMT_CTL@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x2, sp, #16
	mov	x0, x19
	bl	_lan78xx_read_reg
Lloh28:
	adrp	x8, _PMT_CTL_RES_CLR_WKP_EN_@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PMT_CTL_RES_CLR_WKP_EN_@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	bic	w8, w9, w8
Lloh31:
	adrp	x9, _PMT_CTL_RES_CLR_WKP_STS_@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PMT_CTL_RES_CLR_WKP_STS_@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #16]
Lloh34:
	adrp	x22, _NUM_OF_WUF_CFG@GOTPAGE
Lloh35:
	ldr	x22, [x22, _NUM_OF_WUF_CFG@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_WUF_CFG
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
Lloh36:
	adrp	x8, _WAKE_PHY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WAKE_PHY@GOTPAGEOFF]
Lloh38:
	adrp	x27, _PMT_CTL_WOL_EN_@GOTPAGE
Lloh39:
	ldr	x27, [x27, _PMT_CTL_WOL_EN_@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x25, _PMT_CTL_SUS_MODE_MASK_@GOTPAGE
Lloh42:
	ldr	x25, [x25, _PMT_CTL_SUS_MODE_MASK_@GOTPAGEOFF]
Lloh43:
	adrp	x23, _PMT_CTL_SUS_MODE_0_@GOTPAGE
Lloh44:
	ldr	x23, [x23, _PMT_CTL_SUS_MODE_0_@GOTPAGEOFF]
	tst	w8, w28
	b.eq	LBB0_5
; %bb.4:
Lloh45:
	adrp	x8, _PMT_CTL_PHY_WAKE_EN_@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PMT_CTL_PHY_WAKE_EN_@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_5:
Lloh48:
	adrp	x8, _WAKE_MAGIC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _WAKE_MAGIC@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_7
; %bb.6:
Lloh51:
	adrp	x8, _WUCSR_MPEN_@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WUCSR_MPEN_@GOTPAGEOFF]
Lloh53:
	ldr	w21, [x8]
	ldr	w8, [x27]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
Lloh54:
	adrp	x9, _PMT_CTL_SUS_MODE_3_@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PMT_CTL_SUS_MODE_3_@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #16]
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
Lloh57:
	adrp	x8, _WAKE_BCAST@GOTPAGE
Lloh58:
	ldr	x8, [x8, _WAKE_BCAST@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_10
; %bb.9:
Lloh60:
	adrp	x8, _WUCSR_BCST_EN_@GOTPAGE
Lloh61:
	ldr	x8, [x8, _WUCSR_BCST_EN_@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	orr	w21, w8, w21
	ldr	w8, [x27]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_10:
Lloh63:
	adrp	x8, _WAKE_MCAST@GOTPAGE
Lloh64:
	ldr	x8, [x8, _WAKE_MCAST@GOTPAGEOFF]
Lloh65:
	adrp	x9, _WUCSR_WAKE_EN_@GOTPAGE
Lloh66:
	ldr	x9, [x9, _WUCSR_WAKE_EN_@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x20, _WUF_CFGX_EN_@GOTPAGE
Lloh69:
	ldr	x20, [x20, _WUF_CFGX_EN_@GOTPAGEOFF]
Lloh70:
	adrp	x24, _WUF_CFGX_CRC16_MASK_@GOTPAGE
Lloh71:
	ldr	x24, [x24, _WUF_CFGX_CRC16_MASK_@GOTPAGEOFF]
	str	x28, [sp]                       ; 8-byte Folded Spill
	tst	w8, w28
	b.eq	LBB0_12
; %bb.11:
	ldr	w8, [x9]
	orr	w21, w8, w21
	add	x0, sp, #40
	mov	w1, #3
	bl	_lan78xx_wakeframe_crc16
	mov	x22, x0
	mov	w0, #0
	bl	_WUF_CFG
	mov	x1, x0
Lloh72:
	adrp	x26, _WUF_CFGX_TYPE_MCAST_@GOTPAGE
Lloh73:
	ldr	x26, [x26, _WUF_CFGX_TYPE_MCAST_@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x24]
	and	w9, w9, w22
	orr	w2, w8, w9
	mov	x0, x19
	bl	_lan78xx_write_reg
	mov	w0, #0
	bl	_WUF_MASK0
	mov	x1, x0
	mov	x0, x19
	mov	w2, #7
	bl	_lan78xx_write_reg
	mov	w0, #0
	bl	_WUF_MASK1
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	w0, #0
	bl	_WUF_MASK2
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	w0, #0
	bl	_WUF_MASK3
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	w22, #2
	add	x0, sp, #24
	mov	w1, #2
	bl	_lan78xx_wakeframe_crc16
	mov	x27, x25
	mov	x25, x23
	mov	x23, x0
	mov	w0, #1
	bl	_WUF_CFG
	mov	x1, x0
	mov	x28, x20
	ldr	w8, [x20]
	ldr	w9, [x26]
Lloh74:
	adrp	x26, _PMT_CTL@GOTPAGE
Lloh75:
	ldr	x26, [x26, _PMT_CTL@GOTPAGEOFF]
	orr	w8, w9, w8
	ldr	w9, [x24]
	and	w9, w9, w23
	mov	x23, x25
	mov	x25, x27
Lloh76:
	adrp	x27, _PMT_CTL_WOL_EN_@GOTPAGE
Lloh77:
	ldr	x27, [x27, _PMT_CTL_WOL_EN_@GOTPAGEOFF]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_lan78xx_write_reg
	mov	w0, #1
	bl	_WUF_MASK0
	mov	x1, x0
	mov	x0, x19
	mov	w2, #3
	bl	_lan78xx_write_reg
	mov	w0, #1
	bl	_WUF_MASK1
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	w0, #1
	bl	_WUF_MASK2
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	w0, #1
	bl	_WUF_MASK3
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	ldr	w8, [x27]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [sp, #16]
	b	LBB0_13
LBB0_12:
	mov	x28, x20
	mov	w22, #0
LBB0_13:
Lloh78:
	adrp	x8, _WAKE_UCAST@GOTPAGE
Lloh79:
	ldr	x8, [x8, _WAKE_UCAST@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_15
; %bb.14:
Lloh81:
	adrp	x8, _WUCSR_PFDA_EN_@GOTPAGE
Lloh82:
	ldr	x8, [x8, _WUCSR_PFDA_EN_@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	orr	w21, w8, w21
	ldr	w8, [x27]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_15:
	mov	x20, x28
Lloh84:
	adrp	x8, _WAKE_ARP@GOTPAGE
Lloh85:
	ldr	x8, [x8, _WAKE_ARP@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	ldr	x28, [sp]                       ; 8-byte Folded Reload
	tst	w8, w28
	b.eq	LBB0_17
; %bb.16:
Lloh87:
	adrp	x8, _WUCSR_WAKE_EN_@GOTPAGE
Lloh88:
	ldr	x8, [x8, _WUCSR_WAKE_EN_@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	orr	w21, w8, w21
	add	x0, sp, #8
	mov	w1, #2
	bl	_lan78xx_wakeframe_crc16
	mov	x24, x27
	mov	x27, x25
	mov	x25, x23
	mov	x23, x0
	mov	x0, x22
	bl	_WUF_CFG
	mov	x1, x0
Lloh90:
	adrp	x8, _WUF_CFGX_TYPE_ALL_@GOTPAGE
Lloh91:
	ldr	x8, [x8, _WUF_CFGX_TYPE_ALL_@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh92:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh93:
	adrp	x9, _WUF_CFGX_CRC16_MASK_@GOTPAGE
Lloh94:
	ldr	x9, [x9, _WUF_CFGX_CRC16_MASK_@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	and	w9, w9, w23
	mov	x23, x25
	mov	x25, x27
	mov	x27, x24
	orr	w2, w8, w9
	mov	x0, x19
	bl	_lan78xx_write_reg
	mov	x0, x22
	bl	_WUF_MASK0
	mov	x1, x0
	mov	x0, x19
	mov	w2, #12288
	bl	_lan78xx_write_reg
	mov	x0, x22
	bl	_WUF_MASK1
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	x0, x22
	bl	_WUF_MASK2
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	mov	x0, x22
	bl	_WUF_MASK3
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_lan78xx_write_reg
	ldr	w8, [x24]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_17:
Lloh96:
	adrp	x8, _WUCSR@GOTPAGE
Lloh97:
	ldr	x8, [x8, _WUCSR@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_lan78xx_write_reg
	sxtw	x0, w28
	bl	_hweight_long
	cmp	w0, #1
	b.le	LBB0_19
; %bb.18:
	ldr	w8, [x27]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	ldr	w9, [x25]
	bic	w8, w8, w9
	ldr	w9, [x23]
	orr	w2, w9, w8
	str	w2, [sp, #16]
	b	LBB0_20
LBB0_19:
	ldr	w2, [sp, #16]
LBB0_20:
	ldr	w1, [x26]
	mov	x0, x19
	bl	_lan78xx_write_reg
	ldr	w1, [x26]
	add	x2, sp, #20
	mov	x0, x19
	bl	_lan78xx_read_reg
Lloh99:
	adrp	x8, _PMT_CTL_WUPS_MASK_@GOTPAGE
Lloh100:
	ldr	x8, [x8, _PMT_CTL_WUPS_MASK_@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	orr	w2, w9, w8
	str	w2, [sp, #20]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_lan78xx_write_reg
Lloh102:
	adrp	x20, _MAC_RX@GOTPAGE
Lloh103:
	ldr	x20, [x20, _MAC_RX@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #20
	mov	x0, x19
	bl	_lan78xx_read_reg
Lloh104:
	adrp	x8, _MAC_RX_RXEN_@GOTPAGE
Lloh105:
	ldr	x8, [x8, _MAC_RX_RXEN_@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	orr	w2, w9, w8
	str	w2, [sp, #20]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_lan78xx_write_reg
	ldr	x8, [sp, #56]
Lloh107:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh108:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh109:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh67
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.lan78xx_set_suspend.ipv4_multicast
l___const.lan78xx_set_suspend.ipv4_multicast:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	94                              ; 0x5e

	.p2align	2                               ; @__const.lan78xx_set_suspend.ipv6_multicast
l___const.lan78xx_set_suspend.ipv6_multicast:
	.long	51                              ; 0x33
	.long	51                              ; 0x33
	.long	0                               ; 0x0

	.comm	_MAC_TX,4,2                     ; @MAC_TX
	.comm	_MAC_TX_TXEN_,4,2               ; @MAC_TX_TXEN_
	.comm	_MAC_RX,4,2                     ; @MAC_RX
	.comm	_MAC_RX_RXEN_,4,2               ; @MAC_RX_RXEN_
	.comm	_WUCSR,4,2                      ; @WUCSR
	.comm	_WUCSR2,4,2                     ; @WUCSR2
	.comm	_WK_SRC,4,2                     ; @WK_SRC
	.comm	_PMT_CTL,4,2                    ; @PMT_CTL
	.comm	_PMT_CTL_RES_CLR_WKP_EN_,4,2    ; @PMT_CTL_RES_CLR_WKP_EN_
	.comm	_PMT_CTL_RES_CLR_WKP_STS_,4,2   ; @PMT_CTL_RES_CLR_WKP_STS_
	.comm	_NUM_OF_WUF_CFG,4,2             ; @NUM_OF_WUF_CFG
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_PMT_CTL_PHY_WAKE_EN_,4,2       ; @PMT_CTL_PHY_WAKE_EN_
	.comm	_PMT_CTL_WOL_EN_,4,2            ; @PMT_CTL_WOL_EN_
	.comm	_PMT_CTL_SUS_MODE_MASK_,4,2     ; @PMT_CTL_SUS_MODE_MASK_
	.comm	_PMT_CTL_SUS_MODE_0_,4,2        ; @PMT_CTL_SUS_MODE_0_
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_WUCSR_MPEN_,4,2                ; @WUCSR_MPEN_
	.comm	_PMT_CTL_SUS_MODE_3_,4,2        ; @PMT_CTL_SUS_MODE_3_
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WUCSR_BCST_EN_,4,2             ; @WUCSR_BCST_EN_
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WUCSR_WAKE_EN_,4,2             ; @WUCSR_WAKE_EN_
	.comm	_WUF_CFGX_EN_,4,2               ; @WUF_CFGX_EN_
	.comm	_WUF_CFGX_TYPE_MCAST_,4,2       ; @WUF_CFGX_TYPE_MCAST_
	.comm	_WUF_CFGX_OFFSET_SHIFT_,4,2     ; @WUF_CFGX_OFFSET_SHIFT_
	.comm	_WUF_CFGX_CRC16_MASK_,4,2       ; @WUF_CFGX_CRC16_MASK_
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_WUCSR_PFDA_EN_,4,2             ; @WUCSR_PFDA_EN_
	.comm	_WAKE_ARP,4,2                   ; @WAKE_ARP
	.comm	_WUF_CFGX_TYPE_ALL_,4,2         ; @WUF_CFGX_TYPE_ALL_
	.comm	_PMT_CTL_WUPS_MASK_,4,2         ; @PMT_CTL_WUPS_MASK_
	.no_dead_strip	_lan78xx_set_suspend
.subsections_via_symbols
