	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_pcm_playback_open
_vx_pcm_playback_open:                  ## @vx_pcm_playback_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	%rdi, %r12
	movq	8(%rdi), %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %r15
	movq	_VX_STAT_IS_STALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	(%r12), %rax
	movl	(%rax), %ebx
	addl	%ebx, %ebx
	xorl	%edi, %edi
	cmpl	4(%r15), %ebx
	setae	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%r15), %rax
	movl	%ebx, %r13d
	movq	(%rax,%r13,8), %rdi
	movq	%rdi, -48(%rbp)
	testq	%rdi, %rdi
	jne	LBB0_9
## %bb.6:
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	$2, %ecx
	callq	_vx_alloc_pipe
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rax
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	-48(%rbp), %rdi
LBB0_9:
	incl	16(%rdi)
	movq	%r12, 8(%rdi)
	movq	_vx_pcm_delayed_start@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	movq	-48(%rbp), %rax
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	_vx_pcm_playback_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	8(%r15), %eax
	movl	%eax, 8(%r14)
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	movq	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %ecx
	callq	_snd_pcm_hw_constraint_step
	movq	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %ecx
	callq	_snd_pcm_hw_constraint_step
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_VX_STAT_IS_STALE,4,2           ## @VX_STAT_IS_STALE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_vx_pcm_delayed_start,4,2       ## @vx_pcm_delayed_start
	.comm	_vx_pcm_playback_hw,4,2         ## @vx_pcm_playback_hw
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.comm	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_PERIOD_BYTES
	.no_dead_strip	_vx_pcm_playback_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_pcm_playback_open
_vx_pcm_playback_open:                  ; @vx_pcm_playback_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x0
	ldr	x19, [x0, #8]
	bl	_snd_pcm_substream_chip
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VX_STAT_IS_STALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VX_STAT_IS_STALE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x20, x0
	ldr	x8, [x21]
	ldr	w8, [x8]
	lsl	w22, w8, #1
	ldr	w8, [x0, #4]
	cmp	w22, w8
	cset	w0, hs
	bl	_snd_BUG_ON
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	x0, [x8, w22, uxtw #3]
	str	x0, [sp, #8]
	cbnz	x0, LBB0_9
; %bb.7:
	add	x4, sp, #8
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	w3, #2
	bl	_vx_alloc_pipe
	tbnz	w0, #31, LBB0_5
; %bb.8:
	ldr	x8, [sp, #8]
	ldr	x9, [x20, #16]
	str	x8, [x9, x22, lsl #3]
	ldr	x0, [sp, #8]
LBB0_9:
	ldr	w8, [x0, #16]
	add	w8, w8, #1
	str	w8, [x0, #16]
	str	x21, [x0, #8]
Lloh7:
	adrp	x8, _vx_pcm_delayed_start@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vx_pcm_delayed_start@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_tasklet_init
	ldr	x8, [sp, #8]
	ldr	x9, [x20, #16]
	str	x8, [x9, x22, lsl #3]
Lloh10:
	adrp	x8, _vx_pcm_playback_hw@GOTPAGE
Lloh11:
	ldr	x8, [x8, _vx_pcm_playback_hw@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh13:
	adrp	x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #4
	bl	_snd_pcm_hw_constraint_step
Lloh16:
	adrp	x8, _SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #4
	bl	_snd_pcm_hw_constraint_step
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VX_STAT_IS_STALE,4,2           ; @VX_STAT_IS_STALE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_vx_pcm_delayed_start,4,2       ; @vx_pcm_delayed_start
	.comm	_vx_pcm_playback_hw,4,2         ; @vx_pcm_playback_hw
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.comm	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_PERIOD_BYTES
	.no_dead_strip	_vx_pcm_playback_open
.subsections_via_symbols
