	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function panel_simple_parse_panel_timing_node
_panel_simple_parse_panel_timing_node:  ## @panel_simple_parse_panel_timing_node
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	movl	(%r15), %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	xorl	%edi, %edi
	cmpl	$0, 4(%r15)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_17
## %bb.5:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movl	4(%rax), %ecx
	addq	$8, %r12
	cmpq	%rcx, %r14
	jae	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rbx
	leaq	(%rbx,%r12), %r13
	movq	_hactive@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_hfront_porch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_hback_porch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_hsync_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_vactive@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_vfront_porch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_vback_porch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_vsync_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_PANEL_SIMPLE_BOUNDS_CHECK
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rax
	cmpq	(%rbx,%r12), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-72(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_videomode_from_timing
	movq	%r14, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_drm_display_mode_from_videomode
	movq	_DRM_MODE_TYPE_DRIVER@GOTPCREL(%rip), %rax
	movq	_DRM_MODE_TYPE_PREFERRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
LBB0_17:
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reject override mode: panel has a fixed mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"Reject override mode: no timings specified\n"

	.comm	_hactive,4,2                    ## @hactive
	.comm	_hfront_porch,4,2               ## @hfront_porch
	.comm	_hback_porch,4,2                ## @hback_porch
	.comm	_hsync_len,4,2                  ## @hsync_len
	.comm	_vactive,4,2                    ## @vactive
	.comm	_vfront_porch,4,2               ## @vfront_porch
	.comm	_vback_porch,4,2                ## @vback_porch
	.comm	_vsync_len,4,2                  ## @vsync_len
	.comm	_DRM_MODE_TYPE_DRIVER,4,2       ## @DRM_MODE_TYPE_DRIVER
	.comm	_DRM_MODE_TYPE_PREFERRED,4,2    ## @DRM_MODE_TYPE_PREFERRED
L_.str.2:                               ## @.str.2
	.asciz	"Reject override mode: No display_timing found\n"

	.no_dead_strip	_panel_simple_parse_panel_timing_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function panel_simple_parse_panel_timing_node
_panel_simple_parse_panel_timing_node:  ; @panel_simple_parse_panel_timing_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x1, #8]
	ldr	w0, [x22]
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w8, [x22, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_err
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_18
; %bb.6:
	mov	x23, #0
	mov	x24, #0
Lloh4:
	adrp	x25, _hactive@GOTPAGE
Lloh5:
	ldr	x25, [x25, _hactive@GOTPAGEOFF]
Lloh6:
	adrp	x26, _hfront_porch@GOTPAGE
Lloh7:
	ldr	x26, [x26, _hfront_porch@GOTPAGEOFF]
Lloh8:
	adrp	x27, _hback_porch@GOTPAGE
Lloh9:
	ldr	x27, [x27, _hback_porch@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #4]
	add	x23, x23, #8
	cmp	x24, x9
	b.hs	LBB0_18
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x8, #8]
	add	x22, x28, x23
	ldr	w2, [x25]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x27]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh10:
	adrp	x8, _hsync_len@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hsync_len@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh13:
	adrp	x8, _vactive@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vactive@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh16:
	adrp	x8, _vfront_porch@GOTPAGE
Lloh17:
	ldr	x8, [x8, _vfront_porch@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh19:
	adrp	x8, _vback_porch@GOTPAGE
Lloh20:
	ldr	x8, [x8, _vback_porch@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh22:
	adrp	x8, _vsync_len@GOTPAGE
Lloh23:
	ldr	x8, [x8, _vsync_len@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_PANEL_SIMPLE_BOUNDS_CHECK
	cbz	w0, LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x28, x23]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.17:
	add	x1, sp, #8
	mov	x0, x21
	bl	_videomode_from_timing
	add	x0, sp, #8
	mov	x1, x20
	bl	_drm_display_mode_from_videomode
Lloh25:
	adrp	x8, _DRM_MODE_TYPE_DRIVER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DRM_MODE_TYPE_DRIVER@GOTPAGEOFF]
Lloh27:
	adrp	x9, _DRM_MODE_TYPE_PREFERRED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DRM_MODE_TYPE_PREFERRED@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_18:
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_20
; %bb.19:
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reject override mode: panel has a fixed mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"Reject override mode: no timings specified\n"

	.comm	_hactive,4,2                    ; @hactive
	.comm	_hfront_porch,4,2               ; @hfront_porch
	.comm	_hback_porch,4,2                ; @hback_porch
	.comm	_hsync_len,4,2                  ; @hsync_len
	.comm	_vactive,4,2                    ; @vactive
	.comm	_vfront_porch,4,2               ; @vfront_porch
	.comm	_vback_porch,4,2                ; @vback_porch
	.comm	_vsync_len,4,2                  ; @vsync_len
	.comm	_DRM_MODE_TYPE_DRIVER,4,2       ; @DRM_MODE_TYPE_DRIVER
	.comm	_DRM_MODE_TYPE_PREFERRED,4,2    ; @DRM_MODE_TYPE_PREFERRED
l_.str.2:                               ; @.str.2
	.asciz	"Reject override mode: No display_timing found\n"

	.no_dead_strip	_panel_simple_parse_panel_timing_node
.subsections_via_symbols
