	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_conn_atomic_set_property ## -- Begin function nouveau_conn_atomic_set_property
	.p2align	4, 0x90
_nouveau_conn_atomic_set_property:      ## @nouveau_conn_atomic_set_property
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	%rsi, %rdi
	callq	_nouveau_conn_atom
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_nouveau_display
	cmpq	%r13, (%rbx)
	je	LBB0_10
## %bb.1:
	cmpq	%r13, 48(%rax)
	je	LBB0_13
## %bb.2:
	cmpq	%r13, 40(%rax)
	je	LBB0_19
## %bb.3:
	cmpq	%r13, 32(%rax)
	je	LBB0_21
## %bb.4:
	cmpq	%r13, 24(%rax)
	je	LBB0_23
## %bb.5:
	cmpq	%r13, 16(%rax)
	je	LBB0_25
## %bb.6:
	cmpq	%r13, 8(%rax)
	je	LBB0_27
## %bb.7:
	cmpq	%r13, (%rax)
	jne	LBB0_18
## %bb.8:
	xorl	%eax, %eax
	cmpl	%r15d, 16(%r14)
	je	LBB0_30
## %bb.9:
	movl	%r15d, 16(%r14)
	jmp	LBB0_29
LBB0_10:
	leal	-129(%r15), %ecx
	cmpl	$3, %ecx
	jae	LBB0_15
LBB0_11:
	xorl	%eax, %eax
	cmpl	%r15d, 28(%r14)
	je	LBB0_30
## %bb.12:
	movl	%r15d, 28(%r14)
	movl	$1, (%r14)
	jmp	LBB0_30
LBB0_13:
	xorl	%eax, %eax
	cmpl	%r15d, 32(%r14)
	je	LBB0_30
## %bb.14:
	movl	%r15d, 32(%r14)
	movl	$1, (%r14)
	jmp	LBB0_30
LBB0_15:
	cmpl	$128, %r15d
	jne	LBB0_18
## %bb.16:
	movl	(%r12), %ecx
	andl	$-2, %ecx
	cmpl	$132, %ecx
	jne	LBB0_11
## %bb.17:
	movl	56(%rax), %eax
	movq	_NV50_DISP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_11
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_30
LBB0_19:
	xorl	%eax, %eax
	cmpl	%r15d, 36(%r14)
	je	LBB0_30
## %bb.20:
	movl	%r15d, 36(%r14)
	movl	$1, (%r14)
	jmp	LBB0_30
LBB0_21:
	xorl	%eax, %eax
	cmpl	%r15d, 40(%r14)
	je	LBB0_30
## %bb.22:
	movl	%r15d, 40(%r14)
	movl	$1, (%r14)
	jmp	LBB0_30
LBB0_23:
	xorl	%eax, %eax
	cmpl	%r15d, 20(%r14)
	je	LBB0_30
## %bb.24:
	movl	%r15d, 20(%r14)
	movl	$1, 4(%r14)
	jmp	LBB0_30
LBB0_25:
	xorl	%eax, %eax
	cmpl	%r15d, 20(%r14)
	je	LBB0_30
## %bb.26:
	movl	%r15d, 24(%r14)
	movl	$1, 4(%r14)
	jmp	LBB0_30
LBB0_27:
	xorl	%eax, %eax
	cmpl	%r15d, 12(%r14)
	je	LBB0_30
## %bb.28:
	movl	%r15d, 12(%r14)
LBB0_29:
	movl	$1, 8(%r14)
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV50_DISP,4,2                  ## @NV50_DISP
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_conn_atomic_set_property ; -- Begin function nouveau_conn_atomic_set_property
	.p2align	2
_nouveau_conn_atomic_set_property:      ; @nouveau_conn_atomic_set_property
	.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, x3
	mov	x21, x2
	mov	x22, x0
	ldr	x23, [x0, #8]
	mov	x0, x1
	bl	_nouveau_conn_atom
	mov	x19, x0
	mov	x0, x23
	bl	_nouveau_display
	ldr	x8, [x23]
	cmp	x8, x21
	b.eq	LBB0_10
; %bb.1:
	ldr	x8, [x0, #48]
	cmp	x8, x21
	b.eq	LBB0_13
; %bb.2:
	ldr	x8, [x0, #40]
	cmp	x8, x21
	b.eq	LBB0_19
; %bb.3:
	ldr	x8, [x0, #32]
	cmp	x8, x21
	b.eq	LBB0_21
; %bb.4:
	ldr	x8, [x0, #24]
	cmp	x8, x21
	b.eq	LBB0_24
; %bb.5:
	ldr	x8, [x0, #16]
	cmp	x8, x21
	b.eq	LBB0_26
; %bb.6:
	ldr	x8, [x0, #8]
	cmp	x8, x21
	b.eq	LBB0_29
; %bb.7:
	ldr	x8, [x0]
	cmp	x8, x21
	b.ne	LBB0_18
; %bb.8:
	ldr	w8, [x19, #16]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.9:
	mov	w0, #0
	str	w20, [x19, #16]
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_31
LBB0_10:
	sub	w8, w20, #129
	cmp	w8, #3
	b.hs	LBB0_15
LBB0_11:
	ldr	w8, [x19, #28]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.12:
	mov	w0, #0
	str	w20, [x19, #28]
	b	LBB0_23
LBB0_13:
	ldr	w8, [x19, #32]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.14:
	mov	w0, #0
	str	w20, [x19, #32]
	b	LBB0_23
LBB0_15:
	cmp	w20, #128
	b.ne	LBB0_18
; %bb.16:
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffe
	cmp	w8, #132
	b.ne	LBB0_11
; %bb.17:
	ldr	w8, [x0, #56]
Lloh0:
	adrp	x9, _NV50_DISP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NV50_DISP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_11
LBB0_18:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_31
LBB0_19:
	ldr	w8, [x19, #36]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.20:
	mov	w0, #0
	str	w20, [x19, #36]
	b	LBB0_23
LBB0_21:
	ldr	w8, [x19, #40]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.22:
	mov	w0, #0
	str	w20, [x19, #40]
LBB0_23:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_31
LBB0_24:
	ldr	w8, [x19, #20]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.25:
	mov	w0, #0
	str	w20, [x19, #20]
	b	LBB0_28
LBB0_26:
	ldr	w8, [x19, #20]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.27:
	mov	w0, #0
	str	w20, [x19, #24]
LBB0_28:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_31
LBB0_29:
	ldr	w8, [x19, #12]
	cmp	w8, w20
	b.ne	LBB0_32
LBB0_30:
	mov	w0, #0
LBB0_31:
	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
LBB0_32:
	mov	w0, #0
	mov	w8, #1
	stp	w8, w20, [x19, #8]
	b	LBB0_31
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NV50_DISP,4,2                  ; @NV50_DISP
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
