	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8723b2ant_dec_bt_pwr
_btc8723b2ant_dec_bt_pwr:               ## @btc8723b2ant_dec_bt_pwr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rbx, (%rax)
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	8(%rax), %r8
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r13), %rax
	movq	(%rax), %rbx
	cmpq	%rbx, 8(%rax)
	je	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_btc8723b2ant_set_fw_dec_bt_pwr
	movq	(%r13), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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], Dec BT power level = %u\n"

	.comm	_coex_dm,8,3                    ## @coex_dm
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], PreDecBtPwrLvl=%d, CurDecBtPwrLvl=%d\n"

	.no_dead_strip	_btc8723b2ant_dec_bt_pwr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8723b2ant_dec_bt_pwr
_btc8723b2ant_dec_bt_pwr:               ; @btc8723b2ant_dec_bt_pwr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x24, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x24, [x24, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x25, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x20
	bl	_RT_TRACE
Lloh6:
	adrp	x23, _coex_dm@GOTPAGE
Lloh7:
	ldr	x23, [x23, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x20, [x8]
	cbnz	w22, LBB0_2
; %bb.1:
	ldr	w1, [x24]
	ldr	w2, [x25]
	ldr	x4, [x8, #8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	str	x20, [sp]
	mov	x0, x21
	bl	_RT_TRACE
	ldr	x8, [x23]
	ldp	x20, x9, [x8]
	cmp	x9, x20
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_btc8723b2ant_set_fw_dec_bt_pwr
	ldr	x8, [x23]
	ldr	x9, [x8]
	str	x9, [x8, #8]
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.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], Dec BT power level = %u\n"

	.comm	_coex_dm,8,3                    ; @coex_dm
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], PreDecBtPwrLvl=%d, CurDecBtPwrLvl=%d\n"

	.no_dead_strip	_btc8723b2ant_dec_bt_pwr
.subsections_via_symbols
