	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a2ant_wifi_off_hw_cfg
_btc8821a2ant_wifi_off_hw_cfg:          ## @btc8821a2ant_wifi_off_hw_cfg
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$1, -24(%rbp)
	movl	$0, -12(%rbp)
	movl	$1902, %esi                     ## imm = 0x76E
	movl	$4, %edx
	callq	*(%rdi)
	movq	_BTC_RF_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$1048575, %ecx                  ## imm = 0xFFFFF
	movl	$1920, %r8d                     ## imm = 0x780
	callq	*24(%rbx)
	movq	_BTC_GET_U4_WIFI_FW_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*16(%rbx)
	cmpl	$1572864, -12(%rbp)             ## imm = 0x180000
	jl	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$110, %esi
	movl	$1, %edx
	callq	*8(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$1893, %esi                     ## imm = 0x765
	movl	$24, %edx
	callq	*(%rbx)
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_RF_A,4,2                   ## @BTC_RF_A
	.comm	_BTC_GET_U4_WIFI_FW_VER,4,2     ## @BTC_GET_U4_WIFI_FW_VER
	.no_dead_strip	_btc8821a2ant_wifi_off_hw_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a2ant_wifi_off_hw_cfg
_btc8821a2ant_wifi_off_hw_cfg:          ; @btc8821a2ant_wifi_off_hw_cfg
	.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
	mov	w8, #1
	str	x8, [sp, #8]
	str	wzr, [sp, #4]
	ldr	x8, [x0]
	mov	w1, #1902
	mov	w2, #4
	blr	x8
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _BTC_RF_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_RF_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1048575
	mov	w4, #1920
	blr	x8
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #4
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #4]
	cmp	w8, #384, lsl #12               ; =1572864
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #110
	mov	w2, #1
	blr	x8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #1893
	mov	w2, #24
	blr	x8
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_RF_A,4,2                   ; @BTC_RF_A
	.comm	_BTC_GET_U4_WIFI_FW_VER,4,2     ; @BTC_GET_U4_WIFI_FW_VER
	.no_dead_strip	_btc8821a2ant_wifi_off_hw_cfg
.subsections_via_symbols
