	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssm2602_set_bias_level
_ssm2602_set_bias_level:                ## @ssm2602_set_bias_level
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_SSM2602_PWR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ssm2602_read_reg_cache
	andl	$65407, %eax                    ## imm = 0xFF7F
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$131, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_8
## %bb.3:
	movl	(%r15), %esi
	jmp	LBB0_4
LBB0_5:
	movl	(%r15), %esi
	movq	_PWR_CLK_OUT_PDN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_4:
	movq	%r14, %rdi
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_6:
	movq	_SSM2602_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ssm2602_write
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
LBB0_7:
	callq	_ssm2602_write
LBB0_8:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSM2602_PWR,4,2                ## @SSM2602_PWR
	.comm	_PWR_CLK_OUT_PDN,4,2            ## @PWR_CLK_OUT_PDN
	.comm	_SSM2602_ACTIVE,4,2             ## @SSM2602_ACTIVE
	.no_dead_strip	_ssm2602_set_bias_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssm2602_set_bias_level
_ssm2602_set_bias_level:                ; @ssm2602_set_bias_level
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _SSM2602_PWR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SSM2602_PWR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ssm2602_read_reg_cache
	mov	w8, #65407
	and	w2, w0, w8
	cmp	w19, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x20
	b	LBB0_6
LBB0_4:
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _PWR_CLK_OUT_PDN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PWR_CLK_OUT_PDN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w2, w8, w2
	mov	x0, x20
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _SSM2602_ACTIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSM2602_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_ssm2602_write
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #65535
LBB0_6:
	bl	_ssm2602_write
LBB0_7:
	str	w19, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SSM2602_PWR,4,2                ; @SSM2602_PWR
	.comm	_PWR_CLK_OUT_PDN,4,2            ; @PWR_CLK_OUT_PDN
	.comm	_SSM2602_ACTIVE,4,2             ; @SSM2602_ACTIVE
	.no_dead_strip	_ssm2602_set_bias_level
.subsections_via_symbols
