	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_vt1724_playback_pro_open
_snd_vt1724_playback_pro_open:          ## @snd_vt1724_playback_pro_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	_vt1724_playback_pro_reg@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	%rbx, 16(%r12)
	movq	_snd_vt1724_playback_pro@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_snd_pcm_set_sync
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	movl	$24, %ecx
	callq	_snd_pcm_hw_constraint_msbits
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_set_rate_constraints
	leaq	4(%r12), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	(%r12), %eax
	cmpl	$3, %eax
	jle	LBB0_1
## %bb.2:
	shrl	%eax
	movq	8(%r12), %rcx
	decl	%eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_1:
	movl	$2, (%r15)
	jmp	LBB0_8
LBB0_5:
	movl	%edx, %eax
LBB0_6:
	addl	%eax, %eax
	addl	$2, %eax
	movl	%eax, (%r15)
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.7:
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$2, %ecx
	callq	_snd_pcm_hw_constraint_step
LBB0_8:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VT1724_BUFFER_ALIGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_step
	movq	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_step
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vt1724_playback_pro_reg,4,2    ## @vt1724_playback_pro_reg
	.comm	_snd_vt1724_playback_pro,4,2    ## @snd_vt1724_playback_pro
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_PERIOD_BYTES
	.comm	_VT1724_BUFFER_ALIGN,4,2        ## @VT1724_BUFFER_ALIGN
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.no_dead_strip	_snd_vt1724_playback_pro_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_vt1724_playback_pro_open
_snd_vt1724_playback_pro_open:          ; @snd_vt1724_playback_pro_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	ldr	x19, [x0]
	bl	_snd_pcm_substream_chip
	mov	x21, x0
Lloh0:
	adrp	x8, _vt1724_playback_pro_reg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vt1724_playback_pro_reg@GOTPAGEOFF]
	str	x8, [x19, #8]
	str	x20, [x0, #16]
Lloh2:
	adrp	x8, _snd_vt1724_playback_pro@GOTPAGE
Lloh3:
	ldr	x8, [x8, _snd_vt1724_playback_pro@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x20
	bl	_snd_pcm_set_sync
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	mov	w3, #24
	bl	_snd_pcm_hw_constraint_msbits
	mov	x0, x21
	mov	x1, x20
	bl	_set_rate_constraints
	add	x20, x21, #4
	mov	x0, x20
	bl	_mutex_lock
	ldr	w9, [x21]
	cmp	w9, #3
	b.le	LBB0_4
; %bb.1:
	mov	x8, #0
	lsr	w9, w9, #1
	ldr	x10, [x21, #8]
	sub	w9, w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x8, lsl #3]
	cbnz	x11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w8, #2
	str	w8, [x19]
	b	LBB0_8
LBB0_5:
	mov	x9, x8
LBB0_6:
	lsl	w8, w9, #1
	add	w8, w8, #2
	str	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #2
	bl	_snd_pcm_hw_constraint_step
LBB0_8:
	mov	x0, x20
	bl	_mutex_unlock
Lloh8:
	adrp	x8, _SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_PERIOD_BYTES@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x20, _VT1724_BUFFER_ALIGN@GOTPAGE
Lloh12:
	ldr	x20, [x20, _VT1724_BUFFER_ALIGN@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_step
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]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_step
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_vt1724_playback_pro_reg,4,2    ; @vt1724_playback_pro_reg
	.comm	_snd_vt1724_playback_pro,4,2    ; @snd_vt1724_playback_pro
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_PERIOD_BYTES
	.comm	_VT1724_BUFFER_ALIGN,4,2        ; @VT1724_BUFFER_ALIGN
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.no_dead_strip	_snd_vt1724_playback_pro_open
.subsections_via_symbols
