	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_wm8776_volume
_update_wm8776_volume:                  ## @update_wm8776_volume
	.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
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movl	(%rax), %edx
	movl	4(%rax), %r15d
	movq	(%r14), %rax
	movq	_WM8776_DACLVOL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	(%rax,%rsi,4), %ebx
	cmpl	%r15d, %edx
	jne	LBB0_4
## %bb.1:
	cmpl	%ebx, %edx
	jne	LBB0_3
## %bb.2:
	movq	_WM8776_DACRVOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rax,%rcx,4), %edx
	je	LBB0_9
LBB0_3:
	movq	_WM8776_DACMASTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_WM8776_UPDATE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_wm8776_write
	movq	(%r13), %rax
	movl	(%rax), %ecx
	movq	(%r14), %rdx
	movq	(%r12), %rsi
	movl	%ecx, (%rdx,%rsi,4)
	movl	(%rax), %eax
	movq	_WM8776_DACRVOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rdx,%rcx,4)
	jmp	LBB0_9
LBB0_4:
	cmpl	%ebx, %edx
	je	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	cmpl	%ebx, %r15d
	jne	LBB0_7
## %bb.6:
	movq	_WM8776_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%edx, %eax
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_wm8776_write
LBB0_8:
	cmpl	%ebx, %r15d
	jne	LBB0_10
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_WM8776_DACRVOL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r13), %rax
	movq	_WM8776_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	4(%rax), %edx
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm8776_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8776_DACLVOL,8,3             ## @WM8776_DACLVOL
	.comm	_WM8776_DACRVOL,8,3             ## @WM8776_DACRVOL
	.comm	_WM8776_DACMASTER,8,3           ## @WM8776_DACMASTER
	.comm	_WM8776_UPDATE,4,2              ## @WM8776_UPDATE
	.no_dead_strip	_update_wm8776_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_wm8776_volume
_update_wm8776_volume:                  ; @update_wm8776_volume
	.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, x0
	ldp	x9, x20, [x0]
	ldp	w8, w22, [x9]
	ldr	x9, [x20]
Lloh0:
	adrp	x21, _WM8776_DACLVOL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8776_DACLVOL@GOTPAGEOFF]
	ldr	x1, [x21]
	ldr	w23, [x9, x1, lsl #2]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.1:
	cmp	w8, w23
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x10, _WM8776_DACRVOL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WM8776_DACRVOL@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w8, w9
	b.eq	LBB0_7
LBB0_3:
Lloh5:
	adrp	x9, _WM8776_DACMASTER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM8776_DACMASTER@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x9]
Lloh8:
	adrp	x9, _WM8776_UPDATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM8776_UPDATE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wm8776_write
	ldr	x8, [x19]
	ldr	w9, [x8]
	ldr	x10, [x20]
	ldr	x11, [x21]
	str	w9, [x10, x11, lsl #2]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _WM8776_DACRVOL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WM8776_DACRVOL@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	w8, [x10, x9, lsl #2]
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x20, _WM8776_UPDATE@GOTPAGE
Lloh15:
	ldr	x20, [x20, _WM8776_UPDATE@GOTPAGEOFF]
	cmp	w8, w23
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x20]
	cmp	w22, w23
	csel	w9, w9, wzr, eq
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wm8776_write
LBB0_6:
	cmp	w22, w23
	b.ne	LBB0_8
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh16:
	adrp	x8, _WM8776_DACRVOL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WM8776_DACRVOL@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	ldr	w9, [x20]
	orr	w2, w9, w8
	mov	x0, x19
	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
	b	_wm8776_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8776_DACLVOL,8,3             ; @WM8776_DACLVOL
	.comm	_WM8776_DACRVOL,8,3             ; @WM8776_DACRVOL
	.comm	_WM8776_DACMASTER,8,3           ; @WM8776_DACMASTER
	.comm	_WM8776_UPDATE,4,2              ; @WM8776_UPDATE
	.no_dead_strip	_update_wm8776_volume
.subsections_via_symbols
