	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_key_press             ## -- Begin function snd_emux_key_press
	.p2align	4, 0x90
_snd_emux_key_press:                    ## @snd_emux_key_press
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	sete	%al
	testq	%rcx, %rcx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 16(%rbx)
	sete	%dil
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
LBB0_4:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	4(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	xorl	%r13d, %r13d
	movq	_SNDRV_EMUX_ST_ON@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$24, %r13
	cmpq	%rcx, %r15
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	(%rsi,%r13), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r12, 16(%rsi,%r13)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, 8(%rsi,%r13)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rsi,%r13)
	addq	%r13, %rsi
	movq	_SNDRV_EMUX_UPDATE_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_update_voice
	movl	(%rbx), %eax
	jmp	LBB0_11
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_EMUX_ST_ON,8,3           ## @SNDRV_EMUX_ST_ON
	.comm	_SNDRV_EMUX_UPDATE_VOLUME,4,2   ## @SNDRV_EMUX_UPDATE_VOLUME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_key_press             ; -- Begin function snd_emux_key_press
	.p2align	2
_snd_emux_key_press:                    ; @snd_emux_key_press
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x0, #0
	ccmp	x3, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x22, [x22]
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w8, [x22, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
LBB0_5:
	add	x23, x22, #4
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x24, #0
	mov	x25, #0
Lloh0:
	adrp	x26, _SNDRV_EMUX_ST_ON@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SNDRV_EMUX_ST_ON@GOTPAGEOFF]
Lloh2:
	adrp	x27, _SNDRV_EMUX_UPDATE_VOLUME@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SNDRV_EMUX_UPDATE_VOLUME@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	add	x24, x24, #24
	cmp	x25, w8, sxtw
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	add	x1, x9, x24
	ldr	x10, [x1]
	ldr	x11, [x26]
	cmp	x10, x11
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x1, #16]
	cmp	x10, x19
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, x24
	ldr	w10, [x9, #8]
	cmp	w10, w21
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	str	w20, [x9, #12]
	ldr	w2, [x27]
	mov	x0, x22
	bl	_update_voice
	ldr	w8, [x22]
	b	LBB0_7
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_EMUX_ST_ON,8,3           ; @SNDRV_EMUX_ST_ON
	.comm	_SNDRV_EMUX_UPDATE_VOLUME,4,2   ; @SNDRV_EMUX_UPDATE_VOLUME
.subsections_via_symbols
