	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_modeset_create_props
_radeon_modeset_create_props:           ## @radeon_modeset_create_props
	.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
	cmpq	$0, 88(%rdi)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_drm_property_create_range
	movq	%rax, 80(%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	callq	_ASIC_IS_AVIVO
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_radeon_tmds_pll_enum_list@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 72(%rbx)
LBB0_4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_drm_property_create_range
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	(%rbx), %edi
	callq	_drm_mode_create_scaling_mode_property
	movq	_radeon_tv_std_enum_list@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r14), %ecx
	leaq	L_.str.3(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 56(%rbx)
	movq	_radeon_underscan_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.4(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 48(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_radeon_audio_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.7(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 24(%rbx)
	movq	_radeon_dither_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.8(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 16(%rbx)
	movq	_radeon_output_csc_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.9(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 8(%rbx)
	jmp	LBB0_10
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"coherent"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_radeon_tmds_pll_enum_list,4,2  ## @radeon_tmds_pll_enum_list
L_.str.1:                               ## @.str.1
	.asciz	"tmds_pll"

L_.str.2:                               ## @.str.2
	.asciz	"load detection"

	.comm	_radeon_tv_std_enum_list,4,2    ## @radeon_tv_std_enum_list
L_.str.3:                               ## @.str.3
	.asciz	"tv standard"

	.comm	_radeon_underscan_enum_list,4,2 ## @radeon_underscan_enum_list
L_.str.4:                               ## @.str.4
	.asciz	"underscan"

L_.str.5:                               ## @.str.5
	.asciz	"underscan hborder"

L_.str.6:                               ## @.str.6
	.asciz	"underscan vborder"

	.comm	_radeon_audio_enum_list,4,2     ## @radeon_audio_enum_list
L_.str.7:                               ## @.str.7
	.asciz	"audio"

	.comm	_radeon_dither_enum_list,4,2    ## @radeon_dither_enum_list
L_.str.8:                               ## @.str.8
	.asciz	"dither"

	.comm	_radeon_output_csc_enum_list,4,2 ## @radeon_output_csc_enum_list
L_.str.9:                               ## @.str.9
	.asciz	"output_csc"

	.no_dead_strip	_radeon_modeset_create_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_modeset_create_props
_radeon_modeset_create_props:           ; @radeon_modeset_create_props
	.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
	ldr	x8, [x0, #88]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #1
	bl	_drm_property_create_range
	str	x0, [x19, #80]
	cbz	x0, LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_ASIC_IS_AVIVO
	cbnz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x20, _radeon_tmds_pll_enum_list@GOTPAGE
Lloh3:
	ldr	x20, [x20, _radeon_tmds_pll_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #72]
LBB0_4:
	ldr	w0, [x19]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #1
	bl	_drm_property_create_range
	str	x0, [x19, #64]
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x19]
	bl	_drm_mode_create_scaling_mode_property
Lloh8:
	adrp	x20, _radeon_tv_std_enum_list@GOTPAGE
Lloh9:
	ldr	x20, [x20, _radeon_tv_std_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #56]
Lloh12:
	adrp	x20, _radeon_underscan_enum_list@GOTPAGE
Lloh13:
	ldr	x20, [x20, _radeon_underscan_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #48]
	ldr	w0, [x19]
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w0, [x19]
Lloh18:
	adrp	x2, l_.str.6@PAGE
Lloh19:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #32]
	cbz	x0, LBB0_8
; %bb.7:
Lloh20:
	adrp	x20, _radeon_audio_enum_list@GOTPAGE
Lloh21:
	ldr	x20, [x20, _radeon_audio_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh22:
	adrp	x2, l_.str.7@PAGE
Lloh23:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #24]
Lloh24:
	adrp	x20, _radeon_dither_enum_list@GOTPAGE
Lloh25:
	ldr	x20, [x20, _radeon_dither_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh26:
	adrp	x2, l_.str.8@PAGE
Lloh27:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #16]
Lloh28:
	adrp	x20, _radeon_output_csc_enum_list@GOTPAGE
Lloh29:
	ldr	x20, [x20, _radeon_output_csc_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19]
	ldr	w3, [x20]
Lloh30:
	adrp	x2, l_.str.9@PAGE
Lloh31:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
	b	LBB0_9
LBB0_8:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coherent"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_radeon_tmds_pll_enum_list,4,2  ; @radeon_tmds_pll_enum_list
l_.str.1:                               ; @.str.1
	.asciz	"tmds_pll"

l_.str.2:                               ; @.str.2
	.asciz	"load detection"

	.comm	_radeon_tv_std_enum_list,4,2    ; @radeon_tv_std_enum_list
l_.str.3:                               ; @.str.3
	.asciz	"tv standard"

	.comm	_radeon_underscan_enum_list,4,2 ; @radeon_underscan_enum_list
l_.str.4:                               ; @.str.4
	.asciz	"underscan"

l_.str.5:                               ; @.str.5
	.asciz	"underscan hborder"

l_.str.6:                               ; @.str.6
	.asciz	"underscan vborder"

	.comm	_radeon_audio_enum_list,4,2     ; @radeon_audio_enum_list
l_.str.7:                               ; @.str.7
	.asciz	"audio"

	.comm	_radeon_dither_enum_list,4,2    ; @radeon_dither_enum_list
l_.str.8:                               ; @.str.8
	.asciz	"dither"

	.comm	_radeon_output_csc_enum_list,4,2 ; @radeon_output_csc_enum_list
l_.str.9:                               ; @.str.9
	.asciz	"output_csc"

	.no_dead_strip	_radeon_modeset_create_props
.subsections_via_symbols
