	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_pcm1796_volume
_update_pcm1796_volume:                 ## @update_pcm1796_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	movslq	4(%r15), %rbx
	cmpl	$0, (%r15)
	jne	LBB0_4
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	cmpl	$0, (%r15)
	je	LBB0_7
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax), %rcx
	addq	%rbx, %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_pcm1796_write_cached
	movq	(%r14), %rax
	addq	8(%rax), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$17, %edx
	movq	%rbx, %rcx
	callq	_pcm1796_write_cached
	cmpl	$2, (%r15)
	jb	LBB0_7
## %bb.5:
	movl	$1, %ebx
	movl	$3, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	leal	-1(%r12), %ecx
	movq	(%rax,%rcx,8), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$16, %edx
	callq	_pcm1796_write_cached
	movq	(%r14), %rax
	movl	%r12d, %ecx
	movq	(%rax,%rcx,8), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$17, %edx
	callq	_pcm1796_write_cached
	incq	%rbx
	movl	(%r15), %eax
	addl	$2, %r12d
	cmpq	%rax, %rbx
	jb	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_pcm1796_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_pcm1796_volume
_update_pcm1796_volume:                 ; @update_pcm1796_volume
	.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, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldrsw	x20, [x21, #4]
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
	b	LBB0_6
LBB0_2:
	mov	x20, #0
	ldr	w8, [x21]
	cbz	w8, LBB0_6
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x3, x8, x20
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_pcm1796_write_cached
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	add	x3, x8, x20
	mov	x0, x19
	mov	w1, #0
	mov	w2, #17
	bl	_pcm1796_write_cached
	ldr	w8, [x21]
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.4:
	mov	w22, #3
	mov	w20, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	sub	w9, w22, #1
	ldr	x3, [x8, w9, uxtw #3]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #16
	bl	_pcm1796_write_cached
	ldr	x8, [x19]
	ldr	x3, [x8, w22, uxtw #3]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #17
	bl	_pcm1796_write_cached
	add	x20, x20, #1
	ldr	w8, [x21]
	add	w22, w22, #2
	cmp	x20, x8
	b.lo	LBB0_5
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_pcm1796_volume
.subsections_via_symbols
