	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exhalbtc_initlize_variables_wifi_only ## -- Begin function exhalbtc_initlize_variables_wifi_only
	.p2align	4, 0x90
_exhalbtc_initlize_variables_wifi_only: ## @exhalbtc_initlize_variables_wifi_only
	.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	%rdi, %r14
	callq	_rtl_btc_wifi_only
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 32(%rax)
	movl	(%r14), %ecx
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_WIFIONLY_INTF_USB@GOTPCREL(%rip), %rax
	cmpl	$129, %ecx
	je	LBB0_6
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_WIFIONLY_INTF_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	$129, %ecx
	jne	LBB0_7
LBB0_6:
	movq	_WIFIONLY_INTF_PCI@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_CUSTOMER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%r14, %rdi
	callq	_rtl_get_hwpg_ant_num
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_rtl_get_hwpg_single_ant_path
	movl	%eax, 12(%rbx)
	movq	%r14, %rdi
	callq	_rtl_get_hwpg_rfe_type
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIFIONLY_INTF_PCI,4,2          ## @WIFIONLY_INTF_PCI
	.comm	_WIFIONLY_INTF_USB,4,2          ## @WIFIONLY_INTF_USB
	.comm	_WIFIONLY_INTF_UNKNOWN,4,2      ## @WIFIONLY_INTF_UNKNOWN
	.comm	_CUSTOMER_NORMAL,4,2            ## @CUSTOMER_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exhalbtc_initlize_variables_wifi_only ; -- Begin function exhalbtc_initlize_variables_wifi_only
	.p2align	2
_exhalbtc_initlize_variables_wifi_only: ; @exhalbtc_initlize_variables_wifi_only
	.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	x20, x0
	bl	_rtl_btc_wifi_only
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #32]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _WIFIONLY_INTF_PCI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIFIONLY_INTF_PCI@GOTPAGEOFF]
Lloh2:
	adrp	x10, _WIFIONLY_INTF_USB@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WIFIONLY_INTF_USB@GOTPAGEOFF]
Lloh4:
	adrp	x11, _WIFIONLY_INTF_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x11, [x11, _WIFIONLY_INTF_UNKNOWN@GOTPAGEOFF]
	cmp	w8, #128
	csel	x10, x10, x11, eq
	cmp	w8, #129
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CUSTOMER_NORMAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CUSTOMER_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #20]
	mov	x0, x20
	bl	_rtl_get_hwpg_ant_num
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_rtl_get_hwpg_single_ant_path
	str	w0, [x19, #12]
	mov	x0, x20
	bl	_rtl_get_hwpg_rfe_type
	str	w0, [x19, #8]
	str	xzr, [x19]
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WIFIONLY_INTF_PCI,4,2          ; @WIFIONLY_INTF_PCI
	.comm	_WIFIONLY_INTF_USB,4,2          ; @WIFIONLY_INTF_USB
	.comm	_WIFIONLY_INTF_UNKNOWN,4,2      ; @WIFIONLY_INTF_UNKNOWN
	.comm	_CUSTOMER_NORMAL,4,2            ; @CUSTOMER_NORMAL
.subsections_via_symbols
