	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_powersave_bias
_store_powersave_bias:                  ## @store_powersave_bias
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdx, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	cmpl	$1001, -20(%rbp)                ## imm = 0x3E9
	jb	LBB0_4
## %bb.3:
	movl	$1000, -20(%rbp)                ## imm = 0x3E8
LBB0_4:
	movq	_dbs_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	-20(%rbp), %eax
	movq	_dbs_tuners_ins@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_ondemand_powersave_bias_init
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
LBB0_5:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_dbs_mutex,4,2                  ## @dbs_mutex
	.comm	_dbs_tuners_ins,4,2             ## @dbs_tuners_ins
	.no_dead_strip	_store_powersave_bias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_powersave_bias
_store_powersave_bias:                  ; @store_powersave_bias
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x0, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #1001
	b.lo	LBB0_3
; %bb.2:
	mov	w8, #1000
	str	w8, [sp, #12]
LBB0_3:
Lloh2:
	adrp	x20, _dbs_mutex@GOTPAGE
Lloh3:
	ldr	x20, [x20, _dbs_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [sp, #12]
Lloh4:
	adrp	x9, _dbs_tuners_ins@GOTPAGE
Lloh5:
	ldr	x9, [x9, _dbs_tuners_ins@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
	bl	_ondemand_powersave_bias_init
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_dbs_mutex,4,2                  ; @dbs_mutex
	.comm	_dbs_tuners_ins,4,2             ; @dbs_tuners_ins
	.no_dead_strip	_store_powersave_bias
.subsections_via_symbols
