	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_enable_l1off
__rtl8821ae_enable_l1off:               ## @_rtl8821ae_enable_l1off
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_rtl_priv
	movq	%rax, %r15
	movq	_COMP_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	movl	$352, %esi                      ## imm = 0x160
	callq	__rtl8821ae_dbi_read
	movl	%eax, %r14d
	movl	$2, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_BIT
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	$27, %esi
	callq	__rtl8821ae_mdio_read
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	$27, %esi
	movl	%ebx, %edx
	callq	__rtl8821ae_mdio_write
	movq	%r15, %rdi
	movl	$1816, %esi                     ## imm = 0x718
	callq	__rtl8821ae_dbi_read
	movl	%eax, %ebx
	movl	$5, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	$1816, %esi                     ## imm = 0x718
	movl	%ebx, %edx
	callq	__rtl8821ae_dbi_write
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_1:
	movq	_COMP_POWER@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	orl	(%rax), %esi
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--->\n"

	.comm	_COMP_POWER,4,2                 ## @COMP_POWER
L_.str.1:                               ## @.str.1
	.asciz	"0x160(%#x)return!!\n"

L_.str.2:                               ## @.str.2
	.asciz	"<---\n"

	.no_dead_strip	__rtl8821ae_enable_l1off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_enable_l1off
__rtl8821ae_enable_l1off:               ; @_rtl8821ae_enable_l1off
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _COMP_INIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x22, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #352
	bl	__rtl8821ae_dbi_read
	mov	x20, x0
	mov	w0, #2
	bl	_BIT
	mov	x21, x0
	mov	w0, #3
	bl	_BIT
	orr	w8, w0, w21
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #27
	bl	__rtl8821ae_mdio_read
	mov	x20, x0
	mov	w0, #4
	bl	_BIT
	orr	w2, w0, w20
	mov	x0, x19
	mov	w1, #27
	bl	__rtl8821ae_mdio_write
	mov	x0, x19
	mov	w1, #1816
	bl	__rtl8821ae_dbi_read
	mov	x20, x0
	mov	w0, #5
	bl	_BIT
	orr	w2, w0, w20
	mov	x0, x19
	mov	w1, #1816
	bl	__rtl8821ae_dbi_write
	ldr	w1, [x23]
	ldr	w2, [x22]
Lloh6:
	adrp	x3, l_.str.2@PAGE
Lloh7:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_RT_TRACE
LBB0_2:
Lloh8:
	adrp	x8, _COMP_POWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COMP_POWER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
	ldr	w2, [x22]
	str	x20, [sp]
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--->\n"

	.comm	_COMP_POWER,4,2                 ; @COMP_POWER
l_.str.1:                               ; @.str.1
	.asciz	"0x160(%#x)return!!\n"

l_.str.2:                               ; @.str.2
	.asciz	"<---\n"

	.no_dead_strip	__rtl8821ae_enable_l1off
.subsections_via_symbols
