	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tas_snd_mixer_put
_tas_snd_mixer_put:                     ## @tas_snd_mixer_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r12
	movslq	(%rbx), %rbx
	leaq	16(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r12), %rcx
	movq	8(%r12), %rax
	movq	(%r15), %rdx
	movq	(%rdx), %rsi
	cmpq	%rsi, (%rcx,%rbx,8)
	jne	LBB0_2
## %bb.1:
	movq	(%rax,%rbx,8), %rdi
	xorl	%r15d, %r15d
	cmpq	8(%rdx), %rdi
	je	LBB0_4
LBB0_2:
	movq	%rsi, (%rcx,%rbx,8)
	movq	8(%rdx), %rcx
	movq	%rcx, (%rax,%rbx,8)
	movl	$1, %r15d
	cmpq	$0, 24(%r12)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_tas_set_mixer
LBB0_4:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tas_snd_mixer_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tas_snd_mixer_put
_tas_snd_mixer_put:                     ; @tas_snd_mixer_put
	.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	x21, x1
	mov	x19, x0
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldrsw	x22, [x19]
	add	x19, x0, #16
	mov	x0, x19
	bl	_mutex_lock
	ldp	x8, x9, [x20]
	ldr	x12, [x8, x22, lsl #3]
	ldr	x10, [x21]
	ldr	x11, [x10]
	cmp	x12, x11
	b.ne	LBB0_3
; %bb.1:
	ldr	x12, [x9, x22, lsl #3]
	ldr	x13, [x10, #8]
	cmp	x12, x13
	b.ne	LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_6
LBB0_3:
	lsl	x12, x22, #3
	str	x11, [x8, x12]
	ldr	x8, [x10, #8]
	str	x8, [x9, x12]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_tas_set_mixer
LBB0_5:
	mov	w20, #1
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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	_tas_snd_mixer_put
.subsections_via_symbols
