	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8960_set_bias_level
_wm8960_set_bias_level:                 ## @wm8960_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$131, %r14d
	je	LBB0_9
## %bb.2:
	cmpl	$129, %r14d
	jne	LBB0_11
## %bb.3:
	movq	_WM8960_POWER1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_snd_soc_read
	movl	%eax, %ebx
	andl	$-385, %ebx                     ## imm = 0xFE7F
	orl	$128, %ebx
	jmp	LBB0_10
LBB0_4:
	cmpl	$131, (%r15)
	jne	LBB0_8
## %bb.5:
	movq	8(%r15), %rax
	movq	(%rax), %rbx
	movq	_WM8960_POBCTRL@GOTPCREL(%rip), %rax
	movq	_WM8960_SOFT_ST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_WM8960_APOP1@GOTPCREL(%rip), %r13
	movq	_WM8960_BUFDCOPEN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r13), %esi
	movq	_WM8960_BUFIOEN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_soc_write
	movq	_WM8960_DISOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movl	(%rbx), %eax
	shll	$4, %eax
	orl	%eax, %edx
LBB0_7:
	movq	_WM8960_APOP2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_snd_soc_write
	movl	$400, %edi                      ## imm = 0x190
	callq	_msleep
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_snd_soc_write
	movq	_WM8960_POWER1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_snd_soc_read
	movl	%eax, %ebx
	orl	$128, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_snd_soc_write
	movl	$100, %edi
	callq	_msleep
	movl	(%r12), %esi
	movq	_WM8960_VREF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_snd_soc_write
	movl	(%r13), %esi
	movq	_WM8960_BUFIOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_soc_write
LBB0_8:
	movq	_WM8960_POWER1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_snd_soc_read
	movl	%eax, %ebx
	andl	$-385, %ebx                     ## imm = 0xFE7F
	orl	$256, %ebx                      ## imm = 0x100
	jmp	LBB0_10
LBB0_9:
	movq	_WM8960_POBCTRL@GOTPCREL(%rip), %rax
	movq	_WM8960_SOFT_ST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_WM8960_APOP1@GOTPCREL(%rip), %r12
	movq	_WM8960_BUFDCOPEN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r12), %esi
	movq	_WM8960_BUFIOEN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_soc_write
	movq	_WM8960_POWER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_snd_soc_write
	movl	$600, %edi                      ## imm = 0x258
	callq	_msleep
LBB0_10:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_snd_soc_write
LBB0_11:
	movl	%r14d, (%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8960_POWER1,4,2              ## @WM8960_POWER1
	.comm	_WM8960_APOP1,4,2               ## @WM8960_APOP1
	.comm	_WM8960_POBCTRL,4,2             ## @WM8960_POBCTRL
	.comm	_WM8960_SOFT_ST,4,2             ## @WM8960_SOFT_ST
	.comm	_WM8960_BUFDCOPEN,4,2           ## @WM8960_BUFDCOPEN
	.comm	_WM8960_BUFIOEN,4,2             ## @WM8960_BUFIOEN
	.comm	_WM8960_DISOP,4,2               ## @WM8960_DISOP
	.comm	_WM8960_APOP2,4,2               ## @WM8960_APOP2
	.comm	_WM8960_VREF,4,2                ## @WM8960_VREF
	.no_dead_strip	_wm8960_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 wm8960_set_bias_level
_wm8960_set_bias_level:                 ; @wm8960_set_bias_level
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #131
	b.eq	LBB0_9
; %bb.2:
	cmp	w19, #129
	b.ne	LBB0_11
; %bb.3:
Lloh0:
	adrp	x21, _WM8960_POWER1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8960_POWER1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	and	w8, w0, #0xfffffe7f
	orr	w2, w8, #0x80
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #131
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
Lloh2:
	adrp	x22, _WM8960_APOP1@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WM8960_APOP1@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh4:
	adrp	x8, _WM8960_POBCTRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WM8960_POBCTRL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _WM8960_SOFT_ST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WM8960_SOFT_ST@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _WM8960_BUFDCOPEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _WM8960_BUFDCOPEN@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh13:
	adrp	x23, _WM8960_BUFIOEN@GOTPAGE
Lloh14:
	ldr	x23, [x23, _WM8960_BUFIOEN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_snd_soc_write
Lloh15:
	adrp	x8, _WM8960_DISOP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WM8960_DISOP@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x21]
	orr	w2, w2, w8, lsl #4
LBB0_7:
Lloh18:
	adrp	x21, _WM8960_APOP2@GOTPAGE
Lloh19:
	ldr	x21, [x21, _WM8960_APOP2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
	mov	w0, #400
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_snd_soc_write
Lloh20:
	adrp	x24, _WM8960_POWER1@GOTPAGE
Lloh21:
	ldr	x24, [x24, _WM8960_POWER1@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_snd_soc_read
	orr	w21, w0, #0x80
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x21
	bl	_snd_soc_write
	mov	w0, #100
	bl	_msleep
	ldr	w1, [x24]
Lloh22:
	adrp	x8, _WM8960_VREF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WM8960_VREF@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w2, w8, w21
	mov	x0, x20
	bl	_snd_soc_write
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_snd_soc_write
LBB0_8:
Lloh25:
	adrp	x21, _WM8960_POWER1@GOTPAGE
Lloh26:
	ldr	x21, [x21, _WM8960_POWER1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	and	w8, w0, #0xfffffe7f
	orr	w2, w8, #0x100
	b	LBB0_10
LBB0_9:
Lloh27:
	adrp	x21, _WM8960_APOP1@GOTPAGE
Lloh28:
	ldr	x21, [x21, _WM8960_APOP1@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh29:
	adrp	x8, _WM8960_POBCTRL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WM8960_POBCTRL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _WM8960_SOFT_ST@GOTPAGE
Lloh33:
	ldr	x9, [x9, _WM8960_SOFT_ST@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh35:
	adrp	x9, _WM8960_BUFDCOPEN@GOTPAGE
Lloh36:
	ldr	x9, [x9, _WM8960_BUFDCOPEN@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _WM8960_BUFIOEN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _WM8960_BUFIOEN@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_snd_soc_write
Lloh41:
	adrp	x8, _WM8960_POWER1@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WM8960_POWER1@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_snd_soc_write
	mov	w0, #600
	bl	_msleep
	mov	w2, #0
LBB0_10:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
LBB0_11:
	str	w19, [x20]
	mov	w0, #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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8960_POWER1,4,2              ; @WM8960_POWER1
	.comm	_WM8960_APOP1,4,2               ; @WM8960_APOP1
	.comm	_WM8960_POBCTRL,4,2             ; @WM8960_POBCTRL
	.comm	_WM8960_SOFT_ST,4,2             ; @WM8960_SOFT_ST
	.comm	_WM8960_BUFDCOPEN,4,2           ; @WM8960_BUFDCOPEN
	.comm	_WM8960_BUFIOEN,4,2             ; @WM8960_BUFIOEN
	.comm	_WM8960_DISOP,4,2               ; @WM8960_DISOP
	.comm	_WM8960_APOP2,4,2               ; @WM8960_APOP2
	.comm	_WM8960_VREF,4,2                ; @WM8960_VREF
	.no_dead_strip	_wm8960_set_bias_level
.subsections_via_symbols
