	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_mode_detailed
_drm_mode_detailed:                     ## @drm_mode_detailed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdx), %r15d
	movl	%r15d, %ebx
	shll	$4, %ebx
	andl	$3840, %ebx                     ## imm = 0xF00
	orl	8(%rdx), %ebx
	xorl	%eax, %eax
	cmpl	$64, %ebx
	jb	LBB0_14
## %bb.1:
	movq	%rdx, %r13
	movl	12(%rdx), %r8d
	movl	%r8d, %r14d
	shll	$4, %r14d
	andl	$3840, %r14d                    ## imm = 0xF00
	orl	16(%rdx), %r14d
	cmpl	$64, %r14d
	jb	LBB0_14
## %bb.2:
	movl	44(%r13), %eax
	movq	_DRM_EDID_PT_STEREO@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_4:
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	andl	$15, %r15d
	shll	$8, %r15d
	orl	20(%r13), %r15d
	andl	$15, %r8d
	shll	$8, %r8d
	orl	24(%r13), %r8d
	movl	28(%r13), %r12d
	leal	(,%r12,4), %r10d
	movl	%r10d, %edx
	andl	$768, %edx                      ## imm = 0x300
	orl	32(%r13), %edx
	shll	$4, %r12d
	movl	%r12d, %esi
	andl	$768, %esi                      ## imm = 0x300
	orl	36(%r13), %esi
	movl	40(%r13), %r9d
	movq	_DRM_EDID_PT_SEPARATE_SYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdi
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	callq	_DRM_DEBUG_KMS
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
LBB0_6:
	testl	%esi, %esi
	je	LBB0_11
## %bb.7:
	andl	$48, %r12d
	movl	%r9d, %ecx
	andl	$15, %ecx
	orl	%r12d, %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.8:
	movq	_EDID_QUIRK_FORCE_REDUCED_BLANKING@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.9:
	movl	$0, (%rsp)
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	$60, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_drm_cvt_mode
	movq	%rax, %rdi
	testq	%rax, %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_34
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
LBB0_12:
	callq	_DRM_DEBUG_KMS
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%r9d, %r12d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	callq	_drm_mode_create
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	andl	$48, %eax
	sarl	$4, %r12d
	orl	%eax, %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_EDID_QUIRK_135_CLOCK_TOO_HIGH@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, (%rax)
	je	LBB0_19
## %bb.17:
	movl	$1088, %edi                     ## imm = 0x440
	callq	_cpu_to_le16
	movl	%eax, %edi
	movl	%eax, (%r13)
	jmp	LBB0_20
LBB0_19:
	movl	(%r13), %edi
