	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vt1708_build_pcms
_vt1708_build_pcms:                     ## @vt1708_build_pcms
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	callq	_snd_hda_gen_build_pcms
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	cmpl	$285611784, (%rbx)              ## imm = 0x11061708
	jne	LBB0_9
## %bb.2:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	(%r14), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_HDA_PCM_TYPE_AUDIO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r9
	shlq	$4, %rax
	xorl	%edi, %edi
	movq	_SNDRV_PCM_FMTBIT_S16_LE@GOTPCREL(%rip), %r8
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rdi
	cmpq	%rdi, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%rdi), %rbx
	cmpl	$0, 4(%rbx,%rdx,8)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r9, (%rcx,%rdi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r8), %esi
	movl	%esi, (%rbx,%rdx,8)
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_HDA_PCM_TYPE_AUDIO,8,3         ## @HDA_PCM_TYPE_AUDIO
	.comm	_SNDRV_PCM_FMTBIT_S16_LE,4,2    ## @SNDRV_PCM_FMTBIT_S16_LE
	.no_dead_strip	_vt1708_build_pcms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vt1708_build_pcms
_vt1708_build_pcms:                     ; @vt1708_build_pcms
	.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, x0
	ldr	x20, [x0, #8]
	bl	_snd_hda_gen_build_pcms
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	w8, [x19]
	mov	w9, #5896
	movk	w9, #4358, lsl #16
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	x11, [x20]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	adrp	x10, _HDA_PCM_TYPE_AUDIO@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HDA_PCM_TYPE_AUDIO@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	add	x11, x11, #8
Lloh6:
	adrp	x12, _SNDRV_PCM_FMTBIT_S16_LE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _SNDRV_PCM_FMTBIT_S16_LE@GOTPAGEOFF]
	lsl	x13, x9, #3
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x11, #16
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11]
	add	x15, x14, x9, lsl #3
	ldr	w15, [x15, #4]
	cbz	w15, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x15, [x11, #-8]
	cmp	x15, x10
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w15, [x12]
	str	w15, [x14, x13]
	b	LBB0_4
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_HDA_PCM_TYPE_AUDIO,8,3         ; @HDA_PCM_TYPE_AUDIO
	.comm	_SNDRV_PCM_FMTBIT_S16_LE,4,2    ; @SNDRV_PCM_FMTBIT_S16_LE
	.no_dead_strip	_vt1708_build_pcms
.subsections_via_symbols
