	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_set_crtc_timing
_init_set_crtc_timing:                  ## @init_set_crtc_timing
	.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, %rbx
	movq	_SetCRTC_UsingDTDTiming@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	cmpl	$3, %eax
	jl	LBB0_4
## %bb.1:
	jne	LBB0_3
## %bb.2:
	movq	_set_crtc_using_dtd_timing_v3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_SetCRTC_Timing@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.5:
	movq	_set_crtc_timing_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	movl	(%r14), %edi
	callq	_BIOS_CMD_TABLE_PARA_REVISION
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	movl	%eax, %esi
	callq	_dm_output_to_console
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SetCRTC_UsingDTDTiming,4,2     ## @SetCRTC_UsingDTDTiming
	.comm	_set_crtc_using_dtd_timing_v3,8,3 ## @set_crtc_using_dtd_timing_v3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Don't have set_crtc_timing for dtd v%d\n"

	.comm	_SetCRTC_Timing,4,2             ## @SetCRTC_Timing
	.comm	_set_crtc_timing_v1,8,3         ## @set_crtc_timing_v1
L_.str.1:                               ## @.str.1
	.asciz	"Don't have set_crtc_timing for v%d\n"

	.no_dead_strip	_init_set_crtc_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_set_crtc_timing
_init_set_crtc_timing:                  ; @init_set_crtc_timing
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SetCRTC_UsingDTDTiming@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SetCRTC_UsingDTDTiming@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
	cmp	w0, #3
	b.lt	LBB0_3
; %bb.1:
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _set_crtc_using_dtd_timing_v3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _set_crtc_using_dtd_timing_v3@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x20, _SetCRTC_Timing@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SetCRTC_Timing@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _set_crtc_timing_v1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _set_crtc_timing_v1@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_5:
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20]
	bl	_BIOS_CMD_TABLE_PARA_REVISION
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_dm_output_to_console
	mov	x8, #0
LBB0_8:
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SetCRTC_UsingDTDTiming,4,2     ; @SetCRTC_UsingDTDTiming
	.comm	_set_crtc_using_dtd_timing_v3,8,3 ; @set_crtc_using_dtd_timing_v3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Don't have set_crtc_timing for dtd v%d\n"

	.comm	_SetCRTC_Timing,4,2             ; @SetCRTC_Timing
	.comm	_set_crtc_timing_v1,8,3         ; @set_crtc_timing_v1
l_.str.1:                               ; @.str.1
	.asciz	"Don't have set_crtc_timing for v%d\n"

	.no_dead_strip	_init_set_crtc_timing
.subsections_via_symbols
