	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs46xx_playback_hw_params
_snd_cs46xx_playback_hw_params:         ## @snd_cs46xx_playback_hw_params
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	24(%rbx), %r12
	movq	%rsi, %rdi
	callq	_params_periods
	movq	_CS46XX_FRAGS@GOTPCREL(%rip), %rsi
	movq	16(%rbx), %rcx
	movq	8(%r12), %rdx
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	%rdx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_snd_pcm_lib_free_pages
	movq	8(%r12), %rcx
LBB0_3:
	movq	%rcx, 16(%rbx)
	movups	16(%r12), %xmm0
	movups	%xmm0, (%rbx)
	movq	_snd_cs46xx_playback_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.5:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	_params_buffer_bytes
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_pcm_lib_malloc_pages
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_snd_cs46xx_playback_indirect_ops@GOTPCREL(%rip), %rax
LBB0_8:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS46XX_FRAGS,8,3               ## @CS46XX_FRAGS
	.comm	_snd_cs46xx_playback_ops,4,2    ## @snd_cs46xx_playback_ops
	.comm	_snd_cs46xx_playback_indirect_ops,4,2 ## @snd_cs46xx_playback_indirect_ops
	.comm	_DSP_IEC958_CHANNEL,8,3         ## @DSP_IEC958_CHANNEL
	.comm	_DSP_PCM_CENTER_LFE_CHANNEL,8,3 ## @DSP_PCM_CENTER_LFE_CHANNEL
	.comm	_DSP_PCM_MAIN_CHANNEL,8,3       ## @DSP_PCM_MAIN_CHANNEL
	.comm	_DSP_PCM_REAR_CHANNEL,8,3       ## @DSP_PCM_REAR_CHANNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_snd_cs46xx_playback_clfe_ops,4,2 ## @snd_cs46xx_playback_clfe_ops
	.comm	_snd_cs46xx_playback_iec958_ops,4,2 ## @snd_cs46xx_playback_iec958_ops
	.comm	_snd_cs46xx_playback_indirect_clfe_ops,4,2 ## @snd_cs46xx_playback_indirect_clfe_ops
	.comm	_snd_cs46xx_playback_indirect_iec958_ops,4,2 ## @snd_cs46xx_playback_indirect_iec958_ops
	.comm	_snd_cs46xx_playback_indirect_rear_ops,4,2 ## @snd_cs46xx_playback_indirect_rear_ops
	.comm	_snd_cs46xx_playback_rear_ops,4,2 ## @snd_cs46xx_playback_rear_ops
	.no_dead_strip	_snd_cs46xx_playback_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs46xx_playback_hw_params
_snd_cs46xx_playback_hw_params:         ; @snd_cs46xx_playback_hw_params
	.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, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x22, [x21, #24]
	mov	x0, x1
	bl	_params_periods
Lloh0:
	adrp	x8, _CS46XX_FRAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS46XX_FRAGS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x21, #16]
	ldr	x9, [x22, #8]
	cmp	x0, x10
	b.ne	LBB0_4
; %bb.1:
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_snd_pcm_lib_free_pages
	ldr	x8, [x22, #8]
LBB0_3:
	str	x8, [x21, #16]
	ldr	q0, [x22, #16]
	str	q0, [x21]
Lloh3:
	adrp	x8, _snd_cs46xx_playback_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_cs46xx_playback_ops@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	stp	xzr, xzr, [x21]
	str	xzr, [x21, #16]
LBB0_6:
	mov	x0, x20
	bl	_params_buffer_bytes
	mov	x1, x0
	mov	x0, x19
	bl	_snd_pcm_lib_malloc_pages
	tbnz	w0, #31, LBB0_9
; %bb.7:
Lloh5:
	adrp	x8, _snd_cs46xx_playback_indirect_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _snd_cs46xx_playback_indirect_ops@GOTPAGEOFF]
LBB0_8:
	mov	w0, #0
	str	x8, [x19]
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CS46XX_FRAGS,8,3               ; @CS46XX_FRAGS
	.comm	_snd_cs46xx_playback_ops,4,2    ; @snd_cs46xx_playback_ops
	.comm	_snd_cs46xx_playback_indirect_ops,4,2 ; @snd_cs46xx_playback_indirect_ops
	.comm	_DSP_IEC958_CHANNEL,8,3         ; @DSP_IEC958_CHANNEL
	.comm	_DSP_PCM_CENTER_LFE_CHANNEL,8,3 ; @DSP_PCM_CENTER_LFE_CHANNEL
	.comm	_DSP_PCM_MAIN_CHANNEL,8,3       ; @DSP_PCM_MAIN_CHANNEL
	.comm	_DSP_PCM_REAR_CHANNEL,8,3       ; @DSP_PCM_REAR_CHANNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_snd_cs46xx_playback_clfe_ops,4,2 ; @snd_cs46xx_playback_clfe_ops
	.comm	_snd_cs46xx_playback_iec958_ops,4,2 ; @snd_cs46xx_playback_iec958_ops
	.comm	_snd_cs46xx_playback_indirect_clfe_ops,4,2 ; @snd_cs46xx_playback_indirect_clfe_ops
	.comm	_snd_cs46xx_playback_indirect_iec958_ops,4,2 ; @snd_cs46xx_playback_indirect_iec958_ops
	.comm	_snd_cs46xx_playback_indirect_rear_ops,4,2 ; @snd_cs46xx_playback_indirect_rear_ops
	.comm	_snd_cs46xx_playback_rear_ops,4,2 ; @snd_cs46xx_playback_rear_ops
	.no_dead_strip	_snd_cs46xx_playback_hw_params
.subsections_via_symbols
