	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ac97_prepare
_ac97_prepare:                          ## @ac97_prepare
	.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), %rax
	movq	(%rdi), %rdx
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_AC97_PCM_FRONT_DAC_RATE@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_AC97_PCM_LR_ADC_RATE@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rdx), %esi
	movl	(%rcx), %edi
	movl	(%rax), %edx
	popq	%rbp
	jmp	_snd_ac97_set_rate              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_AC97_PCM_FRONT_DAC_RATE,4,2    ## @AC97_PCM_FRONT_DAC_RATE
	.comm	_AC97_PCM_LR_ADC_RATE,4,2       ## @AC97_PCM_LR_ADC_RATE
	.no_dead_strip	_ac97_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ac97_prepare
_ac97_prepare:                          ; @ac97_prepare
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0, #8]
	ldr	x10, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
Lloh0:
	adrp	x11, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _AC97_PCM_FRONT_DAC_RATE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _AC97_PCM_FRONT_DAC_RATE@GOTPAGEOFF]
Lloh5:
	adrp	x13, _AC97_PCM_LR_ADC_RATE@GOTPAGE
Lloh6:
	ldr	x13, [x13, _AC97_PCM_LR_ADC_RATE@GOTPAGEOFF]
	cmp	x10, x11
	csel	x10, x12, x13, eq
	ldr	w1, [x10]
	ldr	w0, [x9]
	ldr	w2, [x8]
	b	_snd_ac97_set_rate
	.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_PCM_FRONT_DAC_RATE,4,2    ; @AC97_PCM_FRONT_DAC_RATE
	.comm	_AC97_PCM_LR_ADC_RATE,4,2       ; @AC97_PCM_LR_ADC_RATE
	.no_dead_strip	_ac97_prepare
.subsections_via_symbols
