	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl88ee_enable_aspm_back_door
__rtl88ee_enable_aspm_back_door:        ## @_rtl88ee_enable_aspm_back_door
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	$852, %esi                      ## imm = 0x354
	movl	$33028, %edx                    ## imm = 0x8104
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$856, %esi                      ## imm = 0x358
	movl	$36, %edx
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$848, %esi                      ## imm = 0x350
	movl	$1804, %edx                     ## imm = 0x70C
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	movl	$2, %edx
	callq	_rtl_write_byte
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %ecx
	cmpl	$19, %ebx
	movl	%ecx, %ebx
	jb	LBB0_2
LBB0_4:
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	movl	$844, %esi                      ## imm = 0x34C
	callq	_rtl_read_dword
	movl	%eax, %r15d
	movl	$31, %edi
	callq	_BIT
	orl	%eax, %r15d
	movq	%r12, %rdi
	movl	$840, %esi                      ## imm = 0x348
	movl	%r15d, %edx
	callq	_rtl_write_dword
	movq	%r12, %rdi
	movl	$848, %esi                      ## imm = 0x350
	movl	$63244, %edx                    ## imm = 0xF70C
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	movl	$1, %edx
	callq	_rtl_write_byte
LBB0_6:
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	1(%rbx), %eax
	cmpl	$19, %ebx
	movl	%eax, %ebx
	jb	LBB0_8
LBB0_10:
	movq	%r12, %rdi
	movl	$848, %esi                      ## imm = 0x350
	movl	$1816, %edx                     ## imm = 0x718
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	movl	$2, %edx
	callq	_rtl_write_byte
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%rbx), %ecx
	cmpl	$19, %ebx
	movl	%ecx, %ebx
	jb	LBB0_12
LBB0_14:
	cmpq	$0, (%r14)
	jne	LBB0_16
## %bb.15:
	testq	%rax, %rax
	jne	LBB0_17
LBB0_16:
	movq	%r12, %rdi
	movl	$844, %esi                      ## imm = 0x34C
	callq	_rtl_read_dword
	movl	%eax, %r14d
	movl	$11, %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	$12, %edi
	callq	_BIT
	orl	%eax, %r14d
	movq	%r12, %rdi
	movl	$840, %esi                      ## imm = 0x348
	movl	%r14d, %edx
	callq	_rtl_write_dword
	movq	%r12, %rdi
	movl	$848, %esi                      ## imm = 0x350
	movl	$63256, %edx                    ## imm = 0xF718
	callq	_rtl_write_word
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	movl	$1, %edx
	callq	_rtl_write_byte
LBB0_17:
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$850, %esi                      ## imm = 0x352
	callq	_rtl_read_byte
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	leal	1(%rbx), %eax
	cmpl	$19, %ebx
	movl	%eax, %ebx
	jb	LBB0_19
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__rtl88ee_enable_aspm_back_door
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl88ee_enable_aspm_back_door
__rtl88ee_enable_aspm_back_door:        ; @_rtl88ee_enable_aspm_back_door
	.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, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x20, x0
	mov	x0, x19
	mov	w1, #852
	mov	w2, #33028
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #856
	mov	w2, #36
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #848
	mov	w2, #1804
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #850
	mov	w2, #2
	bl	_rtl_write_byte
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_5
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w21, #1
	cmp	w21, #19
	mov	x21, x8
	b.lo	LBB0_2
LBB0_4:
	cbnz	x0, LBB0_6
LBB0_5:
	mov	x0, x19
	mov	w1, #844
	bl	_rtl_read_dword
	mov	x21, x0
	mov	w0, #31
	bl	_BIT
	orr	w2, w0, w21
	mov	x0, x19
	mov	w1, #840
	bl	_rtl_write_dword
	mov	x0, x19
	mov	w1, #848
	mov	w2, #63244
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #850
	mov	w2, #1
	bl	_rtl_write_byte
LBB0_6:
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_10
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w21, #1
	cmp	w21, #19
	mov	x21, x8
	b.lo	LBB0_8
LBB0_10:
	mov	x0, x19
	mov	w1, #848
	mov	w2, #1816
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #850
	mov	w2, #2
	bl	_rtl_write_byte
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_15
; %bb.11:
	mov	w21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w8, w21, #1
	cmp	w21, #19
	mov	x21, x8
	b.lo	LBB0_12
LBB0_14:
	ldr	x8, [x20]
	cmp	x8, #0
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_16
LBB0_15:
	mov	x0, x19
	mov	w1, #844
	bl	_rtl_read_dword
	mov	x20, x0
	mov	w0, #11
	bl	_BIT
	orr	w20, w0, w20
	mov	w0, #12
	bl	_BIT
	orr	w2, w20, w0
	mov	x0, x19
	mov	w1, #840
	bl	_rtl_write_dword
	mov	x0, x19
	mov	w1, #848
	mov	w2, #63256
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #850
	mov	w2, #1
	bl	_rtl_write_byte
LBB0_16:
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_20
; %bb.17:
	mov	w20, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #850
	bl	_rtl_read_byte
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w8, w20, #1
	cmp	w20, #19
	mov	x20, x8
	b.lo	LBB0_18
LBB0_20:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__rtl88ee_enable_aspm_back_door
.subsections_via_symbols
