	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_est3_modes
_drm_est3_modes:                        ## @drm_est3_modes
	.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	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%r12d, %r12d
	movl	$12, %r14d
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	subq	$-128, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	addq	$8, %r12
	cmpq	$6, %r13
	je	LBB0_8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	$8, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	addq	$16, %r14
	incq	%r12
	decq	%r15
	je	LBB0_7
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_est3_modes@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r12
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax,%r13,4), %eax
	leal	-1(%r15), %ecx
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rbx), %edi
	movq	_est3_modes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14), %esi
	movl	-4(%rax,%r14), %edx
	movl	-12(%rax,%r14), %r8d
	movl	-8(%rax,%r14), %ecx
	callq	_drm_mode_find_dmt
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_drm_mode_probed_add
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_est3_modes,8,3                 ## @est3_modes
	.no_dead_strip	_drm_est3_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_est3_modes
_drm_est3_modes:                        ; @drm_est3_modes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
	mov	w20, #0
	add	x24, x1, #24
Lloh0:
	adrp	x25, _est3_modes@GOTPAGE
Lloh1:
	ldr	x25, [x25, _est3_modes@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	add	x22, x22, #128
	add	x21, x21, #8
	cmp	x23, #6
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x26, x21
	mov	x27, x22
	mov	w28, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	add	x27, x27, #16
	add	x26, x26, #1
	subs	x28, x28, #1
	b.eq	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	x26, w0, sxtw
	b.ge	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x24, x23, lsl #2]
	sub	w9, w28, #1
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x19]
	ldr	x8, [x25]
	add	x8, x8, x27
	ldp	w2, w1, [x8, #8]
	ldp	w4, w3, [x8]
	bl	_drm_mode_find_dmt
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x1, x0
	mov	x0, x19
	bl	_drm_mode_probed_add
	add	w20, w20, #1
	b	LBB0_3
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_est3_modes,8,3                 ; @est3_modes
	.no_dead_strip	_drm_est3_modes
.subsections_via_symbols
