	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_ac97_pcm_startup
_pxa2xx_ac97_pcm_startup:               ## @pxa2xx_ac97_pcm_startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movabsq	$8589934594, %rax               ## imm = 0x200000002
	movq	%rax, (%rdi)
	movq	(%rbx), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	movq	_pxa2xx_ac97_ac97@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_AC97_RATES_FRONT_DAC@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_AC97_RATES_ADC@GOTPCREL(%rip), %rcx
LBB0_3:
	movslq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 8(%rdi)
	callq	_snd_pcm_limit_hw_rates
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_AC97_RATES_FRONT_DAC,4,2       ## @AC97_RATES_FRONT_DAC
	.comm	_AC97_RATES_ADC,4,2             ## @AC97_RATES_ADC
	.comm	_pxa2xx_ac97_ac97,8,3           ## @pxa2xx_ac97_ac97
	.no_dead_strip	_pxa2xx_ac97_pcm_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_ac97_pcm_startup
_pxa2xx_ac97_pcm_startup:               ; @pxa2xx_ac97_pcm_startup
	.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	x19, x0
	ldr	x0, [x0, #16]
	movi.2s	v0, #2
	str	d0, [x0]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _AC97_RATES_FRONT_DAC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AC97_RATES_FRONT_DAC@GOTPAGEOFF]
Lloh5:
	adrp	x11, _AC97_RATES_ADC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AC97_RATES_ADC@GOTPAGEOFF]
Lloh7:
	adrp	x12, _pxa2xx_ac97_ac97@GOTPAGE
Lloh8:
	ldr	x12, [x12, _pxa2xx_ac97_ac97@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x12]
	ldr	x12, [x12]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldrsw	x8, [x8]
	ldr	w8, [x12, x8, lsl #2]
	str	w8, [x0, #8]
	bl	_snd_pcm_limit_hw_rates
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x2, [x8]
	cbz	x2, LBB0_3
; %bb.2:
	ldr	w1, [x8, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_AC97_RATES_FRONT_DAC,4,2       ; @AC97_RATES_FRONT_DAC
	.comm	_AC97_RATES_ADC,4,2             ; @AC97_RATES_ADC
	.comm	_pxa2xx_ac97_ac97,8,3           ; @pxa2xx_ac97_ac97
	.no_dead_strip	_pxa2xx_ac97_pcm_startup
.subsections_via_symbols
