	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_display_create_properties
_nouveau_display_create_properties:     ## @nouveau_display_create_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
	movq	%rdi, %r14
	callq	_nouveau_display
	movq	%rax, %r15
	movq	48(%rax), %r12
	movq	_NV50_DISP@GOTPCREL(%rip), %rax
	movq	_GF110_DISP@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %r12
	movq	(%rax), %r13
	setl	%dl
	movl	$2, %ebx
	subl	%edx, %ebx
	xorl	%eax, %eax
	cmpq	%r13, %r12
	cmovll	%eax, %ebx
	movl	40(%r15), %edi
	movq	_dither_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %esi
	callq	_PROP_ENUM
	movl	36(%r15), %edi
	movq	_dither_depth@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %esi
	callq	_PROP_ENUM
	movl	32(%r15), %edi
	movq	_underscan@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %esi
	callq	_PROP_ENUM
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 24(%r15)
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$128, %r8d
	callq	_drm_property_create_range
	movq	%rax, 16(%r15)
	cmpq	%r13, %r12
	jl	LBB0_2
## %bb.1:
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$180, %r8d
	callq	_drm_property_create_range
	movq	%rax, 8(%r15)
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$200, %r8d
	callq	_drm_property_create_range
	movq	%rax, (%r15)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV50_DISP,8,3                  ## @NV50_DISP
	.comm	_GF110_DISP,8,3                 ## @GF110_DISP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dithering mode"

	.comm	_dither_mode,4,2                ## @dither_mode
L_.str.1:                               ## @.str.1
	.asciz	"dithering depth"

	.comm	_dither_depth,4,2               ## @dither_depth
L_.str.2:                               ## @.str.2
	.asciz	"underscan"

	.comm	_underscan,4,2                  ## @underscan
L_.str.3:                               ## @.str.3
	.asciz	"underscan hborder"

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

L_.str.5:                               ## @.str.5
	.asciz	"vibrant hue"

L_.str.6:                               ## @.str.6
	.asciz	"color vibrance"

	.no_dead_strip	_nouveau_display_create_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_display_create_properties
_nouveau_display_create_properties:     ; @nouveau_display_create_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
	mov	x20, x0
	bl	_nouveau_display
	mov	x19, x0
	ldr	x22, [x0, #48]
Lloh0:
	adrp	x8, _NV50_DISP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV50_DISP@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
Lloh3:
	adrp	x8, _GF110_DISP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GF110_DISP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x22, x8
	mov	w8, #1
	cinc	w8, w8, ge
	cmp	x22, x23
	csel	w21, wzr, w8, lt
	ldr	w0, [x0, #40]
Lloh6:
	adrp	x8, _dither_mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dither_mode@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	bl	_PROP_ENUM
	ldr	w0, [x19, #36]
Lloh11:
	adrp	x8, _dither_depth@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dither_depth@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_PROP_ENUM
	ldr	w0, [x19, #32]
Lloh16:
	adrp	x8, _underscan@GOTPAGE
Lloh17:
	ldr	x8, [x8, _underscan@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_PROP_ENUM
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #24]
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	w4, #128
	bl	_drm_property_create_range
	str	x0, [x19, #16]
	cmp	x22, x23
	b.lt	LBB0_2
; %bb.1:
Lloh25:
	adrp	x2, l_.str.5@PAGE
Lloh26:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	w4, #180
	bl	_drm_property_create_range
	str	x0, [x19, #8]
Lloh27:
	adrp	x2, l_.str.6@PAGE
Lloh28:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	w4, #200
	bl	_drm_property_create_range
	str	x0, [x19]
LBB0_2:
	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	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NV50_DISP,8,3                  ; @NV50_DISP
	.comm	_GF110_DISP,8,3                 ; @GF110_DISP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dithering mode"

	.comm	_dither_mode,4,2                ; @dither_mode
l_.str.1:                               ; @.str.1
	.asciz	"dithering depth"

	.comm	_dither_depth,4,2               ; @dither_depth
l_.str.2:                               ; @.str.2
	.asciz	"underscan"

	.comm	_underscan,4,2                  ; @underscan
l_.str.3:                               ; @.str.3
	.asciz	"underscan hborder"

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

l_.str.5:                               ; @.str.5
	.asciz	"vibrant hue"

l_.str.6:                               ; @.str.6
	.asciz	"color vibrance"

	.no_dead_strip	_nouveau_display_create_properties
.subsections_via_symbols
