	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_inferred_modes
_do_inferred_modes:                     ## @do_inferred_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_EDID_DETAIL_MONITOR_RANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %esi
	movl	4(%rbx), %edi
	movq	%r14, %rdx
	callq	_drm_dmt_modes_for_range
	addl	%eax, 8(%rbx)
	movl	(%rbx), %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_version_greater
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movl	8(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$4, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$2, %eax
	jne	LBB0_9
LBB0_5:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	%r14, %rdx
	callq	_drm_gtf_modes_for_range
	jmp	LBB0_8
LBB0_6:
	movl	(%rbx), %edi
	movl	$1, %esi
	movl	$3, %edx
	callq	_version_greater
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	%r14, %rdx
	callq	_drm_cvt_modes_for_range
LBB0_8:
	addl	%eax, 8(%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDID_DETAIL_MONITOR_RANGE,8,3  ## @EDID_DETAIL_MONITOR_RANGE
	.no_dead_strip	_do_inferred_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_inferred_modes
_do_inferred_modes:                     ; @do_inferred_modes
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EDID_DETAIL_MONITOR_RANGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EDID_DETAIL_MONITOR_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldp	w1, w0, [x1]
	mov	x2, x20
	bl	_drm_dmt_modes_for_range
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
	ldr	w0, [x19]
	mov	w1, #1
	mov	w2, #1
	bl	_version_greater
	cbz	w0, LBB0_9
; %bb.2:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w8, #4
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_9
LBB0_5:
	ldp	w1, w0, [x19]
	mov	x2, x20
	bl	_drm_gtf_modes_for_range
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
	mov	w1, #1
	mov	w2, #3
	bl	_version_greater
	cbz	w0, LBB0_9
; %bb.7:
	ldp	w1, w0, [x19]
	mov	x2, x20
	bl	_drm_cvt_modes_for_range
LBB0_8:
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
LBB0_9:
	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	_EDID_DETAIL_MONITOR_RANGE,8,3  ; @EDID_DETAIL_MONITOR_RANGE
	.no_dead_strip	_do_inferred_modes
.subsections_via_symbols
