	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6105_hw_params
_s6105_hw_params:                       ## @s6105_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rbx
	movq	_SND_SOC_DAIFMT_I2S@GOTPCREL(%rip), %rax
	movq	_SND_SOC_DAIFMT_CBM_CFM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_dai_set_fmt
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	_SND_SOC_DAIFMT_NB_NF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movq	%r14, %rdi
	callq	_snd_soc_dai_set_fmt
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_S6105_CAM_CODEC_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SND_SOC_CLOCK_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_snd_soc_dai_set_sysclk
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	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_CBM_CFM,4,2     ## @SND_SOC_DAIFMT_CBM_CFM
	.comm	_SND_SOC_DAIFMT_NB_NF,4,2       ## @SND_SOC_DAIFMT_NB_NF
	.comm	_S6105_CAM_CODEC_CLOCK,4,2      ## @S6105_CAM_CODEC_CLOCK
	.comm	_SND_SOC_CLOCK_OUT,4,2          ## @SND_SOC_CLOCK_OUT
	.no_dead_strip	_s6105_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6105_hw_params
_s6105_hw_params:                       ; @s6105_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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SND_SOC_DAIFMT_I2S@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SND_SOC_DAIFMT_I2S@GOTPAGEOFF]
	ldp	x20, x19, [x8]
Lloh2:
	ldr	w8, [x9]
Lloh3:
	adrp	x21, _SND_SOC_DAIFMT_CBM_CFM@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SND_SOC_DAIFMT_CBM_CFM@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_snd_soc_dai_set_fmt
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _SND_SOC_DAIFMT_NB_NF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SND_SOC_DAIFMT_NB_NF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_snd_soc_dai_set_fmt
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _S6105_CAM_CODEC_CLOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S6105_CAM_CODEC_CLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _SND_SOC_CLOCK_OUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SND_SOC_CLOCK_OUT@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_soc_dai_set_sysclk
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_3:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_SOC_DAIFMT_I2S,4,2         ; @SND_SOC_DAIFMT_I2S
	.comm	_SND_SOC_DAIFMT_CBM_CFM,4,2     ; @SND_SOC_DAIFMT_CBM_CFM
	.comm	_SND_SOC_DAIFMT_NB_NF,4,2       ; @SND_SOC_DAIFMT_NB_NF
	.comm	_S6105_CAM_CODEC_CLOCK,4,2      ; @S6105_CAM_CODEC_CLOCK
	.comm	_SND_SOC_CLOCK_OUT,4,2          ; @SND_SOC_CLOCK_OUT
	.no_dead_strip	_s6105_hw_params
.subsections_via_symbols
