	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_display_modeset_create_props ## -- Begin function amdgpu_display_modeset_create_props
	.p2align	4, 0x90
_amdgpu_display_modeset_create_props:   ## @amdgpu_display_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
	movl	64(%rdi), %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, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	64(%rbx), %edi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_drm_property_create_range
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	64(%rbx), %edi
	callq	_drm_mode_create_scaling_mode_property
	movq	_amdgpu_underscan_enum_list@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	movl	64(%rbx), %edi
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 40(%rbx)
	movl	64(%rbx), %edi
	leaq	L_.str.3(%rip), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movl	64(%rbx), %edi
	leaq	L_.str.4(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_amdgpu_audio_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	64(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.5(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 16(%rbx)
	movq	_amdgpu_dither_enum_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	64(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.6(%rip), %rdx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_drm_property_create_enum
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_amdgpu_device_has_dc_support
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	64(%rbx), %edi
	leaq	L_.str.7(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	_drm_property_create_range
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_9
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	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	"coherent"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"load detection"

	.comm	_amdgpu_underscan_enum_list,4,2 ## @amdgpu_underscan_enum_list
L_.str.2:                               ## @.str.2
	.asciz	"underscan"

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

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

	.comm	_amdgpu_audio_enum_list,4,2     ## @amdgpu_audio_enum_list
L_.str.5:                               ## @.str.5
	.asciz	"audio"

	.comm	_amdgpu_dither_enum_list,4,2    ## @amdgpu_dither_enum_list
L_.str.6:                               ## @.str.6
	.asciz	"dither"

L_.str.7:                               ## @.str.7
	.asciz	"abm level"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_display_modeset_create_props ; -- Begin function amdgpu_display_modeset_create_props
	.p2align	2
_amdgpu_display_modeset_create_props:   ; @amdgpu_display_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	w0, [x0, #64]
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, #56]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w0, [x19, #64]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #1
	bl	_drm_property_create_range
	str	x0, [x19, #48]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19, #64]
	bl	_drm_mode_create_scaling_mode_property
Lloh4:
	adrp	x20, _amdgpu_underscan_enum_list@GOTPAGE
Lloh5:
	ldr	x20, [x20, _amdgpu_underscan_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19, #64]
	ldr	w3, [x20]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #40]
	ldr	w0, [x19, #64]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #32]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19, #64]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.4:
Lloh12:
	adrp	x20, _amdgpu_audio_enum_list@GOTPAGE
Lloh13:
	ldr	x20, [x20, _amdgpu_audio_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19, #64]
	ldr	w3, [x20]
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #16]
Lloh16:
	adrp	x20, _amdgpu_dither_enum_list@GOTPAGE
Lloh17:
	ldr	x20, [x20, _amdgpu_dither_enum_list@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w0, [x19, #64]
	ldr	w3, [x20]
Lloh18:
	adrp	x2, l_.str.6@PAGE
Lloh19:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #0
	bl	_drm_property_create_enum
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_amdgpu_device_has_dc_support
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x19, #64]
Lloh20:
	adrp	x2, l_.str.7@PAGE
Lloh21:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	mov	w4, #4
	bl	_drm_property_create_range
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	cbnz	x8, LBB0_7
LBB0_6:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coherent"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"load detection"

	.comm	_amdgpu_underscan_enum_list,4,2 ; @amdgpu_underscan_enum_list
l_.str.2:                               ; @.str.2
	.asciz	"underscan"

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

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

	.comm	_amdgpu_audio_enum_list,4,2     ; @amdgpu_audio_enum_list
l_.str.5:                               ; @.str.5
	.asciz	"audio"

	.comm	_amdgpu_dither_enum_list,4,2    ; @amdgpu_dither_enum_list
l_.str.6:                               ; @.str.6
	.asciz	"dither"

l_.str.7:                               ; @.str.7
	.asciz	"abm level"

.subsections_via_symbols
