	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a1ant_power_save_state
_btc8821a1ant_power_save_state:         ## @btc8821a1ant_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$130, %esi
	je	LBB0_7
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.3:
	movl	$0, -28(%rbp)
	movq	_BTC_SET_ACT_DISABLE_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_BTC_SET_ACT_NORMAL_LPS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_btc8821a1ant_ps_tdma_check_for_pwr_save
	movq	(%rbx), %rax
	movq	_BTC_SET_ACT_LEAVE_LPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_6:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_btc8821a1ant_ps_tdma_check_for_pwr_save
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_btc8821a1ant_lps_rpwm
	movl	$1, -28(%rbp)
	movq	_BTC_SET_ACT_DISABLE_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_BTC_SET_ACT_ENTER_LPS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	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	_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	_btc8821a1ant_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 btc8821a1ant_power_save_state
_btc8821a1ant_power_save_state:         ; @btc8821a1ant_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_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_7
; %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_6
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_btc8821a1ant_ps_tdma_check_for_pwr_save
	ldr	x3, [x19]
Lloh5:
	adrp	x8, _BTC_SET_ACT_LEAVE_LPS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BTC_SET_ACT_LEAVE_LPS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	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
	br	x3
LBB0_5:
	mov	x20, x3
	mov	x21, x2
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_btc8821a1ant_ps_tdma_check_for_pwr_save
Lloh8:
	adrp	x8, _NORMAL_EXEC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NORMAL_EXEC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_btc8821a1ant_lps_rpwm
	str	w22, [sp, #12]
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BTC_SET_ACT_DISABLE_LOW_POWER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _BTC_SET_ACT_ENTER_LPS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BTC_SET_ACT_ENTER_LPS@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, #0
	blr	x8
LBB0_7:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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	_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	_btc8821a1ant_power_save_state
.subsections_via_symbols
