	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a2ant_power_save_state
_btc8821a2ant_power_save_state:         ## @btc8821a2ant_power_save_state
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.3:
	movl	$0, -36(%rbp)
	movq	_BTC_SET_ACT_DISABLE_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_BTC_SET_ACT_NORMAL_LPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_5:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_btc8821a2ant_ps_tdma_check_for_power_save_state
	movq	_BTC_SET_ACT_LEAVE_LPS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	$1, %r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_btc8821a2ant_ps_tdma_check_for_power_save_state
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_btc8821a2ant_lps_rpwm
	movl	$1, -36(%rbp)
	movq	_BTC_SET_ACT_DISABLE_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_BTC_SET_ACT_ENTER_LPS@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
LBB0_7:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*(%rbx)
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, (%rax)
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_SET_ACT_DISABLE_LOW_POWER,4,2 ## @BTC_SET_ACT_DISABLE_LOW_POWER
	.comm	_BTC_SET_ACT_NORMAL_LPS,4,2     ## @BTC_SET_ACT_NORMAL_LPS
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_BTC_SET_ACT_ENTER_LPS,4,2      ## @BTC_SET_ACT_ENTER_LPS
	.comm	_BTC_SET_ACT_LEAVE_LPS,4,2      ## @BTC_SET_ACT_LEAVE_LPS
	.no_dead_strip	_btc8821a2ant_power_save_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a2ant_power_save_state
_btc8821a2ant_power_save_state:         ; @btc8821a2ant_power_save_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.3:
	str	wzr, [sp, #12]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _BTC_SET_ACT_NORMAL_LPS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BTC_SET_ACT_NORMAL_LPS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_btc8821a2ant_ps_tdma_check_for_power_save_state
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _BTC_SET_ACT_LEAVE_LPS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BTC_SET_ACT_LEAVE_LPS@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, #0
	blr	x8
	mov	w22, #0
	b	LBB0_7
LBB0_6:
	mov	x20, x3
	mov	x21, x2
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_btc8821a2ant_ps_tdma_check_for_power_save_state
Lloh7:
	adrp	x8, _NORMAL_EXEC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NORMAL_EXEC@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_btc8821a2ant_lps_rpwm
	str	w22, [sp, #12]
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _BTC_SET_ACT_ENTER_LPS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BTC_SET_ACT_ENTER_LPS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, #0
	blr	x8
LBB0_7:
Lloh16:
	adrp	x8, _coex_sta@GOTPAGE
Lloh17:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	w22, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_SET_ACT_DISABLE_LOW_POWER,4,2 ; @BTC_SET_ACT_DISABLE_LOW_POWER
	.comm	_BTC_SET_ACT_NORMAL_LPS,4,2     ; @BTC_SET_ACT_NORMAL_LPS
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_BTC_SET_ACT_ENTER_LPS,4,2      ; @BTC_SET_ACT_ENTER_LPS
	.comm	_BTC_SET_ACT_LEAVE_LPS,4,2      ; @BTC_SET_ACT_LEAVE_LPS
	.no_dead_strip	_btc8821a2ant_power_save_state
.subsections_via_symbols
