	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen11_dsi_get_timings
_gen11_dsi_get_timings:                 ## @gen11_dsi_get_timings
	.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	%rsi, %rbx
	callq	_enc_to_intel_dsi
	movq	(%rax), %rdx
	movl	(%rbx), %ecx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	addl	%ecx, %ecx
	movl	%ecx, (%rbx)
	movq	_DSI_DUAL_LINK_FRONT_BACK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.3:
	subl	16(%rax), %ecx
	movl	%ecx, (%rbx)
LBB0_4:
	movl	4(%rbx), %edx
	addl	%edx, %edx
	movl	%edx, 4(%rbx)
	movl	%ecx, 8(%rbx)
	movl	%edx, 12(%rbx)
	movq	8(%rax), %rax
	movq	_INTEL_DSI_VIDEO_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	shll	16(%rbx)
	shll	20(%rbx)
	jmp	LBB0_6
LBB0_1:
	movl	4(%rbx), %eax
	movl	%ecx, 8(%rbx)
	movl	%eax, 12(%rbx)
LBB0_6:
	movl	24(%rbx), %eax
	movl	32(%rbx), %ecx
	movl	%ecx, 36(%rbx)
	movl	%eax, 28(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_DUAL_LINK_FRONT_BACK,8,3   ## @DSI_DUAL_LINK_FRONT_BACK
	.comm	_INTEL_DSI_VIDEO_MODE,8,3       ## @INTEL_DSI_VIDEO_MODE
	.no_dead_strip	_gen11_dsi_get_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen11_dsi_get_timings
_gen11_dsi_get_timings:                 ; @gen11_dsi_get_timings
	.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, x1
	bl	_enc_to_intel_dsi
	ldr	x9, [x0]
	ldr	w8, [x19]
	cbz	x9, LBB0_5
; %bb.1:
	lsl	w8, w8, #1
	str	w8, [x19]
Lloh0:
	adrp	x10, _DSI_DUAL_LINK_FRONT_BACK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DSI_DUAL_LINK_FRONT_BACK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w9, [x0, #16]
	sub	w8, w8, w9
	str	w8, [x19]
LBB0_3:
	ldr	w9, [x19, #4]
	lsl	w9, w9, #1
	stp	w9, w8, [x19, #4]
	str	w9, [x19, #12]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _INTEL_DSI_VIDEO_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTEL_DSI_VIDEO_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	d0, [x19, #16]
	shl.2s	v0, v0, #1
	str	d0, [x19, #16]
	b	LBB0_6
LBB0_5:
	ldr	w9, [x19, #4]
	stp	w8, w9, [x19, #8]
LBB0_6:
	ldr	w8, [x19, #32]
	str	w8, [x19, #36]
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_DUAL_LINK_FRONT_BACK,8,3   ; @DSI_DUAL_LINK_FRONT_BACK
	.comm	_INTEL_DSI_VIDEO_MODE,8,3       ; @INTEL_DSI_VIDEO_MODE
	.no_dead_strip	_gen11_dsi_get_timings
.subsections_via_symbols
