	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pcm_default_values
_set_pcm_default_values:                ## @set_pcm_default_values
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	32(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	cmpl	$0, 48(%rbx)
	movl	44(%rbx), %eax
	je	LBB0_5
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_4
LBB0_5:
	leaq	48(%rbx), %rdx
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_4:
	leaq	44(%rbx), %rcx
LBB0_7:
	leaq	40(%rbx), %rax
	xorl	%r8d, %r8d
	cmpl	$0, 40(%rbx)
	cmoveq	%rax, %r8
	callq	_snd_hda_query_supported_pcm
	testl	%eax, %eax
	js	LBB0_8
LBB0_9:
	cmpq	$0, 24(%rbx)
	je	LBB0_10
## %bb.11:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
LBB0_13:
	cmpq	$0, 8(%rbx)
	jne	LBB0_17
	jmp	LBB0_14
LBB0_10:
	movq	_hda_pcm_default_open_close@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_13
LBB0_12:
	movq	_hda_pcm_default_open_close@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_17
LBB0_14:
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:
	movq	_hda_pcm_default_prepare@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_17:
	xorl	%r14d, %r14d
	cmpq	$0, (%rbx)
	jne	LBB0_20
## %bb.18:
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_19
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_20
LBB0_8:
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_19:
	movq	_hda_pcm_default_cleanup@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hda_pcm_default_open_close,8,3 ## @hda_pcm_default_open_close
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_hda_pcm_default_prepare,8,3    ## @hda_pcm_default_prepare
	.comm	_hda_pcm_default_cleanup,8,3    ## @hda_pcm_default_cleanup
	.no_dead_strip	_set_pcm_default_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pcm_default_values
_set_pcm_default_values:                ; @set_pcm_default_values
	.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
	ldr	x1, [x1, #32]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x2, x19
	ldr	w9, [x2, #48]!
	mov	x3, x2
	ldr	w8, [x3, #-4]!
	cbz	w9, LBB0_4
; %bb.2:
	cbnz	w8, LBB0_7
; %bb.3:
	mov	x2, #0
	b	LBB0_6
LBB0_4:
	cbz	w8, LBB0_6
; %bb.5:
	mov	x3, #0
LBB0_6:
	mov	x8, x19
	ldr	w9, [x8, #40]!
	cmp	w9, #0
	csel	x4, x8, xzr, eq
	bl	_snd_hda_query_supported_pcm
	tbnz	w0, #31, LBB0_19
LBB0_7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
LBB0_10:
	ldr	x8, [x19]
	cbz	x8, LBB0_16
LBB0_11:
	mov	w0, #0
	b	LBB0_19
LBB0_12:
Lloh0:
	adrp	x8, _hda_pcm_default_open_close@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hda_pcm_default_open_close@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_9
LBB0_13:
Lloh3:
	adrp	x8, _hda_pcm_default_open_close@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hda_pcm_default_open_close@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_10
LBB0_14:
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_17
; %bb.15:
Lloh6:
	adrp	x8, _hda_pcm_default_prepare@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hda_pcm_default_prepare@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
LBB0_16:
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_18
LBB0_17:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_18:
Lloh12:
	adrp	x8, _hda_pcm_default_cleanup@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hda_pcm_default_cleanup@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_hda_pcm_default_open_close,8,3 ; @hda_pcm_default_open_close
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_hda_pcm_default_prepare,8,3    ; @hda_pcm_default_prepare
	.comm	_hda_pcm_default_cleanup,8,3    ; @hda_pcm_default_cleanup
	.no_dead_strip	_set_pcm_default_values
.subsections_via_symbols
