	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b2ant_power_on_setting ## -- Begin function ex_btc8723b2ant_power_on_setting
	.p2align	4, 0x90
_ex_btc8723b2ant_power_on_setting:      ## @ex_btc8723b2ant_power_on_setting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -12(%rbp)
	movl	$103, %esi
	movl	$32, %edx
	callq	*40(%rdi)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	*(%rbx)
	movq	_BIT0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_BIT1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	callq	*32(%rbx)
	movq	%rbx, %rdi
	movl	$2376, %esi                     ## imm = 0x948
	xorl	%edx, %edx
	callq	*24(%rbx)
	movq	8(%rbx), %rax
	movq	_BTC_INTF_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_BTC_ANTENNA_AT_AUX_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	jmp	LBB0_8
LBB0_2:
	movl	48(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.5:
	movq	_BTC_ANTENNA_AT_AUX_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_BTC_ANTENNA_AT_MAIN_PORT@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
LBB0_7:
	movq	_BTC_SET_ACT_ANTPOSREGRISTRY_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*16(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT0,4,2                       ## @BIT0
	.comm	_BIT1,4,2                       ## @BIT1
	.comm	_BTC_INTF_USB,8,3               ## @BTC_INTF_USB
	.comm	_BTC_ANTENNA_AT_AUX_PORT,8,3    ## @BTC_ANTENNA_AT_AUX_PORT
	.comm	_BTC_ANTENNA_AT_MAIN_PORT,8,3   ## @BTC_ANTENNA_AT_MAIN_PORT
	.comm	_BTC_SET_ACT_ANTPOSREGRISTRY_CTRL,4,2 ## @BTC_SET_ACT_ANTPOSREGRISTRY_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b2ant_power_on_setting ; -- Begin function ex_btc8723b2ant_power_on_setting
	.p2align	2
_ex_btc8723b2ant_power_on_setting:      ; @ex_btc8723b2ant_power_on_setting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0, #40]
	mov	w1, #103
	mov	w2, #32
	blr	x8
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #2
	blr	x8
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _BIT0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIT0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w9, w9, w0
Lloh3:
	adrp	x10, _BIT1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BIT1@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w2, w9, w10
	mov	x0, x19
	mov	w1, #2
	blr	x8
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	w1, #2376
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _BTC_INTF_USB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BTC_INTF_USB@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _BTC_ANTENNA_AT_AUX_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTC_ANTENNA_AT_AUX_PORT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	b	LBB0_8
LBB0_2:
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
Lloh12:
	adrp	x8, _BTC_ANTENNA_AT_AUX_PORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTC_ANTENNA_AT_AUX_PORT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _BTC_ANTENNA_AT_MAIN_PORT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTC_ANTENNA_AT_MAIN_PORT@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19, #56]
LBB0_7:
	ldr	x8, [x19, #16]
Lloh16:
	adrp	x9, _BTC_SET_ACT_ANTPOSREGRISTRY_CTRL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BTC_SET_ACT_ANTPOSREGRISTRY_CTRL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT0,4,2                       ; @BIT0
	.comm	_BIT1,4,2                       ; @BIT1
	.comm	_BTC_INTF_USB,8,3               ; @BTC_INTF_USB
	.comm	_BTC_ANTENNA_AT_AUX_PORT,8,3    ; @BTC_ANTENNA_AT_AUX_PORT
	.comm	_BTC_ANTENNA_AT_MAIN_PORT,8,3   ; @BTC_ANTENNA_AT_MAIN_PORT
	.comm	_BTC_SET_ACT_ANTPOSREGRISTRY_CTRL,4,2 ; @BTC_SET_ACT_ANTPOSREGRISTRY_CTRL
.subsections_via_symbols
