	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8188ee_read_bt_coexist_info_from_hwpg ## -- Begin function rtl8188ee_read_bt_coexist_info_from_hwpg
	.p2align	4, 0x90
_rtl8188ee_read_bt_coexist_info_from_hwpg: ## @rtl8188ee_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movl	$0, (%rax)
	movq	_BT_2WIRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ANT_X2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_BT_RADIO_SHARED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_1:
	movq	_EEPROM_RF_FEATURE_OPTION_88E@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r15,%rcx,4), %edx
	shrl	$5, %edx
	andl	$7, %edx
	movl	%edx, (%rax)
	xorl	%esi, %esi
	cmpl	$255, (%r15,%rcx,4)
	cmovnel	%edx, %esi
	movl	%esi, (%rax)
	movq	_EEPROM_RF_BT_SETTING_88E@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r15,%rcx,4), %edx
	movl	%edx, %ecx
	shrl	%ecx
	andl	$7, %ecx
	movl	%edx, %esi
	andl	$1, %esi
	movl	%edx, %edi
	shrl	$4, %edi
	andl	$1, %edi
	shrl	$5, %edx
	andl	$1, %edx
LBB0_3:
	movl	%ecx, 4(%rax)
	movl	%esi, 8(%rax)
	movl	%edi, 12(%rax)
	movl	%edx, 16(%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8188ee_bt_var_init          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_RF_FEATURE_OPTION_88E,8,3 ## @EEPROM_RF_FEATURE_OPTION_88E
	.comm	_EEPROM_RF_BT_SETTING_88E,8,3   ## @EEPROM_RF_BT_SETTING_88E
	.comm	_BT_2WIRE,4,2                   ## @BT_2WIRE
	.comm	_ANT_X2,4,2                     ## @ANT_X2
	.comm	_BT_RADIO_SHARED,4,2            ## @BT_RADIO_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8188ee_read_bt_coexist_info_from_hwpg ; -- Begin function rtl8188ee_read_bt_coexist_info_from_hwpg
	.p2align	2
_rtl8188ee_read_bt_coexist_info_from_hwpg: ; @rtl8188ee_read_bt_coexist_info_from_hwpg
	.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, x2
	mov	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	cbz	w21, LBB0_2
; %bb.1:
	mov	w8, #0
	str	wzr, [x0]
Lloh0:
	adrp	x9, _BT_2WIRE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BT_2WIRE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _ANT_X2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ANT_X2@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _BT_RADIO_SHARED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BT_RADIO_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EEPROM_RF_FEATURE_OPTION_88E@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEPROM_RF_FEATURE_OPTION_88E@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x20, x8]
	ubfx	w9, w9, #5, #3
	str	w9, [x0]
	ldr	w8, [x20, x8]
	cmp	w8, #255
	csel	w8, wzr, w9, eq
	str	w8, [x0]
Lloh12:
	adrp	x8, _EEPROM_RF_BT_SETTING_88E@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEPROM_RF_BT_SETTING_88E@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w11, [x20, x8, lsl #2]
	ubfx	w9, w11, #1, #3
	and	w10, w11, #0x1
	ubfx	w8, w11, #4, #1
	ubfx	w11, w11, #5, #1
LBB0_3:
	stp	w9, w10, [x0, #4]
	stp	w8, w11, [x0, #12]
	mov	x0, x19
	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
	b	_rtl8188ee_bt_var_init
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_RF_FEATURE_OPTION_88E,8,3 ; @EEPROM_RF_FEATURE_OPTION_88E
	.comm	_EEPROM_RF_BT_SETTING_88E,8,3   ; @EEPROM_RF_BT_SETTING_88E
	.comm	_BT_2WIRE,4,2                   ; @BT_2WIRE
	.comm	_ANT_X2,4,2                     ; @ANT_X2
	.comm	_BT_RADIO_SHARED,4,2            ; @BT_RADIO_SHARED
.subsections_via_symbols
