	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_oif_enum_frame_interval
_s5c73m3_oif_enum_frame_interval:       ## @s5c73m3_oif_enum_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	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	8(%rbx), %r12
	movq	_s5c73m3_intervals@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r12
	jae	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	cmpq	8(%rax,%rcx,8), %rdx
	jg	LBB0_5
## %bb.4:
	movq	24(%rbx), %rdx
	cmpq	16(%rax,%rcx,8), %rdx
	jle	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	movl	(%rax,%rcx,8), %eax
	movl	%eax, 32(%rbx)
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	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_intervals,8,3          ## @s5c73m3_intervals
	.no_dead_strip	_s5c73m3_oif_enum_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_enum_frame_interval
_s5c73m3_oif_enum_frame_interval:       ; @s5c73m3_oif_enum_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	x20, x2
	bl	_oif_sd_to_s5c73m3
	ldr	x8, [x20]
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_5
; %bb.1:
	mov	x19, x0
	ldr	x22, [x20, #8]
Lloh3:
	adrp	x21, _s5c73m3_intervals@GOTPAGE
Lloh4:
	ldr	x21, [x21, _s5c73m3_intervals@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x21]
	ldp	x9, x10, [x20, #8]
	mov	w11, #24
	madd	x11, x9, x11, x8
	ldr	x11, [x11, #8]
	cmp	x10, x11
	b.gt	LBB0_4
; %bb.3:
	ldr	x10, [x20, #24]
	mov	w11, #24
	madd	x11, x9, x11, x8
	ldr	x11, [x11, #16]
	cmp	x10, x11
	b.le	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_6:
	mov	w21, #0
	mov	w10, #24
	mul	x9, x9, x10
	ldr	w8, [x8, x9]
	str	w8, [x20, #32]
LBB0_7:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_8:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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_intervals,8,3          ; @s5c73m3_intervals
	.no_dead_strip	_s5c73m3_oif_enum_frame_interval
.subsections_via_symbols
