	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_multi_out_analog_open  ## -- Begin function snd_hda_multi_out_analog_open
	.p2align	4, 0x90
_snd_hda_multi_out_analog_open:         ## @snd_hda_multi_out_analog_open
	.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, %rbx
	movq	(%rdx), %r13
	movl	48(%rsi), %eax
	movl	%eax, 8(%r13)
	movq	40(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	(%rbx), %eax
	testl	%eax, %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movl	%eax, (%r13)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r13)
	movq	8(%rbx), %rax
	movq	%rax, 8(%rcx)
	jmp	LBB0_4
LBB0_2:
	movl	(%rcx), %eax
	movl	%eax, (%rbx)
	movl	4(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rcx), %rax
	movq	%rax, 8(%rbx)
LBB0_4:
	leaq	16(%rbx), %r12
	cmpl	$0, 16(%rbx)
	jne	LBB0_6
## %bb.5:
	leaq	20(%rbx), %rcx
	leaq	24(%rbx), %r8
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_snd_hda_query_supported_pcm
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 32(%rbx)
	je	LBB0_12
## %bb.7:
	movl	(%r12), %eax
	andl	(%r13), %eax
	je	LBB0_11
## %bb.8:
	movl	20(%rbx), %ecx
	andl	4(%r13), %ecx
	je	LBB0_11
## %bb.9:
	movl	%eax, (%r13)
	movl	%ecx, 4(%r13)
	movq	24(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	8(%rcx), %rax
	jge	LBB0_12
## %bb.10:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	jmp	LBB0_12
LBB0_11:
	movq	$0, 32(%rbx)
LBB0_12:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	(%r15), %r13
LBB0_13:
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$2, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_pcm_hw_constraint_step     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_multi_out_analog_open  ; -- Begin function snd_hda_multi_out_analog_open
	.p2align	2
_snd_hda_multi_out_analog_open:         ; @snd_hda_multi_out_analog_open
	.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	x23, x1
	ldr	x22, [x2]
	ldr	w8, [x1, #48]
	str	w8, [x22, #8]
	ldr	x1, [x1, #40]
	cbz	x1, LBB0_13
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w9, [x23, #4]
	stp	w8, w9, [x22]
	ldr	x8, [x23, #8]
	str	x8, [x21, #8]
	b	LBB0_4
LBB0_3:
	ldr	d0, [x21]
	str	d0, [x23]
	ldr	x8, [x21, #8]
	str	x8, [x23, #8]
LBB0_4:
	mov	x24, x23
	ldr	w8, [x24, #16]!
	cbnz	w8, LBB0_6
; %bb.5:
	add	x3, x23, #20
	add	x4, x23, #24
	mov	x0, x20
	mov	x2, x24
	bl	_snd_hda_query_supported_pcm
LBB0_6:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	w8, [x22]
	ldr	w9, [x24]
	ands	w8, w9, w8
	b.eq	LBB0_11
; %bb.8:
	ldr	w9, [x22, #4]
	ldr	w10, [x23, #20]
	ands	w9, w10, w9
	b.eq	LBB0_11
; %bb.9:
	stp	w8, w9, [x22]
	ldr	x8, [x23, #24]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.10:
	str	x8, [x21, #8]
	b	LBB0_12
LBB0_11:
	str	xzr, [x23, #32]
LBB0_12:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	x22, [x19]
LBB0_13:
Lloh0:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	mov	w3, #2
	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
	b	_snd_pcm_hw_constraint_step
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
.subsections_via_symbols
