	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_oif_s_frame_interval
_s5c73m3_oif_s_frame_interval:          ## @s5c73m3_oif_s_frame_interval
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_oif_sd_to_s5c73m3
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_OIF_SOURCE_PAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_s5c73m3_dbg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r8d
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_v4l2_dbg
	movq	%r14, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___s5c73m3_set_frame_interval
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_s5c73m3_set_frame_rate
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movl	$1, (%r14)
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OIF_SOURCE_PAD,8,3             ## @OIF_SOURCE_PAD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_s5c73m3_dbg,4,2                ## @s5c73m3_dbg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting %d/%d frame interval\n"

	.no_dead_strip	_s5c73m3_oif_s_frame_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_oif_s_frame_interval
_s5c73m3_oif_s_frame_interval:          ; @s5c73m3_oif_s_frame_interval
	.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	x21, x1
	mov	x20, x0
	bl	_oif_sd_to_s5c73m3
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _OIF_SOURCE_PAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OIF_SOURCE_PAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _s5c73m3_dbg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s5c73m3_dbg@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w5, w4, [x21, #8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_v4l2_dbg
	add	x20, x19, #4
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x19
	mov	x1, x21
	bl	___s5c73m3_set_frame_interval
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_s5c73m3_set_frame_rate
	mov	x21, x0
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_7:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OIF_SOURCE_PAD,8,3             ; @OIF_SOURCE_PAD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_s5c73m3_dbg,4,2                ; @s5c73m3_dbg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting %d/%d frame interval\n"

	.no_dead_strip	_s5c73m3_oif_s_frame_interval
.subsections_via_symbols
