	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conexant_build_pcms
_conexant_build_pcms:                   ## @conexant_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	56(%r10), %rcx
	movl	$1, (%rdi)
	movq	%rcx, 8(%rdi)
	leaq	L_.str(%rip), %rdx
	movq	%rdx, (%rcx)
	movq	8(%rcx), %r8
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	shlq	$4, %rsi
	movq	_conexant_pcm_analog_playback@GOTPCREL(%rip), %rdx
	movups	(%rdx), %xmm0
	movups	%xmm0, (%r8,%rsi)
	movl	24(%r10), %r8d
	movq	8(%rcx), %rsi
	movq	(%r9), %rdx
	shlq	$4, %rdx
	movl	%r8d, 12(%rsi,%rdx)
	movq	16(%r10), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi,%rdx)
	movq	48(%r10), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rax
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rsi,%rax)
	jmp	LBB0_5
LBB0_2:
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	shlq	$4, %rax
	addq	%rax, %rsi
	cmpl	$351359057, 4(%rdi)             ## imm = 0x14F15051
	jne	LBB0_4
## %bb.3:
	movq	_cx5051_pcm_analog_capture@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%rsi)
	jmp	LBB0_5
LBB0_4:
	movq	_conexant_pcm_analog_capture@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%rsi)
	movl	40(%r10), %eax
	movq	8(%rcx), %rdx
	movq	(%r8), %rsi
	shlq	$4, %rsi
	movl	%eax, 8(%rdx,%rsi)
LBB0_5:
	movq	32(%r10), %rax
	movq	(%rax), %rax
	movq	8(%rcx), %rdx
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	shlq	$4, %rsi
	movq	%rax, (%rdx,%rsi)
	cmpq	$0, 8(%r10)
	je	LBB0_8
## %bb.6:
	incl	(%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	(%r9), %rdx
	shlq	$4, %rdx
	movq	_conexant_pcm_digital_playback@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, (%rax,%rdx)
	movq	8(%r10), %rax
	movq	32(%rcx), %rdi
	movq	(%r9), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rdi,%rdx)
	cmpq	$0, (%r10)
	je	LBB0_8
## %bb.7:
	movq	(%r8), %rax
	shlq	$4, %rax
	movq	_conexant_pcm_digital_capture@GOTPCREL(%rip), %rdx
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rdi,%rax)
	movq	(%r10), %rax
	movq	32(%rcx), %rcx
	movq	(%r8), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rcx,%rdx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CONEXANT Analog"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_conexant_pcm_analog_playback,16,3 ## @conexant_pcm_analog_playback
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_cx5051_pcm_analog_capture,16,3 ## @cx5051_pcm_analog_capture
	.comm	_conexant_pcm_analog_capture,16,3 ## @conexant_pcm_analog_capture
L_.str.1:                               ## @.str.1
	.asciz	"Conexant Digital"

	.comm	_HDA_PCM_TYPE_SPDIF,4,2         ## @HDA_PCM_TYPE_SPDIF
	.comm	_conexant_pcm_digital_playback,16,3 ## @conexant_pcm_digital_playback
	.comm	_conexant_pcm_digital_capture,16,3 ## @conexant_pcm_digital_capture
	.no_dead_strip	_conexant_build_pcms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conexant_build_pcms
