	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_detailed_modes
_add_detailed_modes:                    ## @add_detailed_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	%edi, -48(%rbp)
	movl	%ebx, -44(%rbp)
	movl	$1, -40(%rbp)
	movl	%edx, -36(%rbp)
	movl	$0, -32(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_version_greater
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_DRM_EDID_FEATURE_PREFERRED_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movl	%eax, -44(%rbp)
LBB0_3:
	movq	_do_detailed_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_drm_for_each_detailed_block
	movl	-40(%rbp), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_EDID_FEATURE_PREFERRED_TIMING,4,2 ## @DRM_EDID_FEATURE_PREFERRED_TIMING
	.comm	_do_detailed_mode,4,2           ## @do_detailed_mode
	.no_dead_strip	_add_detailed_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_detailed_modes
_add_detailed_modes:                    ; @add_detailed_modes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	stp	w0, w19, [sp, #8]
	mov	w8, #1
	stp	w8, w2, [sp, #16]
	str	wzr, [sp, #24]
	stp	xzr, xzr, [sp, #32]
	cbz	w19, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3
	bl	_version_greater
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DRM_EDID_FEATURE_PREFERRED_TIMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_EDID_FEATURE_PREFERRED_TIMING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [sp, #12]
LBB0_3:
Lloh3:
	adrp	x8, _do_detailed_mode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _do_detailed_mode@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_drm_for_each_detailed_block
	ldr	w0, [sp, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_EDID_FEATURE_PREFERRED_TIMING,4,2 ; @DRM_EDID_FEATURE_PREFERRED_TIMING
	.comm	_do_detailed_mode,4,2           ; @do_detailed_mode
	.no_dead_strip	_add_detailed_modes
.subsections_via_symbols
