	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_create_tv_properties  ## -- Begin function drm_mode_create_tv_properties
	.p2align	4, 0x90
_drm_mode_create_tv_properties:         ## @drm_mode_create_tv_properties
	.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
	cmpq	$0, 96(%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_drm_tv_select_enum_list@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 96(%r12)
	movq	_DRM_MODE_PROP_IMMUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_drm_tv_subconnector_enum_list@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 88(%r12)
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 80(%r12)
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 72(%r12)
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 64(%r12)
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 56(%r12)
	movq	_DRM_MODE_PROP_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_drm_property_create
	movl	%eax, 48(%r12)
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.2:
	movq	(%r14), %rcx
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_drm_property_add_enum
	cmpl	$1, %r15d
	je	LBB0_5
## %bb.3:
	movl	%r15d, %r15d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	48(%r12), %edi
	movq	(%r14,%rbx,8), %rcx
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_drm_property_add_enum
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_4
LBB0_5:
	leaq	L_.str.7(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 40(%r12)
	leaq	L_.str.8(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 32(%r12)
	leaq	L_.str.9(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 24(%r12)
	leaq	L_.str.10(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 16(%r12)
	leaq	L_.str.11(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, 8(%r12)
	leaq	L_.str.12(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$100, %r8d
	callq	_drm_property_create_range
	movq	%rax, (%r12)
LBB0_6:
	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	"select subconnector"

	.comm	_drm_tv_select_enum_list,4,2    ## @drm_tv_select_enum_list
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ## @DRM_MODE_PROP_IMMUTABLE
L_.str.1:                               ## @.str.1
	.asciz	"subconnector"

	.comm	_drm_tv_subconnector_enum_list,4,2 ## @drm_tv_subconnector_enum_list
L_.str.2:                               ## @.str.2
	.asciz	"left margin"

L_.str.3:                               ## @.str.3
	.asciz	"right margin"

L_.str.4:                               ## @.str.4
	.asciz	"top margin"

L_.str.5:                               ## @.str.5
	.asciz	"bottom margin"

	.comm	_DRM_MODE_PROP_ENUM,4,2         ## @DRM_MODE_PROP_ENUM
L_.str.6:                               ## @.str.6
	.asciz	"mode"

L_.str.7:                               ## @.str.7
	.asciz	"brightness"

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

L_.str.9:                               ## @.str.9
	.asciz	"flicker reduction"

L_.str.10:                              ## @.str.10
	.asciz	"overscan"

L_.str.11:                              ## @.str.11
	.asciz	"saturation"

L_.str.12:                              ## @.str.12
	.asciz	"hue"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_create_tv_properties  ; -- Begin function drm_mode_create_tv_properties
	.p2align	2
_drm_mode_create_tv_properties:         ; @drm_mode_create_tv_properties
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0, #96]
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _drm_tv_select_enum_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drm_tv_select_enum_list@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x4, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x3, x22
	bl	_drm_property_create_enum
	str	x0, [x19, #96]
Lloh5:
	adrp	x8, _DRM_MODE_PROP_IMMUTABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRM_MODE_PROP_IMMUTABLE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _drm_tv_subconnector_enum_list@GOTPAGE
Lloh9:
	ldr	x8, [x8, _drm_tv_subconnector_enum_list@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x4, x0
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x3, x23
	bl	_drm_property_create_enum
	str	x0, [x19, #88]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #80]
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #72]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #64]
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #56]
Lloh21:
	adrp	x8, _DRM_MODE_PROP_ENUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DRM_MODE_PROP_ENUM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_drm_property_create
	str	w0, [x19, #48]
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x3, [x20]
	mov	w1, #0
	mov	w2, #0
	bl	_drm_property_add_enum
	cmp	w21, #1
	b.eq	LBB0_5
; %bb.3:
	mov	w22, w21
	mov	w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #48]
	ldr	x3, [x20, x21, lsl #3]
	mov	x1, x21
	mov	x2, x21
	bl	_drm_property_add_enum
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_4
LBB0_5:
Lloh26:
	adrp	x2, l_.str.7@PAGE
Lloh27:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #40]
Lloh28:
	adrp	x2, l_.str.8@PAGE
Lloh29:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #32]
Lloh30:
	adrp	x2, l_.str.9@PAGE
Lloh31:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #24]
Lloh32:
	adrp	x2, l_.str.10@PAGE
Lloh33:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #16]
Lloh34:
	adrp	x2, l_.str.11@PAGE
Lloh35:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19, #8]
Lloh36:
	adrp	x2, l_.str.12@PAGE
Lloh37:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #100
	bl	_drm_property_create_range
	str	x0, [x19]
LBB0_6:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select subconnector"

	.comm	_drm_tv_select_enum_list,4,2    ; @drm_tv_select_enum_list
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ; @DRM_MODE_PROP_IMMUTABLE
l_.str.1:                               ; @.str.1
	.asciz	"subconnector"

	.comm	_drm_tv_subconnector_enum_list,4,2 ; @drm_tv_subconnector_enum_list
l_.str.2:                               ; @.str.2
	.asciz	"left margin"

l_.str.3:                               ; @.str.3
	.asciz	"right margin"

l_.str.4:                               ; @.str.4
	.asciz	"top margin"

l_.str.5:                               ; @.str.5
	.asciz	"bottom margin"

	.comm	_DRM_MODE_PROP_ENUM,4,2         ; @DRM_MODE_PROP_ENUM
l_.str.6:                               ; @.str.6
	.asciz	"mode"

l_.str.7:                               ; @.str.7
	.asciz	"brightness"

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

l_.str.9:                               ; @.str.9
	.asciz	"flicker reduction"

l_.str.10:                              ; @.str.10
	.asciz	"overscan"

l_.str.11:                              ; @.str.11
	.asciz	"saturation"

l_.str.12:                              ; @.str.12
	.asciz	"hue"

.subsections_via_symbols
