	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slave_put
_slave_put:                             ## @slave_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_slave_init
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	movl	8(%r15), %r8d
	testl	%r8d, %r8d
	jle	LBB0_16
## %bb.2:
	movq	(%r15), %rax
	movq	(%r14), %rdx
	cmpl	$1, %r8d
	jne	LBB0_10
## %bb.3:
	xorl	%esi, %esi
	xorl	%edi, %edi
LBB0_4:
	testb	$1, %r8b
	je	LBB0_7
## %bb.5:
	movq	(%rdx,%rsi,8), %rcx
	cmpq	%rcx, (%rax,%rsi,8)
	je	LBB0_7
## %bb.6:
	movq	%rcx, (%rax,%rsi,8)
	movl	$1, %edi
LBB0_7:
	testl	%edi, %edi
	je	LBB0_16
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_slave_put_val
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$1, %eax
	cmovsl	%ecx, %eax
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%r8d, %ecx
	andl	$-2, %ecx
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %rcx
	je	LBB0_4
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rbx
	cmpq	%rbx, (%rax,%rsi,8)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, (%rax,%rsi,8)
	movl	$1, %edi
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%rdx,%rsi,8), %rbx
	cmpq	%rbx, 8(%rax,%rsi,8)
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, 8(%rax,%rsi,8)
	movl	$1, %edi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_slave_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slave_put
_slave_put:                             ; @slave_put
	.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, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	bl	_slave_init
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	w10, #0
	ldr	x9, [x20]
	ldr	x11, [x19]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #8
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9]
	ldr	x12, [x11]
	cmp	x13, x12
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x12, [x9]
	mov	w10, #1
	b	LBB0_3
LBB0_6:
	cbz	w10, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_slave_put_val
	cmp	w0, #0
	csinc	w0, w0, wzr, lt
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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	_slave_put
.subsections_via_symbols
