	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_detailed_mode
_do_detailed_mode:                      ## @do_detailed_mode
	.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
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	movl	20(%rsi), %esi
	movl	16(%rbx), %ecx
	callq	_drm_mode_detailed
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_DRM_MODE_TYPE_PREFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_4:
	movq	%r14, %rdi
	callq	_fixup_detailed_cea_mode_clock
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_drm_mode_probed_add
	incl	4(%rbx)
	movl	$0, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_TYPE_PREFERRED,4,2    ## @DRM_MODE_TYPE_PREFERRED
	.no_dead_strip	_do_detailed_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_detailed_mode
_do_detailed_mode:                      ; @do_detailed_mode
	.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]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x2, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	ldr	w1, [x1, #20]
	ldr	w3, [x19, #16]
	bl	_drm_mode_detailed
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _DRM_MODE_TYPE_PREFERRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_TYPE_PREFERRED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	mov	x0, x20
	bl	_fixup_detailed_cea_mode_clock
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_drm_mode_probed_add
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	stp	wzr, w8, [x19]
LBB0_5:
	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	_DRM_MODE_TYPE_PREFERRED,4,2    ; @DRM_MODE_TYPE_PREFERRED
	.no_dead_strip	_do_detailed_mode
.subsections_via_symbols
