	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm9713_set_bias_level
_wm9713_set_bias_level:                 ## @wm9713_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$131, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_8
## %bb.3:
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ac97_read
	movl	%eax, %r15d
	andl	$7167, %r15d                    ## imm = 0x1BFF
	jmp	LBB0_7
LBB0_4:
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ac97_read
	andl	$15359, %eax                    ## imm = 0x3BFF
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ac97_write
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_5:
	movq	_AC97_EXTENDED_MID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$65535, %r15d                   ## imm = 0xFFFF
	movq	%r14, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ac97_write
	movq	_AC97_EXTENDED_MSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ac97_write
LBB0_6:
	movq	_AC97_POWERDOWN@GOTPCREL(%rip), %r12
LBB0_7:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_ac97_write
LBB0_8:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_EXTENDED_MID,4,2          ## @AC97_EXTENDED_MID
	.comm	_AC97_POWERDOWN,4,2             ## @AC97_POWERDOWN
	.comm	_AC97_EXTENDED_MSTATUS,4,2      ## @AC97_EXTENDED_MSTATUS
	.no_dead_strip	_wm9713_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 wm9713_set_bias_level
_wm9713_set_bias_level:                 ; @wm9713_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
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #130
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x22, _AC97_EXTENDED_MID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AC97_EXTENDED_MID@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_ac97_read
	mov	w8, #7167
	and	w21, w0, w8
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x21, _AC97_EXTENDED_MID@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AC97_EXTENDED_MID@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ac97_read
	mov	w8, #15359
	and	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ac97_write
	mov	w21, #0
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _AC97_EXTENDED_MID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AC97_EXTENDED_MID@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w21, #65535
	mov	x0, x20
	mov	w2, #65535
	bl	_ac97_write
Lloh7:
	adrp	x8, _AC97_EXTENDED_MSTATUS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AC97_EXTENDED_MSTATUS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #65535
	bl	_ac97_write
LBB0_6:
Lloh10:
	adrp	x22, _AC97_POWERDOWN@GOTPAGE
Lloh11:
	ldr	x22, [x22, _AC97_POWERDOWN@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_ac97_write
LBB0_8:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_EXTENDED_MID,4,2          ; @AC97_EXTENDED_MID
	.comm	_AC97_POWERDOWN,4,2             ; @AC97_POWERDOWN
	.comm	_AC97_EXTENDED_MSTATUS,4,2      ; @AC97_EXTENDED_MSTATUS
	.no_dead_strip	_wm9713_set_bias_level
.subsections_via_symbols
