	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_msndmix_volume_put
_snd_msndmix_volume_put:                ## @snd_msndmix_volume_put
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movslq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movslq	(%rax), %r12
	imulq	$680390859, %r12, %rcx          ## imm = 0x288DF0CB
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$36, %rcx
	addl	%edx, %ecx
	imull	$101, %ecx, %ecx
	subl	%ecx, %r12d
	movslq	4(%rax), %rbx
	imulq	$680390859, %rbx, %rax          ## imm = 0x288DF0CB
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	imull	$101, %eax, %eax
	subl	%eax, %ebx
	leaq	16(%r15), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%r15), %rax
	movl	$1, %r14d
	cmpl	%r12d, (%rax,%rsi,4)
	jne	LBB0_2
## %bb.1:
	movq	8(%r15), %rax
	xorl	%r14d, %r14d
	cmpl	%ebx, (%rax,%rsi,4)
	setne	%r14b
LBB0_2:
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_snd_msndmix_set
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_msndmix_volume_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_msndmix_volume_put
_snd_msndmix_volume_put:                ; @snd_msndmix_volume_put
	.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	x21, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldrsw	x20, [x20]
	ldr	x8, [x21]
	mov	w9, #61643
	movk	w9, #10381, lsl #16
	ldpsw	x10, x8, [x8]
	mul	x11, x10, x9
	lsr	x12, x11, #63
	asr	x11, x11, #36
	add	w11, w11, w12
	mov	w12, #101
	msub	w21, w11, w12, w10
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #36
	add	w9, w9, w10
	msub	w23, w9, w12, w8
	add	x22, x0, #16
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
	ldr	w8, [x8, x20, lsl #2]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	cmp	w8, w23
	cset	w24, ne
	b	LBB0_3
LBB0_2:
	mov	w24, #1
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_snd_msndmix_set
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x24
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_msndmix_volume_put
.subsections_via_symbols
