	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a1ant_lps_rpwm
_btc8821a1ant_lps_rpwm:                 ## @btc8821a1ant_lps_rpwm
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %ebx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	movq	%rcx, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%r13, 16(%rax)
	movq	%r15, (%rax)
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	movq	(%rax), %r9
	movq	16(%rax), %r8
	leaq	L_.str.3(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r14), %rax
	movq	24(%rax), %rcx
	cmpq	16(%rax), %rcx
	jne	LBB0_3
## %bb.2:
	movq	8(%rax), %r8
	cmpq	(%rax), %r8
	je	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_btc8821a1ant_set_lps_rpwm
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movq	16(%rax), %rdx
	movq	%rdx, 24(%rax)
	movq	%rcx, 8(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r8, %r9
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## 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], %s set lps/rpwm = 0x%x/0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"force to"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_coex_dm,8,3                    ## @coex_dm
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], LPS-RxBeaconMode = 0x%x, LPS-RPWM = 0x%x!!\n"

L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], LPS-RPWM_Last = 0x%x, LPS-RPWM_Now = 0x%x!!\n"

	.no_dead_strip	_btc8821a1ant_lps_rpwm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a1ant_lps_rpwm
_btc8821a1ant_lps_rpwm:                 ; @btc8821a1ant_lps_rpwm
	.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	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, 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	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh6:
	adrp	x9, l_.str.2@PAGE
Lloh7:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w23, #0
	csel	x4, x9, x8, eq
	str	x3, [sp]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	bl	_RT_TRACE
Lloh10:
	adrp	x26, _coex_dm@GOTPAGE
Lloh11:
	ldr	x26, [x26, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x26]
	str	x20, [x8, #16]
	str	x19, [x8]
	cbnz	w23, LBB0_3
; %bb.1:
	ldr	w1, [x24]
	ldr	w2, [x25]
	ldr	x8, [x26]
	ldr	x4, [x8, #16]
	ldr	x5, [x8]
Lloh12:
	adrp	x3, l_.str.3@PAGE
Lloh13:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	ldr	x8, [x26]
	ldp	x10, x9, [x8, #16]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldp	x8, x4, [x8]
	cmp	x4, x8
	b.eq	LBB0_4
LBB0_3:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_btc8821a1ant_set_lps_rpwm
	ldr	x8, [x26]
	ldr	x9, [x8, #16]
	str	x9, [x8, #24]
	ldr	x9, [x8]
	str	x9, [x8, #8]
	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
LBB0_4:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh14:
	adrp	x3, l_.str.4@PAGE
Lloh15:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x5, x4
	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
	b	_RT_TRACE
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.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], %s set lps/rpwm = 0x%x/0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"force to"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_coex_dm,8,3                    ; @coex_dm
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], LPS-RxBeaconMode = 0x%x, LPS-RPWM = 0x%x!!\n"

l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], LPS-RPWM_Last = 0x%x, LPS-RPWM_Now = 0x%x!!\n"

	.no_dead_strip	_btc8821a1ant_lps_rpwm
.subsections_via_symbols
