	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msp_s_i2s_clock_freq
_msp_s_i2s_clock_freq:                  ## @msp_s_i2s_clock_freq
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_to_state
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_v4l2_get_subdevdata
	movq	_msp_debug@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	movl	$1, %esi
	movl	%r15d, %r8d
	callq	_dev_dbg_lvl
	cmpl	$2048000, %r15d                 ## imm = 0x1F4000
	je	LBB0_3
## %bb.1:
	cmpl	$1024000, %r15d                 ## imm = 0xFA000
	jne	LBB0_4
## %bb.2:
	movl	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msp_debug,4,2                  ## @msp_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting I2S speed to %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_msp_s_i2s_clock_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msp_s_i2s_clock_freq
_msp_s_i2s_clock_freq:                  ; @msp_s_i2s_clock_freq
	.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	x20, x1
	mov	x21, x0
	bl	_to_state
	mov	x19, x0
	mov	x0, x21
	bl	_v4l2_get_subdevdata
Lloh0:
	adrp	x8, _msp_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msp_debug@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w21, #1
	mov	w1, #1
	mov	x4, x20
	bl	_dev_dbg_lvl
	cmp	w20, #500, lsl #12              ; =2048000
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #250, lsl #12              ; =1024000
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	str	w21, [x19]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_msp_debug,4,2                  ; @msp_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting I2S speed to %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_msp_s_i2s_clock_freq
.subsections_via_symbols
