	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imote2_asoc_hw_params
_imote2_asoc_hw_params:                 ## @imote2_asoc_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %r12
	movq	%rsi, %rdi
	callq	_params_rate
	xorl	%r15d, %r15d
	cmpl	$22049, %eax                    ## imm = 0x5621
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.4:
	cmpl	$47999, %eax                    ## imm = 0xBB7F
	jg	LBB0_8
## %bb.5:
	cmpl	$22050, %eax                    ## imm = 0x5622
	je	LBB0_7
## %bb.6:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	je	LBB0_7
	jmp	LBB0_11
LBB0_1:
	cmpl	$8000, %eax                     ## imm = 0x1F40
	je	LBB0_10
## %bb.2:
	cmpl	$11025, %eax                    ## imm = 0x2B11
	je	LBB0_7
## %bb.3:
	cmpl	$16000, %eax                    ## imm = 0x3E80
	je	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movl	$11289600, %r15d                ## imm = 0xAC4400
	jmp	LBB0_11
LBB0_8:
	cmpl	$96000, %eax                    ## imm = 0x17700
	je	LBB0_10
## %bb.9:
	cmpl	$48000, %eax                    ## imm = 0xBB80
	jne	LBB0_11
LBB0_10:
	movl	$12288000, %r15d                ## imm = 0xBB8000
LBB0_11:
	movq	_SND_SOC_DAIFMT_I2S@GOTPCREL(%rip), %r13
	movq	_SND_SOC_DAIFMT_NB_NF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	(%r13), %esi
	movq	_SND_SOC_DAIFMT_CBS_CFS@GOTPCREL(%rip), %r14
	orl	(%r14), %esi
	movq	%r12, %rdi
	callq	_snd_soc_dai_set_fmt
	testl	%eax, %eax
	js	LBB0_14
## %bb.12:
	movl	(%rbx), %esi
	orl	(%r13), %esi
	orl	(%r14), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_snd_soc_dai_set_fmt
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	movq	_SND_SOC_CLOCK_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_snd_soc_dai_set_sysclk
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movq	_PXA2XX_I2S_SYSCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SND_SOC_CLOCK_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_dai_set_sysclk         ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_SOC_DAIFMT_I2S,4,2         ## @SND_SOC_DAIFMT_I2S
	.comm	_SND_SOC_DAIFMT_NB_NF,4,2       ## @SND_SOC_DAIFMT_NB_NF
	.comm	_SND_SOC_DAIFMT_CBS_CFS,4,2     ## @SND_SOC_DAIFMT_CBS_CFS
	.comm	_SND_SOC_CLOCK_IN,4,2           ## @SND_SOC_CLOCK_IN
	.comm	_PXA2XX_I2S_SYSCLK,4,2          ## @PXA2XX_I2S_SYSCLK
	.comm	_SND_SOC_CLOCK_OUT,4,2          ## @SND_SOC_CLOCK_OUT
	.no_dead_strip	_imote2_asoc_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imote2_asoc_hw_params
_imote2_asoc_hw_params:                 ; @imote2_asoc_hw_params
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldp	x19, x21, [x8]
	mov	x0, x1
	bl	_params_rate
	mov	w20, #0
	mov	w8, #22049
	cmp	w0, w8
	b.le	LBB0_4
; %bb.1:
	mov	w8, #47999
	cmp	w0, w8
	b.gt	LBB0_8
; %bb.2:
	mov	w8, #22050
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.3:
	mov	w8, #44100
	cmp	w0, w8
	b.eq	LBB0_7
	b	LBB0_11
LBB0_4:
	mov	w8, #8000
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.5:
	mov	w8, #11025
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w8, #16000
	cmp	w0, w8
	b.eq	LBB0_10
	b	LBB0_11
LBB0_7:
	mov	w20, #17408
	movk	w20, #172, lsl #16
	b	LBB0_11
LBB0_8:
	mov	w8, #30464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.9:
	mov	w8, #48000
	cmp	w0, w8
	b.ne	LBB0_11
LBB0_10:
	mov	w20, #32768
	movk	w20, #187, lsl #16
LBB0_11:
Lloh0:
	adrp	x22, _SND_SOC_DAIFMT_I2S@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SND_SOC_DAIFMT_I2S@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _SND_SOC_DAIFMT_NB_NF@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SND_SOC_DAIFMT_NB_NF@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh4:
	adrp	x24, _SND_SOC_DAIFMT_CBS_CFS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SND_SOC_DAIFMT_CBS_CFS@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w8, w9
	mov	x0, x21
	bl	_snd_soc_dai_set_fmt
	tbnz	w0, #31, LBB0_15
; %bb.12:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_snd_soc_dai_set_fmt
	tbnz	w0, #31, LBB0_15
; %bb.13:
Lloh6:
	adrp	x8, _SND_SOC_CLOCK_IN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SND_SOC_CLOCK_IN@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_snd_soc_dai_set_sysclk
	tbnz	w0, #31, LBB0_15
; %bb.14:
Lloh9:
	adrp	x8, _PXA2XX_I2S_SYSCLK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PXA2XX_I2S_SYSCLK@GOTPAGEOFF]
Lloh11:
	adrp	x9, _SND_SOC_CLOCK_OUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SND_SOC_CLOCK_OUT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_snd_soc_dai_set_sysclk
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_SOC_DAIFMT_I2S,4,2         ; @SND_SOC_DAIFMT_I2S
	.comm	_SND_SOC_DAIFMT_NB_NF,4,2       ; @SND_SOC_DAIFMT_NB_NF
	.comm	_SND_SOC_DAIFMT_CBS_CFS,4,2     ; @SND_SOC_DAIFMT_CBS_CFS
	.comm	_SND_SOC_CLOCK_IN,4,2           ; @SND_SOC_CLOCK_IN
	.comm	_PXA2XX_I2S_SYSCLK,4,2          ; @PXA2XX_I2S_SYSCLK
	.comm	_SND_SOC_CLOCK_OUT,4,2          ; @SND_SOC_CLOCK_OUT
	.no_dead_strip	_imote2_asoc_hw_params
.subsections_via_symbols
