	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_pixel_clock_parameters
_get_pixel_clock_parameters:            ## @get_pixel_clock_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	(%rcx), %r8d
	movl	%r8d, (%rsi)
	movq	40(%rcx), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx), %edx
	movl	%edx, 52(%rsi)
	movl	32(%rcx), %edx
	movl	%edx, 48(%rsi)
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	incq	%rdx
	movq	%rdx, 40(%rsi)
	movq	_LINK_RATE_LOW@GOTPCREL(%rip), %rdx
	movq	_LINK_RATE_REF_FREQ_IN_KHZ@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	imull	(%rdx), %edi
	movl	%edi, 4(%rsi)
	movq	$0, 32(%rsi)
	movl	24(%rcx), %edx
	movl	%edx, 16(%rsi)
	movl	$1, 24(%rsi)
	movq	8(%rcx), %rdx
	movq	_PIXEL_ENCODING_YCBCR420@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	xorl	%eax, %eax
	cmpq	%rdi, %rdx
	sete	%al
	movl	%eax, 28(%rsi)
	movq	%rdx, 8(%rsi)
	movq	_PIXEL_ENCODING_YCBCR422@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_COLOR_DEPTH_888@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
LBB0_2:
	cmpq	%rdi, %rdx
	jne	LBB0_4
## %bb.3:
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	movl	%eax, (%rsi)
	movl	%eax, %r8d
LBB0_4:
	movq	16(%rcx), %rax
	movq	_TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	addl	%r8d, %r8d
	movl	%r8d, (%rsi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINK_RATE_LOW,4,2              ## @LINK_RATE_LOW
	.comm	_LINK_RATE_REF_FREQ_IN_KHZ,4,2  ## @LINK_RATE_REF_FREQ_IN_KHZ
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ## @PIXEL_ENCODING_YCBCR420
	.comm	_PIXEL_ENCODING_YCBCR422,8,3    ## @PIXEL_ENCODING_YCBCR422
	.comm	_COLOR_DEPTH_888,4,2            ## @COLOR_DEPTH_888
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,8,3 ## @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_get_pixel_clock_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_pixel_clock_parameters
_get_pixel_clock_parameters:            ; @get_pixel_clock_parameters
	.cfi_startproc
; %bb.0:
	ldp	x10, x8, [x0]
	ldr	w9, [x8]
	str	w9, [x1]
	ldr	x11, [x8, #40]
	ldr	x11, [x11]
	ldr	w11, [x11]
	ldr	w12, [x8, #32]
	stp	w12, w11, [x1, #48]
	ldr	x10, [x10]
	add	x10, x10, #1
Lloh0:
	adrp	x11, _LINK_RATE_LOW@GOTPAGE
Lloh1:
	ldr	x11, [x11, _LINK_RATE_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
Lloh3:
	adrp	x12, _LINK_RATE_REF_FREQ_IN_KHZ@GOTPAGE
Lloh4:
	ldr	x12, [x12, _LINK_RATE_REF_FREQ_IN_KHZ@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	mul	w11, w12, w11
	str	w11, [x1, #4]
	stp	xzr, x10, [x1, #32]
	ldr	w10, [x8, #24]
	str	w10, [x1, #16]
	mov	w12, #1
	ldr	x10, [x8, #8]
Lloh6:
	adrp	x11, _PIXEL_ENCODING_YCBCR420@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PIXEL_ENCODING_YCBCR420@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	cset	w13, eq
	stp	w12, w13, [x1, #24]
	str	x10, [x1, #8]
Lloh9:
	adrp	x12, _PIXEL_ENCODING_YCBCR422@GOTPAGE
Lloh10:
	ldr	x12, [x12, _PIXEL_ENCODING_YCBCR422@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x12]
	cmp	x10, x12
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x12, _COLOR_DEPTH_888@GOTPAGE
Lloh13:
	ldr	x12, [x12, _COLOR_DEPTH_888@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	str	w12, [x1, #16]
LBB0_2:
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	str	w9, [x1]
LBB0_4:
	ldr	x8, [x8, #16]
Lloh15:
	adrp	x10, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_6
; %bb.5:
	lsl	w8, w9, #1
	str	w8, [x1]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LINK_RATE_LOW,4,2              ; @LINK_RATE_LOW
	.comm	_LINK_RATE_REF_FREQ_IN_KHZ,4,2  ; @LINK_RATE_REF_FREQ_IN_KHZ
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ; @PIXEL_ENCODING_YCBCR420
	.comm	_PIXEL_ENCODING_YCBCR422,8,3    ; @PIXEL_ENCODING_YCBCR422
	.comm	_COLOR_DEPTH_888,4,2            ; @COLOR_DEPTH_888
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,8,3 ; @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_get_pixel_clock_parameters
.subsections_via_symbols
