	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function checkCadence
LCPI0_0:
	.long	0x47afc800                      ## float 9.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_checkCadence:                          ## @checkCadence
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movups	(%rdi), %xmm0
	movups	16(%rdi), %xmm1
	movups	%xmm0, 4(%rdi)
	movq	32(%rdi), %rax
	movups	%xmm1, 20(%rdi)
	movl	40(%rdi), %ecx
	movq	%rax, 36(%rdi)
	movl	%ecx, 44(%rdi)
	movl	(%rsi), %eax
	movq	_PROGRESSIVE@GOTPCREL(%rip), %rdx
	movq	_TOP_FIRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rdx)
	je	LBB0_1
## %bb.4:
	movq	_REPEAT_FIRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %ecx
	je	LBB0_5
## %bb.8:
	testl	%eax, %edx
	jne	LBB0_9
## %bb.10:
	movq	_TB_PROG@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_1:
	testl	%eax, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_BT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_5:
	testl	%eax, %edx
	jne	LBB0_6
## %bb.7:
	movq	_BT_PROG@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_TBT_PROG@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_TB@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_BTB_PROG@GOTPCREL(%rip), %rax
LBB0_11:
	leaq	4(%rbx), %r15
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	8(%rbx), %ecx
	movq	_TB@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%eax, %ecx
	jg	LBB0_16
## %bb.12:
	cmpl	%eax, (%r15)
	jg	LBB0_16
## %bb.13:
	cmpl	%eax, (%rbx)
	jle	LBB0_16
## %bb.14:
	cmpl	$0, 44(%rbx)
	je	LBB0_16
## %bb.15:
	xorps	%xmm0, %xmm0
	cvtsi2ssq	8(%r14), %xmm0
	divss	LCPI0_0(%rip), %xmm0
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
	movl	8(%rbx), %ecx
	movl	(%r12), %eax
LBB0_16:
	cmpl	%eax, %ecx
	jle	LBB0_20
## %bb.17:
	cmpl	%eax, (%r15)
	jg	LBB0_20
## %bb.18:
	cmpl	%eax, (%rbx)
	jg	LBB0_20
## %bb.19:
	cmpl	$0, 44(%rbx)
	je	LBB0_20
## %bb.21:
	xorps	%xmm0, %xmm0
	cvtsi2ssq	8(%r14), %xmm0
	divss	LCPI0_0(%rip), %xmm0
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_log                         ## TAILCALL
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROGRESSIVE,4,2                ## @PROGRESSIVE
	.comm	_TOP_FIRST,4,2                  ## @TOP_FIRST
	.comm	_BT,4,2                         ## @BT
	.comm	_TB,4,2                         ## @TB
	.comm	_REPEAT_FIRST,4,2               ## @REPEAT_FIRST
	.comm	_BT_PROG,4,2                    ## @BT_PROG
	.comm	_BTB_PROG,4,2                   ## @BTB_PROG
	.comm	_TB_PROG,4,2                    ## @TB_PROG
	.comm	_TBT_PROG,4,2                   ## @TBT_PROG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%fs: Video -> Film"

L_.str.1:                               ## @.str.1
	.asciz	"%fs: Film -> Video"

	.no_dead_strip	_checkCadence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkCadence
_checkCadence:                          ; @checkCadence
	.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	x19, x1
	mov	x20, x0
	ldp	q1, q0, [x0]
	stur	q1, [x0, #4]
	ldr	x8, [x0, #32]
	stur	q0, [x0, #20]
	ldr	w9, [x0, #40]
	stur	x8, [x0, #36]
	str	w9, [x0, #44]
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _PROGRESSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROGRESSIVE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _TOP_FIRST@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TOP_FIRST@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x8]
Lloh5:
	ldr	w8, [x10]
	and	w8, w8, w9
Lloh6:
	adrp	x21, _TB@GOTPAGE
Lloh7:
	ldr	x21, [x21, _TB@GOTPAGEOFF]
	tst	w11, w9
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x10, _REPEAT_FIRST@GOTPAGE
Lloh9:
	ldr	x10, [x10, _REPEAT_FIRST@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _TBT_PROG@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TBT_PROG@GOTPAGEOFF]
	and	w9, w10, w9
Lloh13:
	adrp	x10, _TB_PROG@GOTPAGE
Lloh14:
	ldr	x10, [x10, _TB_PROG@GOTPAGEOFF]
	cmp	w9, #0
Lloh15:
	adrp	x9, _BTB_PROG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BTB_PROG@GOTPAGEOFF]
	csel	x10, x10, x11, eq
Lloh17:
	adrp	x11, _BT_PROG@GOTPAGE
Lloh18:
	ldr	x11, [x11, _BT_PROG@GOTPAGEOFF]
	csel	x9, x11, x9, eq
	cmp	w8, #0
	csel	x8, x10, x9, ne
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x9, _BT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BT@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x21, eq
LBB0_3:
	add	x22, x20, #4
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	w9, [x20, #8]
	ldr	w8, [x21]
	cmp	w9, w8
	b.gt	LBB0_8
; %bb.4:
	ldr	w10, [x22]
	cmp	w10, w8
	b.gt	LBB0_8
; %bb.5:
	ldr	w10, [x20]
	cmp	w10, w8
	b.le	LBB0_8
; %bb.6:
	ldr	w10, [x20, #44]
	cbz	w10, LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	scvtf	s0, x8
	mov	w8, #51200
	movk	w8, #18351, lsl #16
	fmov	s1, w8
	fdiv	s0, s0, s1
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
	ldr	w9, [x20, #8]
	ldr	w8, [x21]
LBB0_8:
	cmp	w9, w8
	b.le	LBB0_13
; %bb.9:
	ldr	w9, [x22]
	cmp	w9, w8
	b.gt	LBB0_13
; %bb.10:
	ldr	w9, [x20]
	cmp	w9, w8
	b.gt	LBB0_13
; %bb.11:
	ldr	w8, [x20, #44]
	cbz	w8, LBB0_13
; %bb.12:
	ldr	x8, [x19, #8]
	scvtf	s0, x8
	mov	w8, #51200
	movk	w8, #18351, lsl #16
	fmov	s1, w8
	fdiv	s0, s0, s1
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_hb_log
LBB0_13:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PROGRESSIVE,4,2                ; @PROGRESSIVE
	.comm	_TOP_FIRST,4,2                  ; @TOP_FIRST
	.comm	_BT,4,2                         ; @BT
	.comm	_TB,4,2                         ; @TB
	.comm	_REPEAT_FIRST,4,2               ; @REPEAT_FIRST
	.comm	_BT_PROG,4,2                    ; @BT_PROG
	.comm	_BTB_PROG,4,2                   ; @BTB_PROG
	.comm	_TB_PROG,4,2                    ; @TB_PROG
	.comm	_TBT_PROG,4,2                   ; @TBT_PROG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%fs: Video -> Film"

l_.str.1:                               ; @.str.1
	.asciz	"%fs: Film -> Video"

	.no_dead_strip	_checkCadence
.subsections_via_symbols
