	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cluster_duration
_get_cluster_duration:                  ## @get_cluster_duration
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %eax
	xorl	%ebx, %ebx
	cmpl	%esi, %eax
	jle	LBB0_5
## %bb.1:
	leal	1(%rsi), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	movq	16(%rdi), %rbx
	movq	24(%rdi), %rax
	addq	8(%rdi), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	24(%rdi), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rbx
LBB0_4:
	movslq	%esi, %rcx
	subq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_assert0
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setle	%dil
	callq	_av_assert0
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.no_dead_strip	_get_cluster_duration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cluster_duration
_get_cluster_duration:                  ; @get_cluster_duration
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w9, [x0]
	cmp	w9, w1
	b.le	LBB0_3
; %bb.1:
	sxtw	x8, w1
	add	x11, x8, #1
	cmp	w11, w9
	b.ne	LBB0_4
; %bb.2:
	ldp	x9, x10, [x0, #8]
	add	x9, x10, x9
	ldr	x10, [x0, #24]
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	ldr	x10, [x0, #24]
	ldr	x9, [x10, x11, lsl #3]
LBB0_5:
	ldr	x8, [x10, x8, lsl #3]
	sub	x19, x9, x8
	lsr	x8, x19, #63
	eor	w0, w8, #0x1
	bl	_av_assert0
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x19, x8
	cset	w0, le
	bl	_av_assert0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.no_dead_strip	_get_cluster_duration
.subsections_via_symbols
