	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_new_spec
_via_new_spec:                          ## @via_new_spec
	.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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_snd_hda_gen_spec_init
	movq	%r14, %rdi
	callq	_get_codec_type
	movq	%rax, (%rbx)
	movq	_VT1708BCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_VT1708S@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rbx)
	movl	$1, 16(%rbx)
	movq	_via_playback_pcm_hook@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_VT1708BCE,8,3                  ## @VT1708BCE
	.comm	_VT1708S,8,3                    ## @VT1708S
	.comm	_via_playback_pcm_hook,4,2      ## @via_playback_pcm_hook
	.no_dead_strip	_via_new_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_new_spec
_via_new_spec:                          ; @via_new_spec
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	str	x19, [x20]
	add	x0, x19, #12
	bl	_snd_hda_gen_spec_init
	mov	x0, x20
	bl	_get_codec_type
	str	x0, [x19]
Lloh3:
	adrp	x8, _VT1708BCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VT1708BCE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _VT1708S@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VT1708S@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_3:
	movi.2s	v0, #1
	str	d0, [x19, #8]
	mov	w8, #1
Lloh9:
	adrp	x9, _via_playback_pcm_hook@GOTPAGE
Lloh10:
	ldr	x9, [x9, _via_playback_pcm_hook@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #16]
LBB0_4:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_VT1708BCE,8,3                  ; @VT1708BCE
	.comm	_VT1708S,8,3                    ; @VT1708S
	.comm	_via_playback_pcm_hook,4,2      ; @via_playback_pcm_hook
	.no_dead_strip	_via_new_spec
.subsections_via_symbols
