	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca0132_volume_get
_ca0132_volume_get:                     ## @ca0132_volume_get
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_get_amp_nid
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_get_amp_channels
	movq	(%r14), %rcx
	testb	$1, %al
	je	LBB0_2
## %bb.1:
	movq	_VNODE_START_NID@GOTPCREL(%rip), %rdx
	movq	%r15, %rsi
	subq	(%rdx), %rsi
	movq	(%r12), %rdx
	movq	(%rdx,%rsi,8), %rdx
	movq	%rdx, (%rcx)
	addq	$8, %rcx
LBB0_2:
	testb	$2, %al
	je	LBB0_4
## %bb.3:
	movq	8(%r12), %rax
	movq	_VNODE_START_NID@GOTPCREL(%rip), %rdx
	subq	(%rdx), %r15
	movq	(%rax,%r15,8), %rax
	movq	%rax, (%rcx)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VNODE_START_NID,8,3            ## @VNODE_START_NID
	.no_dead_strip	_ca0132_volume_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca0132_volume_get
_ca0132_volume_get:                     ; @ca0132_volume_get
	.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	x20, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	ldr	x22, [x0]
	mov	x0, x21
	bl	_get_amp_nid
	mov	x19, x0
	mov	x0, x21
	bl	_get_amp_channels
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _VNODE_START_NID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VNODE_START_NID@GOTPAGEOFF]
	tbz	w0, #0, LBB0_2
; %bb.1:
	ldr	x10, [x22]
	ldr	x11, [x9]
	sub	x11, x19, x11
	ldr	x10, [x10, x11, lsl #3]
	str	x10, [x8], #8
LBB0_2:
	tbz	w0, #1, LBB0_4
; %bb.3:
	ldr	x10, [x22, #8]
	ldr	x9, [x9]
	sub	x9, x19, x9
	ldr	x9, [x10, x9, lsl #3]
	str	x9, [x8]
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_VNODE_START_NID,8,3            ; @VNODE_START_NID
	.no_dead_strip	_ca0132_volume_get
.subsections_via_symbols
