	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_phy_config_mac_with_headerfile
__rtl8821ae_phy_config_mac_with_headerfile: ## @_rtl8821ae_phy_config_mac_with_headerfile
	.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
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r15
	movq	_COMP_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r15), %rax
	movq	_HARDWARE_TYPE_RTL8821AE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_RTL8812AE_MAC_REG_ARRAY@GOTPCREL(%rip), %rax
	cmoveq	_RTL8821AE_MAC_REG_ARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_RTL8812AE_MAC_1T_ARRAYLEN@GOTPCREL(%rip), %rax
	cmoveq	_RTL8821AE_MAC_1T_ARRAYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_rtl_write_byte_with_val32@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___rtl8821ae_phy_config_with_headerfile ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read MAC_REG_Array\n"

	.comm	_HARDWARE_TYPE_RTL8821AE,8,3    ## @HARDWARE_TYPE_RTL8821AE
	.comm	_RTL8821AE_MAC_1T_ARRAYLEN,4,2  ## @RTL8821AE_MAC_1T_ARRAYLEN
	.comm	_RTL8821AE_MAC_REG_ARRAY,8,3    ## @RTL8821AE_MAC_REG_ARRAY
	.comm	_RTL8812AE_MAC_1T_ARRAYLEN,4,2  ## @RTL8812AE_MAC_1T_ARRAYLEN
	.comm	_RTL8812AE_MAC_REG_ARRAY,8,3    ## @RTL8812AE_MAC_REG_ARRAY
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.1:                               ## @.str.1
	.asciz	"Img: MAC_REG_ARRAY LEN %d\n"

	.comm	_rtl_write_byte_with_val32,4,2  ## @rtl_write_byte_with_val32
	.no_dead_strip	__rtl8821ae_phy_config_mac_with_headerfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_phy_config_mac_with_headerfile
__rtl8821ae_phy_config_mac_with_headerfile: ; @_rtl8821ae_phy_config_mac_with_headerfile
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	bl	_rtl_hal
	mov	x21, x0
Lloh0:
	adrp	x23, _COMP_INIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x21]
Lloh7:
	adrp	x9, _HARDWARE_TYPE_RTL8821AE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8821AE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x10, _RTL8821AE_MAC_REG_ARRAY@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RTL8821AE_MAC_REG_ARRAY@GOTPAGEOFF]
Lloh12:
	adrp	x11, _RTL8812AE_MAC_REG_ARRAY@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RTL8812AE_MAC_REG_ARRAY@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x21, [x8]
Lloh14:
	adrp	x8, _RTL8821AE_MAC_1T_ARRAYLEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RTL8821AE_MAC_1T_ARRAYLEN@GOTPAGEOFF]
Lloh16:
	adrp	x9, _RTL8812AE_MAC_1T_ARRAYLEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RTL8812AE_MAC_1T_ARRAYLEN@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w22, [x8]
	ldr	w1, [x23]
Lloh18:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	str	x22, [sp]
Lloh21:
	adrp	x3, l_.str.1@PAGE
Lloh22:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh23:
	adrp	x8, _rtl_write_byte_with_val32@GOTPAGE
Lloh24:
	ldr	x8, [x8, _rtl_write_byte_with_val32@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	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	___rtl8821ae_phy_config_with_headerfile
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read MAC_REG_Array\n"

	.comm	_HARDWARE_TYPE_RTL8821AE,8,3    ; @HARDWARE_TYPE_RTL8821AE
	.comm	_RTL8821AE_MAC_1T_ARRAYLEN,4,2  ; @RTL8821AE_MAC_1T_ARRAYLEN
	.comm	_RTL8821AE_MAC_REG_ARRAY,8,3    ; @RTL8821AE_MAC_REG_ARRAY
	.comm	_RTL8812AE_MAC_1T_ARRAYLEN,4,2  ; @RTL8812AE_MAC_1T_ARRAYLEN
	.comm	_RTL8812AE_MAC_REG_ARRAY,8,3    ; @RTL8812AE_MAC_REG_ARRAY
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.1:                               ; @.str.1
	.asciz	"Img: MAC_REG_ARRAY LEN %d\n"

	.comm	_rtl_write_byte_with_val32,4,2  ; @rtl_write_byte_with_val32
	.no_dead_strip	__rtl8821ae_phy_config_mac_with_headerfile
.subsections_via_symbols
