	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad198x_build_pcms
_ad198x_build_pcms:                     ## @ad198x_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
	movq	16(%rdi), %r10
	movq	48(%r10), %rcx
	movl	$1, (%rdi)
	movq	%rcx, 8(%rdi)
	leaq	L_.str(%rip), %rdx
	movq	%rdx, (%rcx)
	movq	8(%rcx), %r9
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	shlq	$4, %rdx
	movq	_ad198x_pcm_analog_playback@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, (%r9,%rdx)
	movl	24(%r10), %r9d
	movq	8(%rcx), %rsi
	movq	(%r8), %rdx
	shlq	$4, %rdx
	movl	%r9d, 12(%rsi,%rdx)
	movq	16(%r10), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi,%rdx)
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %r9
	movq	(%r9), %rax
	shlq	$4, %rax
	movq	_ad198x_pcm_analog_capture@GOTPCREL(%rip), %rdx
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rsi,%rax)
	movl	40(%r10), %eax
	movq	8(%rcx), %rdx
	movq	(%r9), %rsi
	shlq	$4, %rsi
	movl	%eax, 8(%rdx,%rsi)
	movq	32(%r10), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx,%rsi)
	cmpq	$0, 8(%r10)
	je	LBB0_3
## %bb.1:
	incl	(%rdi)
	movl	$1, 4(%rdi)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 24(%rcx)
	movq	_HDA_PCM_TYPE_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rcx)
	movq	32(%rcx), %rax
	movq	(%r8), %rdx
	shlq	$4, %rdx
	movq	_ad198x_pcm_digital_playback@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, (%rax,%rdx)
	movq	8(%r10), %rax
	movq	32(%rcx), %rdi
	movq	(%r8), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rdi,%rdx)
	cmpq	$0, (%r10)
	je	LBB0_3
## %bb.2:
	movq	(%r9), %rax
	shlq	$4, %rax
	movq	_ad198x_pcm_digital_capture@GOTPCREL(%rip), %rdx
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rdi,%rax)
	movq	(%r10), %rax
	movq	32(%rcx), %rcx
	movq	(%r9), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rcx,%rdx)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AD198x Analog"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_ad198x_pcm_analog_playback,16,3 ## @ad198x_pcm_analog_playback
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_ad198x_pcm_analog_capture,16,3 ## @ad198x_pcm_analog_capture
L_.str.1:                               ## @.str.1
	.asciz	"AD198x Digital"

	.comm	_HDA_PCM_TYPE_SPDIF,4,2         ## @HDA_PCM_TYPE_SPDIF
	.comm	_ad198x_pcm_digital_playback,16,3 ## @ad198x_pcm_digital_playback
	.comm	_ad198x_pcm_digital_capture,16,3 ## @ad198x_pcm_digital_capture
	.no_dead_strip	_ad198x_build_pcms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad198x_build_pcms
_ad198x_build_pcms:                     ; @ad198x_build_pcms
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x9, [x8, #48]
	mov	w12, #1
	str	w12, [x0]
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
	str	x9, [x0, #8]
	str	x10, [x9]
	ldr	x10, [x9, #8]
Lloh2:
	adrp	x11, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
	ldr	x13, [x11]
Lloh4:
	adrp	x14, _ad198x_pcm_analog_playback@GOTPAGE
Lloh5:
	ldr	x14, [x14, _ad198x_pcm_analog_playback@GOTPAGEOFF]
Lloh6:
	ldr	q0, [x14]
	str	q0, [x10, x13, lsl #4]
	ldr	w10, [x8, #24]
	ldr	x13, [x9, #8]
	ldr	x14, [x11]
	add	x14, x13, x14, lsl #4
	str	w10, [x14, #12]
	ldr	x10, [x8, #16]
	ldr	x10, [x10]
	str	x10, [x14]
Lloh7:
	adrp	x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
	ldr	x14, [x10]
Lloh9:
	adrp	x15, _ad198x_pcm_analog_capture@GOTPAGE
Lloh10:
	ldr	x15, [x15, _ad198x_pcm_analog_capture@GOTPAGEOFF]
Lloh11:
	ldr	q0, [x15]
	str	q0, [x13, x14, lsl #4]
	ldr	w13, [x8, #40]
	ldr	x14, [x9, #8]
	ldr	x15, [x10]
	add	x14, x14, x15, lsl #4
	str	w13, [x14, #8]
	ldr	x13, [x8, #32]
	ldr	x13, [x13]
	str	x13, [x14]
	ldr	x13, [x8, #8]
	cbz	x13, LBB0_3
; %bb.1:
	ldr	w13, [x0]
	add	w13, w13, #1
	stp	w13, w12, [x0]
Lloh12:
	adrp	x12, l_.str.1@PAGE
Lloh13:
	add	x12, x12, l_.str.1@PAGEOFF
	str	x12, [x9, #24]
Lloh14:
	adrp	x12, _HDA_PCM_TYPE_SPDIF@GOTPAGE
Lloh15:
	ldr	x12, [x12, _HDA_PCM_TYPE_SPDIF@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	str	w12, [x9, #40]
	ldr	x12, [x9, #32]
	ldr	x13, [x11]
Lloh17:
	adrp	x14, _ad198x_pcm_digital_playback@GOTPAGE
Lloh18:
	ldr	x14, [x14, _ad198x_pcm_digital_playback@GOTPAGEOFF]
Lloh19:
	ldr	q0, [x14]
	str	q0, [x12, x13, lsl #4]
	ldr	x12, [x9, #32]
	ldr	x11, [x11]
	lsl	x11, x11, #4
	ldp	x14, x13, [x8]
	str	x13, [x12, x11]
	cbz	x14, LBB0_3
; %bb.2:
	ldr	x11, [x10]
Lloh20:
	adrp	x13, _ad198x_pcm_digital_capture@GOTPAGE
Lloh21:
	ldr	x13, [x13, _ad198x_pcm_digital_capture@GOTPAGEOFF]
Lloh22:
	ldr	q0, [x13]
	str	q0, [x12, x11, lsl #4]
	ldr	x8, [x8]
	ldr	x9, [x9, #32]
	ldr	x10, [x10]
	lsl	x10, x10, #4
	str	x8, [x9, x10]
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AD198x Analog"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_ad198x_pcm_analog_playback,16,3 ; @ad198x_pcm_analog_playback
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_ad198x_pcm_analog_capture,16,3 ; @ad198x_pcm_analog_capture
l_.str.1:                               ; @.str.1
	.asciz	"AD198x Digital"

	.comm	_HDA_PCM_TYPE_SPDIF,4,2         ; @HDA_PCM_TYPE_SPDIF
	.comm	_ad198x_pcm_digital_playback,16,3 ; @ad198x_pcm_digital_playback
	.comm	_ad198x_pcm_digital_capture,16,3 ; @ad198x_pcm_digital_capture
	.no_dead_strip	_ad198x_build_pcms
.subsections_via_symbols
