	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_connector_set_property
_nouveau_connector_set_property:        ## @nouveau_connector_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_nouveau_conn_atom
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_nouveau_connector
	movq	%rax, %r14
	movq	16(%rax), %r15
	movq	%r15, %rdi
	callq	_to_drm_encoder
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	leaq	8(%r14), %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %rsi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %r12d
	testq	%r15, %r15
	je	LBB0_8
## %bb.2:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_DCB_OUTPUT_TV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movq	%rbx, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_slave_funcs
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %eax
	movl	%eax, 4(%r14)
	movl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	(%rbx), %rax
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	leaq	8(%rdi), %rsi
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	callq	_drm_crtc_helper_set_mode
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCB_OUTPUT_TV,8,3              ## @DCB_OUTPUT_TV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nouveau_connector_set_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_connector_set_property
_nouveau_connector_set_property:        ; @nouveau_connector_set_property
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_nouveau_conn_atom
	mov	x23, x0
	mov	x0, x19
	bl	_nouveau_connector
	mov	x25, x0
	ldr	x24, [x0, #16]
	mov	x0, x24
	bl	_to_drm_encoder
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x0, x25, #8
	add	x1, x23, #8
	mov	x2, x21
	mov	x3, x20
	blr	x8
	cbz	w0, LBB0_4
; %bb.1:
	cbz	x24, LBB0_9
; %bb.2:
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DCB_OUTPUT_TV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCB_OUTPUT_TV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x22
	bl	_get_slave_funcs
	ldr	x4, [x0]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x4
LBB0_4:
	ldr	d0, [x23]
	str	d0, [x25]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.6:
	add	x1, x0, #8
	ldp	w3, w2, [x0]
	mov	x4, #0
	bl	_drm_crtc_helper_set_mode
	cbz	w0, LBB0_8
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DCB_OUTPUT_TV,8,3              ; @DCB_OUTPUT_TV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nouveau_connector_set_property
.subsections_via_symbols
