	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs5535audio_playback_open
_snd_cs5535audio_playback_open:         ## @snd_cs5535audio_playback_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_snd_pcm_substream_chip
	movq	%rax, %r14
	movq	(%r15), %rbx
	movq	_snd_cs5535audio_playback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_AC97_RATES_FRONT_DAC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_snd_pcm_limit_hw_rates
	movq	%r15, 8(%r14)
	movq	_CS5535AUDIO_DMA_PLAYBACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	_SNDRV_PCM_HW_PARAM_PERIODS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_pcm_hw_constraint_integer
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_cs5535audio_playback,4,2   ## @snd_cs5535audio_playback
	.comm	_AC97_RATES_FRONT_DAC,8,3       ## @AC97_RATES_FRONT_DAC
	.comm	_CS5535AUDIO_DMA_PLAYBACK,8,3   ## @CS5535AUDIO_DMA_PLAYBACK
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ## @SNDRV_PCM_HW_PARAM_PERIODS
	.no_dead_strip	_snd_cs5535audio_playback_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs5535audio_playback_open
_snd_cs5535audio_playback_open:         ; @snd_cs5535audio_playback_open
	.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	x19, x0
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _snd_cs5535audio_playback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_cs5535audio_playback@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _AC97_RATES_FRONT_DAC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97_RATES_FRONT_DAC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x21, #8]
	mov	x0, x21
	bl	_snd_pcm_limit_hw_rates
	str	x19, [x20, #8]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _CS5535AUDIO_DMA_PLAYBACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CS5535AUDIO_DMA_PLAYBACK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	str	x8, [x21]
Lloh9:
	adrp	x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_snd_pcm_hw_constraint_integer
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_cs5535audio_playback,4,2   ; @snd_cs5535audio_playback
	.comm	_AC97_RATES_FRONT_DAC,8,3       ; @AC97_RATES_FRONT_DAC
	.comm	_CS5535AUDIO_DMA_PLAYBACK,8,3   ; @CS5535AUDIO_DMA_PLAYBACK
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ; @SNDRV_PCM_HW_PARAM_PERIODS
	.no_dead_strip	_snd_cs5535audio_playback_open
.subsections_via_symbols
