	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_phy_pix_clks
_calculate_phy_pix_clks:                ## @calculate_phy_pix_clks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_dc_is_hdmi_signal
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	callq	_get_norm_pix_clk
	jmp	LBB0_3
LBB0_2:
	movl	8(%rbx), %eax
LBB0_3:
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	16(%rbx), %rcx
	movq	_TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	addl	%eax, %eax
	movl	%eax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,8,3 ## @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_calculate_phy_pix_clks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_phy_pix_clks
_calculate_phy_pix_clks:                ; @calculate_phy_pix_clks
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_dc_is_hdmi_signal
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #8
	bl	_get_norm_pix_clk
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #8]
LBB0_3:
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x19]
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x10, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	lsl	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,8,3 ; @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_calculate_phy_pix_clks
.subsections_via_symbols
