	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_timing_pixel_clock_100hz
_get_timing_pixel_clock_100hz:          ## @get_timing_pixel_clock_100hz
	.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
	movq	8(%rdi), %rcx
	movq	_PIXEL_ENCODING_YCBCR420@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_PIXEL_ENCODING_YCBCR422@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	addl	%eax, %eax
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
LBB0_4:
	movq	16(%rdi), %rcx
	movq	_COLOR_DEPTH_101010@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	addl	%eax, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rax,4), %eax
	addl	$7, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_COLOR_DEPTH_121212@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.7:
	shll	$2, %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$7, %eax
LBB0_8:
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ## @PIXEL_ENCODING_YCBCR420
	.comm	_PIXEL_ENCODING_YCBCR422,8,3    ## @PIXEL_ENCODING_YCBCR422
	.comm	_COLOR_DEPTH_101010,8,3         ## @COLOR_DEPTH_101010
	.comm	_COLOR_DEPTH_121212,8,3         ## @COLOR_DEPTH_121212
	.no_dead_strip	_get_timing_pixel_clock_100hz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_timing_pixel_clock_100hz
_get_timing_pixel_clock_100hz:          ; @get_timing_pixel_clock_100hz
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _PIXEL_ENCODING_YCBCR420@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PIXEL_ENCODING_YCBCR420@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x10, _PIXEL_ENCODING_YCBCR422@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PIXEL_ENCODING_YCBCR422@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	lsl	w9, w8, #1
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	csel	w8, w8, w9, ne
LBB0_3:
	ldr	x9, [x0, #16]
Lloh6:
	adrp	x10, _COLOR_DEPTH_101010@GOTPAGE
Lloh7:
	ldr	x10, [x10, _COLOR_DEPTH_101010@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	ret
LBB0_5:
Lloh9:
	adrp	x10, _COLOR_DEPTH_121212@GOTPAGE
Lloh10:
	ldr	x10, [x10, _COLOR_DEPTH_121212@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	w11, w8, w8, lsl #1
	lsl	w11, w11, #2
	add	w12, w11, #7
	cmp	w11, #0
	csel	w11, w12, w11, lt
	asr	w11, w11, #3
	cmp	x9, x10
	csel	w0, w8, w11, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ; @PIXEL_ENCODING_YCBCR420
	.comm	_PIXEL_ENCODING_YCBCR422,8,3    ; @PIXEL_ENCODING_YCBCR422
	.comm	_COLOR_DEPTH_101010,8,3         ; @COLOR_DEPTH_101010
	.comm	_COLOR_DEPTH_121212,8,3         ; @COLOR_DEPTH_121212
	.no_dead_strip	_get_timing_pixel_clock_100hz
.subsections_via_symbols