LBB0_20:
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%rdi)
	movl	%ebx, 4(%rdi)
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	addl	%ebx, %ecx
	movl	%ecx, 8(%rdi)
	addl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, 12(%rdi)
	addl	%ebx, %r15d
	movl	%r15d, 16(%rdi)
	movl	%r14d, 20(%rdi)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addl	%r14d, %edx
	movl	%edx, 24(%rdi)
	addl	-76(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, 28(%rdi)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	addl	%r14d, %eax
	movl	%eax, 32(%rdi)
	cmpl	%r15d, %ecx
	jbe	LBB0_22
## %bb.21:
	incl	%ecx
	movl	%ecx, 16(%rdi)
LBB0_22:
	leaq	4(%r13), %rsi
	cmpl	%eax, %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jbe	LBB0_24
## %bb.23:
	incl	%edx
	movl	%edx, 32(%rdi)
LBB0_24:
	callq	_drm_mode_do_interlace_quirk
	movq	_EDID_QUIRK_DETAILED_SYNC_PP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_26
## %bb.25:
	movq	_DRM_EDID_PT_HSYNC_POSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DRM_EDID_PT_VSYNC_POSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	orl	%edx, %eax
	orl	44(%r13), %eax
	movl	%eax, 44(%r13)
	jmp	LBB0_27
LBB0_26:
	movl	44(%r13), %eax
	movq	_DRM_EDID_PT_HSYNC_POSITIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DRM_EDID_PT_VSYNC_POSITIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_27:
	testl	%eax, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_29
## %bb.28:
	movq	_DRM_MODE_FLAG_NHSYNC@GOTPCREL(%rip), %rsi
	jmp	LBB0_30
LBB0_29:
	movq	_DRM_MODE_FLAG_PHSYNC@GOTPCREL(%rip), %rsi
LBB0_30:
	movl	52(%rdi), %edx
	orl	(%rsi), %edx
	testl	%eax, %ecx
	jne	LBB0_32
## %bb.31:
	movq	_DRM_MODE_FLAG_NVSYNC@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_32:
	movq	_DRM_MODE_FLAG_PVSYNC@GOTPCREL(%rip), %rax
LBB0_33:
	orl	(%rax), %edx
	movl	%edx, 52(%rdi)
LBB0_34:
	movl	52(%r13), %eax
	movl	%eax, %ecx
	shll	$4, %ecx
	andl	$3840, %ecx                     ## imm = 0xF00
	orl	48(%r13), %ecx
	movl	%ecx, 36(%rdi)
	andl	$15, %eax
	shll	$8, %eax
	orl	56(%r13), %eax
	movl	%eax, 40(%rdi)
	movq	_EDID_QUIRK_DETAILED_IN_CM@GOTPCREL(%rip), %rdx
	testl	%r12d, (%rdx)
	je	LBB0_36
## %bb.35:
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 36(%rdi)
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 40(%rdi)
LBB0_36:
	movq	_EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_38
## %bb.37:
	movl	(%rbx), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 36(%rdi)
	movl	4(%rbx), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 40(%rdi)
LBB0_38:
	movq	_DRM_MODE_TYPE_DRIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	%rdi, %rbx
	callq	_drm_mode_vrefresh
	movl	%eax, 44(%rbx)
	movq	%rbx, %rdi
	callq	_drm_mode_set_name
	movq	%rbx, %rax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_EDID_PT_STEREO,4,2         ## @DRM_EDID_PT_STEREO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stereo mode not supported\n"

	.comm	_DRM_EDID_PT_SEPARATE_SYNC,4,2  ## @DRM_EDID_PT_SEPARATE_SYNC
L_.str.1:                               ## @.str.1
	.asciz	"composite sync not supported\n"

L_.str.2:                               ## @.str.2
	.asciz	"Incorrect Detailed timing. Wrong Hsync/Vsync pulse width\n"

	.comm	_EDID_QUIRK_FORCE_REDUCED_BLANKING,4,2 ## @EDID_QUIRK_FORCE_REDUCED_BLANKING
	.comm	_EDID_QUIRK_135_CLOCK_TOO_HIGH,4,2 ## @EDID_QUIRK_135_CLOCK_TOO_HIGH
	.comm	_EDID_QUIRK_DETAILED_SYNC_PP,4,2 ## @EDID_QUIRK_DETAILED_SYNC_PP
	.comm	_DRM_EDID_PT_HSYNC_POSITIVE,4,2 ## @DRM_EDID_PT_HSYNC_POSITIVE
	.comm	_DRM_EDID_PT_VSYNC_POSITIVE,4,2 ## @DRM_EDID_PT_VSYNC_POSITIVE
	.comm	_DRM_MODE_FLAG_PHSYNC,4,2       ## @DRM_MODE_FLAG_PHSYNC
	.comm	_DRM_MODE_FLAG_NHSYNC,4,2       ## @DRM_MODE_FLAG_NHSYNC
	.comm	_DRM_MODE_FLAG_PVSYNC,4,2       ## @DRM_MODE_FLAG_PVSYNC
	.comm	_DRM_MODE_FLAG_NVSYNC,4,2       ## @DRM_MODE_FLAG_NVSYNC
	.comm	_EDID_QUIRK_DETAILED_IN_CM,4,2  ## @EDID_QUIRK_DETAILED_IN_CM
	.comm	_EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE,4,2 ## @EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE
	.comm	_DRM_MODE_TYPE_DRIVER,4,2       ## @DRM_MODE_TYPE_DRIVER
	.no_dead_strip	_drm_mode_detailed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_mode_detailed
_drm_mode_detailed:                     ; @drm_mode_detailed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, #0
	mov	x23, x2
	ldp	w27, w9, [x23, #4]!
	lsl	w8, w27, #4
	and	w8, w8, #0xf00
	orr	w25, w8, w9
	cmp	w25, #64
	b.lo	LBB0_12
; %bb.1:
	ldp	w19, w8, [x23, #8]
	lsl	w9, w19, #4
	and	w9, w9, #0xf00
	orr	w24, w9, w8
	cmp	w24, #64
	b.lo	LBB0_12
; %bb.2:
	mov	x21, x2
	ldr	w8, [x2, #44]
Lloh0:
	adrp	x9, _DRM_EDID_PT_STEREO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_EDID_PT_STEREO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_4:
	mov	x26, x0
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	ldp	w11, w12, [x23, #16]
	ldp	w20, w13, [x23, #24]
	lsl	w22, w20, #4
	and	w9, w22, #0x300
	ldp	w10, w14, [x23, #32]
	orr	w10, w9, w10
Lloh5:
	adrp	x9, _DRM_EDID_PT_SEPARATE_SYNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DRM_EDID_PT_SEPARATE_SYNC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	stp	w11, w3, [sp, #16]              ; 8-byte Folded Spill
	mov	x28, x10
	stp	w13, w12, [sp, #8]              ; 8-byte Folded Spill
	str	w14, [sp, #4]                   ; 4-byte Folded Spill
	bl	_DRM_DEBUG_KMS
	ldp	w14, w13, [sp, #4]              ; 8-byte Folded Reload
	ldp	w12, w11, [sp, #12]             ; 8-byte Folded Reload
	mov	x10, x28
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
LBB0_6:
	cbz	w10, LBB0_10
; %bb.7:
	and	w28, w22, #0x30
	bfxil	w28, w14, #0, #4
	cbz	w28, LBB0_10
; %bb.8:
Lloh10:
	adrp	x8, _EDID_QUIRK_FORCE_REDUCED_BLANKING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EDID_QUIRK_FORCE_REDUCED_BLANKING@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_13
; %bb.9:
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x19, x3
	mov	w3, #60
	mov	w4, #1
	mov	w5, #0
	mov	w6, #0
	bl	_drm_cvt_mode
	mov	x14, x19
	mov	x22, x0
	cbnz	x0, LBB0_25
	b	LBB0_12
LBB0_10:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_11:
	bl	_DRM_DEBUG_KMS
	mov	x22, #0
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	stp	w14, w13, [sp, #4]              ; 8-byte Folded Spill
	stp	w12, w11, [sp, #12]             ; 8-byte Folded Spill
	str	w10, [sp]                       ; 4-byte Folded Spill
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x26
	bl	_drm_mode_create
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.14:
	lsl	w8, w20, #2
	ubfiz	w9, w27, #8, #4
	ubfiz	w10, w19, #8, #4
	and	w11, w8, #0x300
	and	w8, w8, #0x30
	ldr	w12, [sp, #16]                  ; 4-byte Folded Reload
	orr	w20, w12, w9
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w19, w9, w10
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	orr	w27, w11, w9
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	orr	w26, w8, w9, asr #4
Lloh15:
	adrp	x8, _EDID_QUIRK_135_CLOCK_TOO_HIGH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EDID_QUIRK_135_CLOCK_TOO_HIGH@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_16
; %bb.15:
	mov	w0, #1088
	bl	_cpu_to_le16
	str	w0, [x21]
	b	LBB0_17
LBB0_16:
	ldr	w0, [x21]
LBB0_17:
	bl	_le16_to_cpu
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #1
	stp	w8, w25, [x22]
	add	w9, w27, w25
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	add	w8, w9, w8
	stp	w9, w8, [x22, #8]
	add	w9, w20, w25
	cmp	w8, w9
	stp	w9, w24, [x22, #16]
	add	w10, w26, w24
	add	w9, w10, w28
	stp	w10, w9, [x22, #24]
	add	w10, w19, w24
	str	w10, [x22, #32]
	b.ls	LBB0_19
; %bb.18:
	add	w8, w8, #1
	str	w8, [x22, #16]
LBB0_19:
	cmp	w9, w10
	b.ls	LBB0_21
; %bb.20:
	add	w8, w9, #1
	str	w8, [x22, #32]
LBB0_21:
	mov	x0, x22
	mov	x1, x23
	bl	_drm_mode_do_interlace_quirk
Lloh18:
	adrp	x8, _EDID_QUIRK_DETAILED_SYNC_PP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EDID_QUIRK_DETAILED_SYNC_PP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w14, [sp, #20]                  ; 4-byte Folded Reload
	tst	w8, w14
	b.eq	LBB0_23
; %bb.22:
Lloh21:
	adrp	x8, _DRM_EDID_PT_HSYNC_POSITIVE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DRM_EDID_PT_HSYNC_POSITIVE@GOTPAGEOFF]
Lloh23:
	adrp	x9, _DRM_EDID_PT_VSYNC_POSITIVE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DRM_EDID_PT_VSYNC_POSITIVE@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x8]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w10
	ldr	w11, [x21, #44]
	orr	w8, w8, w11
	str	w8, [x21, #44]
	b	LBB0_24
LBB0_23:
	ldr	w8, [x21, #44]
Lloh27:
	adrp	x9, _DRM_EDID_PT_HSYNC_POSITIVE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DRM_EDID_PT_HSYNC_POSITIVE@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x9]
Lloh30:
	adrp	x9, _DRM_EDID_PT_VSYNC_POSITIVE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _DRM_EDID_PT_VSYNC_POSITIVE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
LBB0_24:
Lloh33:
	adrp	x11, _DRM_MODE_FLAG_PHSYNC@GOTPAGE
Lloh34:
	ldr	x11, [x11, _DRM_MODE_FLAG_PHSYNC@GOTPAGEOFF]
Lloh35:
	adrp	x12, _DRM_MODE_FLAG_NHSYNC@GOTPAGE
Lloh36:
	ldr	x12, [x12, _DRM_MODE_FLAG_NHSYNC@GOTPAGEOFF]
	tst	w10, w8
	csel	x10, x12, x11, eq
	ldr	w10, [x10]
	ldr	w11, [x22, #52]
Lloh37:
	adrp	x12, _DRM_MODE_FLAG_PVSYNC@GOTPAGE
Lloh38:
	ldr	x12, [x12, _DRM_MODE_FLAG_PVSYNC@GOTPAGEOFF]
Lloh39:
	adrp	x13, _DRM_MODE_FLAG_NVSYNC@GOTPAGE
Lloh40:
	ldr	x13, [x13, _DRM_MODE_FLAG_NVSYNC@GOTPAGEOFF]
	orr	w10, w11, w10
	tst	w9, w8
	csel	x8, x13, x12, eq
	ldr	w8, [x8]
	orr	w8, w8, w10
	str	w8, [x22, #52]
LBB0_25:
	ldp	w8, w9, [x21, #48]
	lsl	w10, w9, #4
	and	w10, w10, #0xf00
	orr	w8, w10, w8
	ldr	w10, [x21, #56]
	ubfiz	w9, w9, #8, #4
	orr	w9, w10, w9
	stp	w8, w9, [x22, #36]
Lloh41:
	adrp	x10, _EDID_QUIRK_DETAILED_IN_CM@GOTPAGE
Lloh42:
	ldr	x10, [x10, _EDID_QUIRK_DETAILED_IN_CM@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	tst	w10, w14
	b.eq	LBB0_27
; %bb.26:
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	stp	w8, w9, [x22, #36]
LBB0_27:
Lloh44:
	adrp	x8, _EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w14
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	b.eq	LBB0_29
; %bb.28:
	ldr	d0, [x8]
	movi.2s	v1, #10
	mul.2s	v0, v0, v1
	stur	d0, [x22, #36]
LBB0_29:
Lloh47:
	adrp	x8, _DRM_MODE_TYPE_DRIVER@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DRM_MODE_TYPE_DRIVER@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x22, #48]
	mov	x0, x22
	bl	_drm_mode_vrefresh
	str	w0, [x22, #44]
	mov	x0, x22
	bl	_drm_mode_set_name
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_EDID_PT_STEREO,4,2         ; @DRM_EDID_PT_STEREO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stereo mode not supported\n"

	.comm	_DRM_EDID_PT_SEPARATE_SYNC,4,2  ; @DRM_EDID_PT_SEPARATE_SYNC
l_.str.1:                               ; @.str.1
	.asciz	"composite sync not supported\n"

l_.str.2:                               ; @.str.2
	.asciz	"Incorrect Detailed timing. Wrong Hsync/Vsync pulse width\n"

	.comm	_EDID_QUIRK_FORCE_REDUCED_BLANKING,4,2 ; @EDID_QUIRK_FORCE_REDUCED_BLANKING
	.comm	_EDID_QUIRK_135_CLOCK_TOO_HIGH,4,2 ; @EDID_QUIRK_135_CLOCK_TOO_HIGH
	.comm	_EDID_QUIRK_DETAILED_SYNC_PP,4,2 ; @EDID_QUIRK_DETAILED_SYNC_PP
	.comm	_DRM_EDID_PT_HSYNC_POSITIVE,4,2 ; @DRM_EDID_PT_HSYNC_POSITIVE
	.comm	_DRM_EDID_PT_VSYNC_POSITIVE,4,2 ; @DRM_EDID_PT_VSYNC_POSITIVE
	.comm	_DRM_MODE_FLAG_PHSYNC,4,2       ; @DRM_MODE_FLAG_PHSYNC
	.comm	_DRM_MODE_FLAG_NHSYNC,4,2       ; @DRM_MODE_FLAG_NHSYNC
	.comm	_DRM_MODE_FLAG_PVSYNC,4,2       ; @DRM_MODE_FLAG_PVSYNC
	.comm	_DRM_MODE_FLAG_NVSYNC,4,2       ; @DRM_MODE_FLAG_NVSYNC
	.comm	_EDID_QUIRK_DETAILED_IN_CM,4,2  ; @EDID_QUIRK_DETAILED_IN_CM
	.comm	_EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE,4,2 ; @EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE
	.comm	_DRM_MODE_TYPE_DRIVER,4,2       ; @DRM_MODE_TYPE_DRIVER
	.no_dead_strip	_drm_mode_detailed
.subsections_via_symbols