_conexant_build_pcms:                   ; @conexant_build_pcms
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x9, [x8, #56]
	mov	w10, #1
	str	w10, [x0]
	str	x9, [x0, #8]
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
	str	x10, [x9]
	ldr	x11, [x9, #8]
Lloh2:
	adrp	x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
	ldr	x12, [x10]
Lloh4:
	adrp	x13, _conexant_pcm_analog_playback@GOTPAGE
Lloh5:
	ldr	x13, [x13, _conexant_pcm_analog_playback@GOTPAGEOFF]
Lloh6:
	ldr	q0, [x13]
	str	q0, [x11, x12, lsl #4]
	ldr	w11, [x8, #24]
	ldr	x12, [x9, #8]
	ldr	x13, [x10]
	add	x13, x12, x13, lsl #4
	str	w11, [x13, #12]
	ldr	x11, [x8, #16]
	ldr	x11, [x11]
	str	x11, [x13]
	ldr	x13, [x8, #48]
Lloh7:
	adrp	x11, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh8:
	ldr	x11, [x11, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
	cbz	x13, LBB0_2
; %bb.1:
	ldr	x14, [x11]
	ldr	q0, [x13]
	str	q0, [x12, x14, lsl #4]
	b	LBB0_5
LBB0_2:
	ldr	w13, [x0, #4]
	ldr	x14, [x11]
	add	x12, x12, x14, lsl #4
	mov	w14, #20561
	movk	w14, #5361, lsl #16
	cmp	w13, w14
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x13, _cx5051_pcm_analog_capture@GOTPAGE
Lloh10:
	ldr	x13, [x13, _cx5051_pcm_analog_capture@GOTPAGEOFF]
Lloh11:
	ldr	q0, [x13]
	str	q0, [x12]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x13, _conexant_pcm_analog_capture@GOTPAGE
Lloh13:
	ldr	x13, [x13, _conexant_pcm_analog_capture@GOTPAGEOFF]
Lloh14:
	ldr	q0, [x13]
	str	q0, [x12]
	ldr	w12, [x8, #40]
	ldr	x13, [x9, #8]
	ldr	x14, [x11]
	add	x13, x13, x14, lsl #4
	str	w12, [x13, #8]
LBB0_5:
	ldr	x12, [x8, #32]
	ldr	x12, [x12]
	ldr	x13, [x9, #8]
	ldr	x14, [x11]
	lsl	x14, x14, #4
	str	x12, [x13, x14]
	ldr	x12, [x8, #8]
	cbz	x12, LBB0_8
; %bb.6:
	ldr	w12, [x0]
	add	w12, w12, #1
	str	w12, [x0]
Lloh15:
	adrp	x12, l_.str.1@PAGE
Lloh16:
	add	x12, x12, l_.str.1@PAGEOFF
	str	x12, [x9, #24]
Lloh17:
	adrp	x12, _HDA_PCM_TYPE_SPDIF@GOTPAGE
Lloh18:
	ldr	x12, [x12, _HDA_PCM_TYPE_SPDIF@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	str	w12, [x9, #40]
	ldr	x12, [x9, #32]
	ldr	x13, [x10]
Lloh20:
	adrp	x14, _conexant_pcm_digital_playback@GOTPAGE
Lloh21:
	ldr	x14, [x14, _conexant_pcm_digital_playback@GOTPAGEOFF]
Lloh22:
	ldr	q0, [x14]
	str	q0, [x12, x13, lsl #4]
	ldr	x12, [x9, #32]
	ldr	x10, [x10]
	lsl	x10, x10, #4
	ldp	x14, x13, [x8]
	str	x13, [x12, x10]
	cbz	x14, LBB0_8
; %bb.7:
	ldr	x10, [x11]
Lloh23:
	adrp	x13, _conexant_pcm_digital_capture@GOTPAGE
Lloh24:
	ldr	x13, [x13, _conexant_pcm_digital_capture@GOTPAGEOFF]
Lloh25:
	ldr	q0, [x13]
	str	q0, [x12, x10, lsl #4]
	ldr	x8, [x8]
	ldr	x9, [x9, #32]
	ldr	x10, [x11]
	lsl	x10, x10, #4
	str	x8, [x9, x10]
LBB0_8:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CONEXANT Analog"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_conexant_pcm_analog_playback,16,3 ; @conexant_pcm_analog_playback
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_cx5051_pcm_analog_capture,16,3 ; @cx5051_pcm_analog_capture
	.comm	_conexant_pcm_analog_capture,16,3 ; @conexant_pcm_analog_capture
l_.str.1:                               ; @.str.1
	.asciz	"Conexant Digital"

	.comm	_HDA_PCM_TYPE_SPDIF,4,2         ; @HDA_PCM_TYPE_SPDIF
	.comm	_conexant_pcm_digital_playback,16,3 ; @conexant_pcm_digital_playback
	.comm	_conexant_pcm_digital_capture,16,3 ; @conexant_pcm_digital_capture
	.no_dead_strip	_conexant_build_pcms
.subsections_via_symbols
