	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8821a2ant_init_hwconfig  ## -- Begin function ex_btc8821a2ant_init_hwconfig
	.p2align	4, 0x90
_ex_btc8821a2ant_init_hwconfig:         ## @ex_btc8821a2ant_init_hwconfig
	.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
	movq	32(%rdi), %rdi
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_RT_TRACE
	movq	_BTC_RF_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$30, %edx
	movl	$1048575, %ecx                  ## imm = 0xFFFFF
	callq	*24(%rbx)
	movq	_coex_dm@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	movl	$1936, %esi                     ## imm = 0x790
	callq	*(%rbx)
                                        ## kill: def $eax killed $eax def $rax
	andl	$192, %eax
	leal	5(%rax), %edx
	movq	%rbx, %rdi
	movl	$1936, %esi                     ## imm = 0x790
	callq	*16(%rbx)
	movq	_BTC_ANT_WIFI_AT_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_btc8821a2ant_set_ant_path
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movq	_FORCE_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_btc8821a2ant_coex_table_with_type
	movq	%rbx, %rdi
	movl	$1902, %esi                     ## imm = 0x76E
	movl	$4, %edx
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movl	$1912, %esi                     ## imm = 0x778
	movl	$3, %edx
	callq	*16(%rbx)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$32, %edx
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], 2Ant Init HW Config!!\n"

	.comm	_BTC_RF_A,4,2                   ## @BTC_RF_A
	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_BTC_ANT_WIFI_AT_MAIN,4,2       ## @BTC_ANT_WIFI_AT_MAIN
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_FORCE_EXEC,4,2                 ## @FORCE_EXEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8821a2ant_init_hwconfig  ; -- Begin function ex_btc8821a2ant_init_hwconfig
	.p2align	2
_ex_btc8821a2ant_init_hwconfig:         ; @ex_btc8821a2ant_init_hwconfig
	.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, x0
	ldr	x0, [x0, #32]
Lloh0:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	ldr	x8, [x19, #24]
Lloh8:
	adrp	x9, _BTC_RF_A@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BTC_RF_A@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #30
	mov	w3, #1048575
	blr	x8
Lloh11:
	adrp	x8, _coex_dm@GOTPAGE
Lloh12:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	w0, [x8]
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #1936
	blr	x8
	and	w8, w0, #0xc0
	mov	w9, #5
	orr	w2, w8, w9
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #1936
	blr	x8
Lloh14:
	adrp	x8, _BTC_ANT_WIFI_AT_MAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTC_ANT_WIFI_AT_MAIN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_btc8821a2ant_set_ant_path
Lloh17:
	adrp	x8, _coex_sta@GOTPAGE
Lloh18:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	xzr, [x8]
Lloh20:
	adrp	x8, _FORCE_EXEC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FORCE_EXEC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_btc8821a2ant_coex_table_with_type
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #1902
	mov	w2, #4
	blr	x8
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #1912
	mov	w2, #3
	blr	x8
	ldr	x4, [x19, #8]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #32
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], 2Ant Init HW Config!!\n"

	.comm	_BTC_RF_A,4,2                   ; @BTC_RF_A
	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_BTC_ANT_WIFI_AT_MAIN,4,2       ; @BTC_ANT_WIFI_AT_MAIN
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_FORCE_EXEC,4,2                 ; @FORCE_EXEC
.subsections_via_symbols
