	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_read_adapter_info
__rtl8821ae_read_adapter_info:          ## @_rtl8821ae_read_adapter_info
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_RTL_EEPROM_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_EEPROM_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_EEPROM_DID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_EEPROM_SVID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_EEPROM_SMID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_EEPROM_MAC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_EEPROM_CHANNELPLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_EEPROM_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_EEPROM_CUSTOMER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_COUNTRY_CODE_WORLD_WIDE_13@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_HWSET_MAX_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.1:
	movq	%rax, %r13
	movl	(%r15), %edx
	leaq	-96(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rcx
	callq	_rtl_get_hwinfo
	testq	%rax, %rax
	jne	LBB0_28
## %bb.2:
	movq	48(%r12), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	__rtl8821ae_read_txpower_info_from_hwpg
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	(%r15), %rax
	movq	_HARDWARE_TYPE_RTL8812AE@GOTPCREL(%rip), %rcx
	movq	48(%r12), %rdx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	__rtl8812ae_read_amplifier_type
	movq	48(%r12), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	__rtl8812ae_read_bt_coexist_info_from_hwpg
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	__rtl8821ae_read_pa_type
	movq	48(%r12), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	__rtl8821ae_read_bt_coexist_info_from_hwpg
LBB0_5:
	movq	48(%r12), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	__rtl8821ae_read_rfe_type
	movq	_ODM_BOARD_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, 56(%r12)
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movq	_ODM_BOARD_EXT_LNA@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, 56(%r12)
LBB0_7:
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.8:
	movq	_ODM_BOARD_EXT_LNA_5G@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, 56(%r12)
LBB0_9:
	cmpq	$0, 24(%r15)
	je	LBB0_11
## %bb.10:
	movq	_ODM_BOARD_EXT_PA@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, 56(%r12)
LBB0_11:
	cmpq	$0, 32(%r15)
	je	LBB0_13
## %bb.12:
	movq	_ODM_BOARD_EXT_PA_5G@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, 56(%r12)
LBB0_13:
	cmpl	$1, 8(%r14)
	jne	LBB0_15
## %bb.14:
	movq	_ODM_BOARD_BT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, 56(%r12)
LBB0_15:
	movl	%r8d, 48(%r15)
	movq	_COMP_INIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_EEPROM_CHANNELPLAN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	(%r13,%rax,4), %eax
	cmpl	$255, %eax
	movl	$127, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%r12)
	movl	%ecx, 4(%r12)
	movq	_EEPROM_XTAL_8821AE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %eax
	cmpl	$255, %eax
	movl	$32, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, 8(%r12)
	movq	_EEPROM_THERMAL_METER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %eax
	movl	%eax, 12(%r12)
	cmpl	$255, %eax
	je	LBB0_17
## %bb.16:
	cmpq	$0, 48(%r12)
	je	LBB0_18
LBB0_17:
	movabsq	$4294967551, %rax               ## imm = 0x1000000FF
	movq	%rax, 12(%r12)
	movl	$255, %eax
