	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_efx_send_routing_get
_snd_emu10k1_efx_send_routing_get:      ## @snd_emu10k1_efx_send_routing_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	%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, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	16(%rax), %r12
	leaq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_snd_ctl_get_ioffidx
	movq	%rax, %rbx
	movq	8(%r14), %r13
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%r12,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	xorl	%edx, %edx
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	movl	$15, %ebx
	movl	$63, %esi
	cmovel	%ebx, %esi
	leaq	4(,%rdi,4), %r9
	je	LBB0_8
## %bb.1:
	movq	%rcx, %rdi
	subq	%rax, %rdi
	cmpq	$32, %rdi
	jb	LBB0_8
## %bb.2:
	movl	%r9d, %edx
	andl	$-8, %edx
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rdi
	movq	%rdi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rbx,4), %xmm1
	movdqu	16(%rax,%rbx,4), %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rbx,4)
	movdqu	%xmm2, 16(%rcx,%rbx,4)
	movdqu	32(%rax,%rbx,4), %xmm1
	movdqu	48(%rax,%rbx,4), %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, 32(%rcx,%rbx,4)
	movdqu	%xmm2, 48(%rcx,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rdi
	jne	LBB0_5
## %bb.6:
	testb	$1, %r8b
	jne	LBB0_7
	jmp	LBB0_9
LBB0_3:
	xorl	%ebx, %ebx
	testb	$1, %r8b
	je	LBB0_9
LBB0_7:
	movdqu	(%rax,%rbx,4), %xmm1
	movdqu	16(%rax,%rbx,4), %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rbx,4)
	movdqu	%xmm2, 16(%rcx,%rbx,4)
	jmp	LBB0_9
LBB0_8:
	movl	(%rax,%rdx,4), %edi
	andl	%esi, %edi
	movl	%edi, (%rcx,%rdx,4)
	movl	4(%rax,%rdx,4), %edi
	andl	%esi, %edi
	movl	%edi, 4(%rcx,%rdx,4)
	movl	8(%rax,%rdx,4), %edi
	andl	%esi, %edi
	movl	%edi, 8(%rcx,%rdx,4)
	movl	12(%rax,%rdx,4), %edi
	andl	%esi, %edi
	movl	%edi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
LBB0_9:
	cmpq	%rdx, %r9
	jne	LBB0_8
## %bb.10:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %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_emu10k1_efx_send_routing_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu10k1_efx_send_routing_get
_snd_emu10k1_efx_send_routing_get:      ; @snd_emu10k1_efx_send_routing_get
	.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	x20, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x22, [x0, #16]
	add	x1, x20, #8
	mov	x0, x21
	bl	_snd_ctl_get_ioffidx
	mov	x21, x0
	ldr	x23, [x19, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	w9, #63
	mov	w10, #15
	mov	w8, #8
	mov	w11, #4
	cmp	x23, #0
	csel	x8, x11, x8, eq
	csel	w9, w10, w9, eq
	ldr	x10, [x22, x21, lsl #3]
	ldr	x10, [x10]
	ldr	x11, [x20]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	and	w12, w12, w9
	str	w12, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	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_emu10k1_efx_send_routing_get
.subsections_via_symbols
