	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_choose_timebase             ## -- Begin function ff_choose_timebase
	.p2align	4, 0x90
_ff_choose_timebase:                    ## @ff_choose_timebase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r8d
	movl	(%rsi), %r9d
	movl	4(%rsi), %esi
	movl	$2, %edi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$3, %edi
	sbbl	$-1, %edi
	incl	%edi
	cmpl	$14, %edi
	jae	LBB0_6
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	%r9d, %eax
	cltd
	idivl	%esi
	cmpl	%r8d, %eax
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %eax
	cltd
	idivl	%edi
	testl	%edx, %edx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%eax, %ecx
	movl	%r9d, %eax
	cltd
	idivl	%ecx
	movl	%ecx, %esi
	cmpl	%r8d, %eax
	jl	LBB0_3
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	leal	(%rcx,%rcx), %r9d
	cmpl	%r8d, %eax
	jge	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r9d, %ecx
	movl	%r9d, %eax
	cltd
	idivl	%esi
	cmpl	$16777215, %r9d                 ## imm = 0xFFFFFF
	jle	LBB0_7
LBB0_8:
	shlq	$32, %rsi
	movl	%ecx, %eax
	orq	%rsi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_choose_timebase             ; -- Begin function ff_choose_timebase
	.p2align	2
_ff_choose_timebase:                    ; @ff_choose_timebase
	.cfi_startproc
; %bb.0:
	ldp	w9, w8, [x1]
	mov	w10, #2
	mov	w11, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #2
	cinc	w12, w11, hi
	add	w10, w12, w10
	cmp	w10, #14
	b.hs	LBB0_5
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	sdiv	w12, w9, w8
	cmp	w12, w2
	b.ge	LBB0_1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w12, w8, w10
	msub	w13, w12, w10, w8
	cbnz	w13, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	sdiv	w13, w9, w12
	mov	x8, x12
	cmp	w13, w2
	b.lt	LBB0_3
	b	LBB0_1
LBB0_5:
	mov	w10, #16777215
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x9
	cmp	w9, w10
	b.gt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sdiv	w12, w11, w8
	lsl	w9, w11, #1
	cmp	w12, w2
	b.lt	LBB0_6
LBB0_8:
	mov	w0, w11
	bfi	x0, x8, #32, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