LBB0_18:
	movq	24(%r12), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%r12), %r8d
	leaq	L_.str.1(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpq	$0, 48(%r12)
	je	LBB0_19
## %bb.24:
	movq	$0, 32(%r12)
	xorl	%r8d, %r8d
	jmp	LBB0_25
LBB0_19:
	movq	_EEPROM_RF_BOARD_OPTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %ecx
	shrl	$3, %ecx
	andl	$3, %ecx
	movl	%ecx, 32(%r12)
	xorl	%r8d, %r8d
	cmpl	$255, (%r13,%rax,4)
	cmovnel	%ecx, %r8d
	movl	%r8d, 32(%r12)
	cmpl	$1, 8(%r14)
	jne	LBB0_22
## %bb.20:
	movq	16(%r14), %rax
	movq	_ANT_X1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movl	$0, 32(%r12)
	xorl	%r8d, %r8d
LBB0_22:
	movq	_EEPROM_RF_ANTENNA_OPT_88E@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %ebx
	movl	%ebx, 36(%r12)
	cmpl	$255, %ebx
	jne	LBB0_25
## %bb.23:
	movq	_FIXED_HW_ANTDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, 36(%r12)
LBB0_25:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$1, (%r14)
	cmpq	$128, 40(%r15)
	jne	LBB0_28
## %bb.26:
	movl	$-130, %eax
	addl	40(%r12), %eax
	cmpl	$2, %eax
	ja	LBB0_28
## %bb.27:
	cltq
	leaq	l_switch.table._rtl8821ae_read_adapter_info(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 40(%rcx)
LBB0_28:
	movq	%r13, %rdi
	callq	_kfree
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL_EEPROM_ID,4,2              ## @RTL_EEPROM_ID
	.comm	_EEPROM_VID,4,2                 ## @EEPROM_VID
	.comm	_EEPROM_DID,4,2                 ## @EEPROM_DID
	.comm	_EEPROM_SVID,4,2                ## @EEPROM_SVID
	.comm	_EEPROM_SMID,4,2                ## @EEPROM_SMID
	.comm	_EEPROM_MAC_ADDR,4,2            ## @EEPROM_MAC_ADDR
	.comm	_EEPROM_CHANNELPLAN,4,2         ## @EEPROM_CHANNELPLAN
	.comm	_EEPROM_VERSION,4,2             ## @EEPROM_VERSION
	.comm	_EEPROM_CUSTOMER_ID,4,2         ## @EEPROM_CUSTOMER_ID
	.comm	_COUNTRY_CODE_WORLD_WIDE_13,4,2 ## @COUNTRY_CODE_WORLD_WIDE_13
	.comm	_HWSET_MAX_SIZE,4,2             ## @HWSET_MAX_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ## @HARDWARE_TYPE_RTL8812AE
	.comm	_ODM_BOARD_DEFAULT,4,2          ## @ODM_BOARD_DEFAULT
	.comm	_ODM_BOARD_EXT_LNA,4,2          ## @ODM_BOARD_EXT_LNA
	.comm	_ODM_BOARD_EXT_LNA_5G,4,2       ## @ODM_BOARD_EXT_LNA_5G
	.comm	_ODM_BOARD_EXT_PA,4,2           ## @ODM_BOARD_EXT_PA
	.comm	_ODM_BOARD_EXT_PA_5G,4,2        ## @ODM_BOARD_EXT_PA_5G
	.comm	_ODM_BOARD_BT,4,2               ## @ODM_BOARD_BT
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"board_type = 0x%x\n"

	.comm	_EEPROM_XTAL_8821AE,8,3         ## @EEPROM_XTAL_8821AE
	.comm	_EEPROM_THERMAL_METER,8,3       ## @EEPROM_THERMAL_METER
L_.str.1:                               ## @.str.1
	.asciz	"thermalmeter = 0x%x\n"

	.comm	_EEPROM_RF_BOARD_OPTION,8,3     ## @EEPROM_RF_BOARD_OPTION
	.comm	_ANT_X1,8,3                     ## @ANT_X1
	.comm	_EEPROM_RF_ANTENNA_OPT_88E,8,3  ## @EEPROM_RF_ANTENNA_OPT_88E
	.comm	_FIXED_HW_ANTDIV,4,2            ## @FIXED_HW_ANTDIV
L_.str.2:                               ## @.str.2
	.asciz	"SWAS: bHwAntDiv = %x, TRxAntDivType = %x\n"

	.comm	_RT_CID_TOSHIBA,8,3             ## @RT_CID_TOSHIBA
	.comm	_RT_CID_CCX,8,3                 ## @RT_CID_CCX
	.comm	_RT_CID_819X_QMI,8,3            ## @RT_CID_819X_QMI
	.no_dead_strip	__rtl8821ae_read_adapter_info
	.section	__DATA,__const
	.p2align	3                               ## @switch.table._rtl8821ae_read_adapter_info
l_switch.table._rtl8821ae_read_adapter_info:
	.quad	_RT_CID_TOSHIBA
	.quad	_RT_CID_819X_QMI
	.quad	_RT_CID_CCX

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function _rtl8821ae_read_adapter_info
lCPI0_0:
	.long	255                             ; 0xff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
__rtl8821ae_read_adapter_info:          ; @_rtl8821ae_read_adapter_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x23
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x20, x0
	mov	x0, x23
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x21, x0
Lloh3:
	adrp	x8, _RTL_EEPROM_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTL_EEPROM_ID@GOTPAGEOFF]
Lloh5:
	adrp	x9, _EEPROM_VID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EEPROM_VID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh9:
	adrp	x8, _EEPROM_DID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEPROM_DID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _EEPROM_SVID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EEPROM_SVID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh15:
	adrp	x8, _EEPROM_SMID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EEPROM_SMID@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _EEPROM_MAC_ADDR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EEPROM_MAC_ADDR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #32]
Lloh21:
	adrp	x24, _EEPROM_CHANNELPLAN@GOTPAGE
Lloh22:
	ldr	x24, [x24, _EEPROM_CHANNELPLAN@GOTPAGEOFF]
Lloh23:
	adrp	x8, _EEPROM_VERSION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EEPROM_VERSION@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh25:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #40]
Lloh26:
	adrp	x8, _EEPROM_CUSTOMER_ID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EEPROM_CUSTOMER_ID@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _COUNTRY_CODE_WORLD_WIDE_13@GOTPAGE
Lloh30:
	ldr	x9, [x9, _COUNTRY_CODE_WORLD_WIDE_13@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
Lloh32:
	adrp	x25, _HWSET_MAX_SIZE@GOTPAGE
Lloh33:
	ldr	x25, [x25, _HWSET_MAX_SIZE@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh34:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_29
; %bb.1:
	mov	x22, x0
	ldr	w2, [x25]
	add	x4, sp, #16
	mov	x0, x23
	mov	x1, x19
	mov	x3, x22
	bl	_rtl_get_hwinfo
	cbnz	x0, LBB0_28
; %bb.2:
	ldr	x1, [x20, #48]
	mov	x0, x23
	mov	x2, x22
	bl	__rtl8821ae_read_txpower_info_from_hwpg
	ldr	x8, [x21]
Lloh37:
	adrp	x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	ldr	x2, [x20, #48]
	mov	x0, x23
	mov	x1, x22
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	bl	__rtl8812ae_read_amplifier_type
	ldr	x1, [x20, #48]
	mov	x0, x23
	mov	x2, x22
	bl	__rtl8812ae_read_bt_coexist_info_from_hwpg
	b	LBB0_5
LBB0_4:
	bl	__rtl8821ae_read_pa_type
	ldr	x1, [x20, #48]
	mov	x0, x23
	mov	x2, x22
	bl	__rtl8821ae_read_bt_coexist_info_from_hwpg
LBB0_5:
	ldr	x2, [x20, #48]
	mov	x0, x23
	mov	x1, x22
	bl	__rtl8821ae_read_rfe_type
Lloh40:
	adrp	x8, _ODM_BOARD_DEFAULT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ODM_BOARD_DEFAULT@GOTPAGEOFF]
Lloh42:
	ldr	w4, [x8]
	str	w4, [x20, #56]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh43:
	adrp	x8, _ODM_BOARD_EXT_LNA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ODM_BOARD_EXT_LNA@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w4, w8, w4
	str	w4, [x20, #56]
LBB0_7:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_9
; %bb.8:
Lloh46:
	adrp	x8, _ODM_BOARD_EXT_LNA_5G@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ODM_BOARD_EXT_LNA_5G@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	orr	w4, w4, w8
	str	w4, [x20, #56]
LBB0_9:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_11
; %bb.10:
Lloh49:
	adrp	x8, _ODM_BOARD_EXT_PA@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ODM_BOARD_EXT_PA@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	orr	w4, w4, w8
	str	w4, [x20, #56]
LBB0_11:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_13
; %bb.12:
Lloh52:
	adrp	x8, _ODM_BOARD_EXT_PA_5G@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ODM_BOARD_EXT_PA_5G@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	orr	w4, w4, w8
	str	w4, [x20, #56]
LBB0_13:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.14:
Lloh55:
	adrp	x8, _ODM_BOARD_BT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ODM_BOARD_BT@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	orr	w4, w4, w8
	str	w4, [x20, #56]
LBB0_15:
	str	w4, [x21, #48]
Lloh58:
	adrp	x23, _COMP_INIT@GOTPAGE
Lloh59:
	ldr	x23, [x23, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh60:
	adrp	x25, _DBG_LOUD@GOTPAGE
Lloh61:
	ldr	x25, [x25, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh62:
	adrp	x3, l_.str@PAGE
Lloh63:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldrsw	x8, [x24]
	ldr	w8, [x22, x8, lsl #2]
	mov	w9, #127
	cmp	w8, #255
	csel	w8, w9, w8, eq
	stp	w8, w8, [x20]
Lloh64:
	adrp	x8, _EEPROM_XTAL_8821AE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EEPROM_XTAL_8821AE@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	ldr	w8, [x22, x8, lsl #2]
	mov	w9, #32
	cmp	w8, #255
	csel	w8, w9, w8, eq
Lloh67:
	adrp	x9, _EEPROM_THERMAL_METER@GOTPAGE
Lloh68:
	ldr	x9, [x9, _EEPROM_THERMAL_METER@GOTPAGEOFF]
	str	w8, [x20, #8]
Lloh69:
	ldr	x8, [x9]
	ldr	w8, [x22, x8, lsl #2]
	str	w8, [x20, #12]
	cmp	w8, #255
	b.eq	LBB0_17
; %bb.16:
	ldr	x9, [x20, #48]
	cbz	x9, LBB0_18
LBB0_17:
Lloh70:
	adrp	x8, lCPI0_0@PAGE
Lloh71:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #12]
	mov	w8, #255
LBB0_18:
	ldr	x9, [x20, #24]
	str	w8, [x9]
	ldr	w1, [x23]
	ldr	w2, [x25]
	ldr	w4, [x20, #12]
Lloh72:
	adrp	x3, l_.str.1@PAGE
Lloh73:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_20
; %bb.19:
	mov	w8, #0
	mov	w4, #0
	str	xzr, [x20, #32]
	b	LBB0_25
LBB0_20:
Lloh74:
	adrp	x8, _EEPROM_RF_BOARD_OPTION@GOTPAGE
Lloh75:
	ldr	x8, [x8, _EEPROM_RF_BOARD_OPTION@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x22, x8]
	ubfx	w9, w9, #3, #2
	str	w9, [x20, #32]
	ldr	w8, [x22, x8]
	cmp	w8, #255
	csel	w4, wzr, w9, eq
	str	w4, [x20, #32]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_23
; %bb.21:
	ldr	x8, [x19, #16]
Lloh77:
	adrp	x9, _ANT_X1@GOTPAGE
Lloh78:
	ldr	x9, [x9, _ANT_X1@GOTPAGEOFF]
Lloh79:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	mov	w4, #0
	str	wzr, [x20, #32]
LBB0_23:
Lloh80:
	adrp	x8, _EEPROM_RF_ANTENNA_OPT_88E@GOTPAGE
Lloh81:
	ldr	x8, [x8, _EEPROM_RF_ANTENNA_OPT_88E@GOTPAGEOFF]
Lloh82:
	ldr	x8, [x8]
	ldr	w8, [x22, x8, lsl #2]
	str	w8, [x20, #36]
	cmp	w8, #255
	b.ne	LBB0_25
; %bb.24:
Lloh83:
	adrp	x8, _FIXED_HW_ANTDIV@GOTPAGE
Lloh84:
	ldr	x8, [x8, _FIXED_HW_ANTDIV@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	str	w8, [x20, #36]
LBB0_25:
	ldr	w1, [x23]
	ldr	w2, [x25]
Lloh86:
	adrp	x3, l_.str.2@PAGE
Lloh87:
	add	x3, x3, l_.str.2@PAGEOFF
	str	x8, [sp]
	mov	x0, x19
	bl	_RT_TRACE
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x21, #40]
	cmp	x8, #128
	b.ne	LBB0_28
; %bb.26:
	ldr	w8, [x20, #40]
	sub	w8, w8, #130
	cmp	w8, #2
	b.hi	LBB0_28
; %bb.27:
Lloh88:
	adrp	x9, l_switch.table._rtl8821ae_read_adapter_info@PAGE
Lloh89:
	add	x9, x9, l_switch.table._rtl8821ae_read_adapter_info@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x8, [x8]
	str	x8, [x21, #40]
LBB0_28:
	mov	x0, x22
	bl	_kfree
LBB0_29:
	ldr	x8, [sp, #56]
Lloh90:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh91:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdr	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL_EEPROM_ID,4,2              ; @RTL_EEPROM_ID
	.comm	_EEPROM_VID,4,2                 ; @EEPROM_VID
	.comm	_EEPROM_DID,4,2                 ; @EEPROM_DID
	.comm	_EEPROM_SVID,4,2                ; @EEPROM_SVID
	.comm	_EEPROM_SMID,4,2                ; @EEPROM_SMID
	.comm	_EEPROM_MAC_ADDR,4,2            ; @EEPROM_MAC_ADDR
	.comm	_EEPROM_CHANNELPLAN,4,2         ; @EEPROM_CHANNELPLAN
	.comm	_EEPROM_VERSION,4,2             ; @EEPROM_VERSION
	.comm	_EEPROM_CUSTOMER_ID,4,2         ; @EEPROM_CUSTOMER_ID
	.comm	_COUNTRY_CODE_WORLD_WIDE_13,4,2 ; @COUNTRY_CODE_WORLD_WIDE_13
	.comm	_HWSET_MAX_SIZE,4,2             ; @HWSET_MAX_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ; @HARDWARE_TYPE_RTL8812AE
	.comm	_ODM_BOARD_DEFAULT,4,2          ; @ODM_BOARD_DEFAULT
	.comm	_ODM_BOARD_EXT_LNA,4,2          ; @ODM_BOARD_EXT_LNA
	.comm	_ODM_BOARD_EXT_LNA_5G,4,2       ; @ODM_BOARD_EXT_LNA_5G
	.comm	_ODM_BOARD_EXT_PA,4,2           ; @ODM_BOARD_EXT_PA
	.comm	_ODM_BOARD_EXT_PA_5G,4,2        ; @ODM_BOARD_EXT_PA_5G
	.comm	_ODM_BOARD_BT,4,2               ; @ODM_BOARD_BT
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"board_type = 0x%x\n"

	.comm	_EEPROM_XTAL_8821AE,8,3         ; @EEPROM_XTAL_8821AE
	.comm	_EEPROM_THERMAL_METER,8,3       ; @EEPROM_THERMAL_METER
l_.str.1:                               ; @.str.1
	.asciz	"thermalmeter = 0x%x\n"

	.comm	_EEPROM_RF_BOARD_OPTION,8,3     ; @EEPROM_RF_BOARD_OPTION
	.comm	_ANT_X1,8,3                     ; @ANT_X1
	.comm	_EEPROM_RF_ANTENNA_OPT_88E,8,3  ; @EEPROM_RF_ANTENNA_OPT_88E
	.comm	_FIXED_HW_ANTDIV,4,2            ; @FIXED_HW_ANTDIV
l_.str.2:                               ; @.str.2
	.asciz	"SWAS: bHwAntDiv = %x, TRxAntDivType = %x\n"

	.comm	_RT_CID_TOSHIBA,8,3             ; @RT_CID_TOSHIBA
	.comm	_RT_CID_CCX,8,3                 ; @RT_CID_CCX
	.comm	_RT_CID_819X_QMI,8,3            ; @RT_CID_819X_QMI
	.no_dead_strip	__rtl8821ae_read_adapter_info
	.section	__DATA,__const
	.p2align	3                               ; @switch.table._rtl8821ae_read_adapter_info
l_switch.table._rtl8821ae_read_adapter_info:
	.quad	_RT_CID_TOSHIBA
	.quad	_RT_CID_819X_QMI
	.quad	_RT_CID_CCX

.subsections_via_symbols
