	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cea_mode_alternate_clock
_cea_mode_alternate_clock:              ## @cea_mode_alternate_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	imull	$-1431655765, 4(%rdi), %ecx     ## imm = 0xAAAAAAAB
	addl	$715827882, %ecx                ## imm = 0x2AAAAAAA
	rorl	%ecx
	cmpl	$715827882, %ecx                ## imm = 0x2AAAAAAA
	jbe	LBB0_1
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	movl	8(%rdi), %edx
	movl	$1000, %esi                     ## imm = 0x3E8
	movl	$1001, %ecx                     ## imm = 0x3E9
	cmpl	$240, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$480, %edx                      ## imm = 0x1E0
	je	LBB0_4
## %bb.3:
	movl	$1001, %esi                     ## imm = 0x3E9
	movl	$1000, %ecx                     ## imm = 0x3E8
LBB0_4:
	imull	%ecx, %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cea_mode_alternate_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cea_mode_alternate_clock
_cea_mode_alternate_clock:              ; @cea_mode_alternate_clock
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
	ldr	w9, [x8, #4]
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	mov	w11, #43690
	movk	w11, #10922, lsl #16
	madd	w9, w9, w10, w11
	ror	w9, w9, #1
	cmp	w9, w11
	b.ls	LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldr	w8, [x8, #8]
	mov	w9, #1000
	mov	w10, #1001
	mov	w11, #1001
	mov	w12, #1000
	cmp	w8, #480
	csel	w12, w10, w12, eq
	csel	w11, w9, w11, eq
	cmp	w8, #240
	csel	w8, w10, w12, eq
	csel	w1, w9, w11, eq
	mul	w0, w0, w8
	b	_DIV_ROUND_CLOSEST
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cea_mode_alternate_clock
.subsections_via_symbols
