	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8812ae_read_bt_coexist_info_from_hwpg
__rtl8812ae_read_bt_coexist_info_from_hwpg: ## @_rtl8812ae_read_bt_coexist_info_from_hwpg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_rtl_priv
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movl	$0, (%rax)
	movq	_BT_RTL8812A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	_ANT_X2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	_EEPROM_RF_BOARD_OPTION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$224, %edx
	andl	(%r14,%rcx,4), %edx
	xorl	%ecx, %ecx
	cmpl	$32, %edx
	sete	%cl
	movl	%ecx, (%rax)
	movq	_BT_RTL8812A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	_EEPROM_RF_BT_SETTING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	andl	$1, %ecx
LBB0_3:
	movl	%ecx, 4(%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_RF_BOARD_OPTION,8,3     ## @EEPROM_RF_BOARD_OPTION
	.comm	_BT_RTL8812A,8,3                ## @BT_RTL8812A
	.comm	_EEPROM_RF_BT_SETTING,8,3       ## @EEPROM_RF_BT_SETTING
	.comm	_ANT_X2,4,2                     ## @ANT_X2
	.no_dead_strip	__rtl8812ae_read_bt_coexist_info_from_hwpg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8812ae_read_bt_coexist_info_from_hwpg
__rtl8812ae_read_bt_coexist_info_from_hwpg: ; @_rtl8812ae_read_bt_coexist_info_from_hwpg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_rtl_priv
	cbz	w20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BT_RTL8812A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_RTL8812A@GOTPAGEOFF]
	str	wzr, [x0]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0, #8]
Lloh3:
	adrp	x8, _ANT_X2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ANT_X2@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EEPROM_RF_BOARD_OPTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEPROM_RF_BOARD_OPTION@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	and	w8, w8, #0xe0
	cmp	w8, #32
	cset	w8, eq
	str	w8, [x0]
Lloh9:
	adrp	x8, _BT_RTL8812A@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BT_RTL8812A@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x0, #8]
Lloh12:
	adrp	x8, _EEPROM_RF_BT_SETTING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEPROM_RF_BT_SETTING@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	and	w8, w8, #0x1
LBB0_3:
	str	w8, [x0, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_RF_BOARD_OPTION,8,3     ; @EEPROM_RF_BOARD_OPTION
	.comm	_BT_RTL8812A,8,3                ; @BT_RTL8812A
	.comm	_EEPROM_RF_BT_SETTING,8,3       ; @EEPROM_RF_BT_SETTING
	.comm	_ANT_X2,4,2                     ; @ANT_X2
	.no_dead_strip	__rtl8812ae_read_bt_coexist_info_from_hwpg
.subsections_via_symbols
