	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_fb_helper_parse_command_line
_drm_fb_helper_parse_command_line:      ## @drm_fb_helper_parse_command_line
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_15
## %bb.1:
	movq	%rdi, %r13
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %r8d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	leaq	L_.str.5(%rip), %r9
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rsi, %r9
	cmpq	$0, 16(%rbx)
	leaq	L_.str.7(%rip), %r10
	cmoveq	%rsi, %r10
	cmpq	$0, 8(%rbx)
	leaq	L_.str.8(%rip), %rbx
	cmoveq	%rsi, %rbx
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	pushq	%rbx
	pushq	%r10
	callq	_DRM_DEBUG_KMS
	addq	$16, %rsp
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	8(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	movq	48(%rbx), %r12
	movq	%r12, %rdi
	callq	_drm_get_connector_name
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_fb_get_options
	testq	%rax, %rax
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_drm_mode_parse_command_line_for_connector
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %r15
	cmpl	$130, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %r15
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_drm_get_connector_name
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_DRM_INFO
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	leaq	-48(%rbp), %r15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_drm_get_connector_name
	movl	40(%rbx), %ecx
	movl	44(%rbx), %edx
	cmpq	$0, 32(%rbx)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$60, %r8d
	jmp	LBB0_13
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OFF"

L_.str.1:                               ## @.str.1
	.asciz	"ON - dig"

L_.str.2:                               ## @.str.2
	.asciz	"ON"

L_.str.3:                               ## @.str.3
	.asciz	"forcing %s connector %s\n"

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

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

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

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

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

	.no_dead_strip	_drm_fb_helper_parse_command_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_fb_helper_parse_command_line
_drm_fb_helper_parse_command_line:      ; @drm_fb_helper_parse_command_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x25, #0
Lloh0:
	adrp	x27, l_.str.5@PAGE
Lloh1:
	add	x27, x27, l_.str.5@PAGEOFF
Lloh2:
	adrp	x28, l_.str.6@PAGE
Lloh3:
	add	x28, x28, l_.str.6@PAGEOFF
Lloh4:
	adrp	x26, l_.str.7@PAGE
Lloh5:
	add	x26, x26, l_.str.7@PAGEOFF
Lloh6:
	adrp	x21, l_.str.8@PAGE
Lloh7:
	add	x21, x21, l_.str.8@PAGEOFF
Lloh8:
	adrp	x20, l_.str.4@PAGE
Lloh9:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w4, [x22, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #24]
	cmp	x8, #0
	csel	x5, x28, x27, eq
	ldp	x9, x8, [x22, #8]
	cmp	x8, #0
	csel	x6, x28, x26, eq
	cmp	x9, #0
	csel	x7, x28, x21, eq
	mov	x0, x20
	bl	_DRM_DEBUG_KMS
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x25, lsl #3]
	ldr	x23, [x22, #48]
	mov	x0, x23
	bl	_drm_get_connector_name
	add	x1, sp, #8
	bl	_fb_get_options
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x23
	mov	x2, x22
	bl	_drm_mode_parse_command_line_for_connector
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #128
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh12:
	adrp	x10, l_.str.1@PAGE
Lloh13:
	add	x10, x10, l_.str.1@PAGEOFF
	csel	x9, x9, x10, ne
	cmp	w8, #130
Lloh14:
	adrp	x8, l_.str@PAGE
Lloh15:
	add	x8, x8, l_.str@PAGEOFF
	csel	x24, x8, x9, eq
	mov	x0, x23
	bl	_drm_get_connector_name
	mov	x1, x0
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x24
	bl	_DRM_INFO
	ldr	w8, [x22]
	str	w8, [x23]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_drm_get_connector_name
	mov	x1, x0
	ldp	w3, w2, [x22, #40]
	ldr	x8, [x22, #32]
	cbnz	x8, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w4, #60
	b	LBB0_3
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OFF"

l_.str.1:                               ; @.str.1
	.asciz	"ON - dig"

l_.str.2:                               ; @.str.2
	.asciz	"ON"

l_.str.3:                               ; @.str.3
	.asciz	"forcing %s connector %s\n"

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

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

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

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

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

	.no_dead_strip	_drm_fb_helper_parse_command_line
.subsections_via_symbols
