	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_connector_get_cmdline_mode
_drm_connector_get_cmdline_mode:        ## @drm_connector_get_cmdline_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movl	(%rdi), %edi
	leaq	-32(%rbp), %rsi
	callq	_fb_get_options
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	leaq	16(%rbx), %r14
	movq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_drm_mode_parse_command_line_for_connector
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %r15d
	callq	_drm_get_connector_force_name
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_DRM_INFO
	movq	72(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_4:
	movl	(%rbx), %esi
	movl	56(%rbx), %r8d
	movl	64(%rbx), %edx
	movl	60(%rbx), %ecx
	cmpq	$0, 48(%rbx)
	je	LBB0_5
## %bb.6:
	movl	(%r14), %r9d
	jmp	LBB0_7
LBB0_5:
	movl	$60, %r9d
LBB0_7:
	cmpq	$0, 40(%rbx)
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.2(%rip), %r10
	cmoveq	%rdi, %r10
	cmpq	$0, 32(%rbx)
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rdi, %rax
	cmpq	$0, 24(%rbx)
	leaq	L_.str.5(%rip), %rbx
	cmoveq	%rdi, %rbx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	callq	_DRM_DEBUG_KMS
	addq	$32, %rsp
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forcing %s connector %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"cmdline mode for connector %s %s %dx%d@%dHz%s%s%s\n"

L_.str.2:                               ## @.str.2
	.asciz	" reduced blanking"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	" with margins"

L_.str.5:                               ## @.str.5
	.asciz	" interlaced"

	.no_dead_strip	_drm_connector_get_cmdline_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_connector_get_cmdline_mode
_drm_connector_get_cmdline_mode:        ; @drm_connector_get_cmdline_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	x20, x0
	ldr	w0, [x20], #16
	str	xzr, [sp, #8]
	add	x1, sp, #8
	bl	_fb_get_options
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	x0, [sp, #8]
	mov	x1, x19
	mov	x2, x20
	bl	_drm_mode_parse_command_line_for_connector
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w21, [x19]
	bl	_drm_get_connector_force_name
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DRM_INFO
	ldr	x8, [x19, #72]
	str	x8, [x19, #8]
LBB0_4:
	ldr	w1, [x19]
	ldp	w3, w2, [x19, #60]
	ldr	w4, [x19, #56]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w5, [x20]
	b	LBB0_7
LBB0_6:
	mov	w5, #60
LBB0_7:
	ldr	x8, [x19, #40]
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh4:
	adrp	x10, l_.str.3@PAGE
Lloh5:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x6, x10, x9, eq
Lloh6:
	adrp	x8, l_.str.4@PAGE
Lloh7:
	add	x8, x8, l_.str.4@PAGEOFF
	ldp	x11, x9, [x19, #24]
	cmp	x9, #0
	csel	x7, x10, x8, eq
Lloh8:
	adrp	x8, l_.str.5@PAGE
Lloh9:
	add	x8, x8, l_.str.5@PAGEOFF
	cmp	x11, #0
	csel	x8, x10, x8, eq
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forcing %s connector %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"cmdline mode for connector %s %s %dx%d@%dHz%s%s%s\n"

l_.str.2:                               ; @.str.2
	.asciz	" reduced blanking"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	" with margins"

l_.str.5:                               ; @.str.5
	.asciz	" interlaced"

	.no_dead_strip	_drm_connector_get_cmdline_mode
.subsections_via_symbols
