	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme96_apply_dac_volume
_snd_rme96_apply_dac_volume:            ## @snd_rme96_apply_dac_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_RME96_DAC_IS_1852
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	%rbx, %rdi
	callq	_snd_rme96_write_SPI
	movq	(%rbx), %rax
	movl	4(%rax), %eax
	leal	2(,%rax,4), %r14d
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_RME96_DAC_IS_1855
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rbx), %rax
	movl	$1023, %r14d                    ## imm = 0x3FF
	movl	(%rax), %esi
	andl	%r14d, %esi
	movq	%rbx, %rdi
	callq	_snd_rme96_write_SPI
	movq	(%rbx), %rax
	andl	4(%rax), %r14d
	orl	$1024, %r14d                    ## imm = 0x400
LBB0_4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_rme96_write_SPI            ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_rme96_apply_dac_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme96_apply_dac_volume
_snd_rme96_apply_dac_volume:            ; @snd_rme96_apply_dac_volume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_RME96_DAC_IS_1852
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	lsl	w1, w8, #2
	mov	x0, x19
	bl	_snd_rme96_write_SPI
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	mov	w1, #2
	bfi	w1, w8, #2, #30
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_RME96_DAC_IS_1855
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	w8, [x8]
	and	w1, w8, #0x3ff
	mov	x0, x19
	bl	_snd_rme96_write_SPI
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	mov	w1, #1024
	bfxil	w1, w8, #0, #10
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_rme96_write_SPI
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_rme96_apply_dac_volume
.subsections_via_symbols
