	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_dm_connector_atomic_set_property ## -- Begin function amdgpu_dm_connector_atomic_set_property
	.p2align	4, 0x90
_amdgpu_dm_connector_atomic_set_property: ## @amdgpu_dm_connector_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, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %r15
	movq	8(%r15), %r13
	movq	%rax, %rdi
	callq	_to_dm_connector_state
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_to_dm_connector_state
	cmpq	%rbx, (%r15)
	je	LBB0_1
## %bb.6:
	cmpq	%rbx, 24(%r13)
	je	LBB0_7
## %bb.8:
	cmpq	%rbx, 16(%r13)
	je	LBB0_9
## %bb.10:
	cmpq	%rbx, 8(%r13)
	je	LBB0_11
## %bb.12:
	cmpq	%rbx, (%r13)
	je	LBB0_14
## %bb.13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_16
LBB0_1:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addl	$-129, %r14d
	cmpl	$2, %r14d
	ja	LBB0_2
## %bb.3:
	movslq	%r14d, %rcx
	leaq	l_switch.table.amdgpu_dm_connector_atomic_set_property(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_4
LBB0_7:
	movl	%r14d, 4(%rax)
	jmp	LBB0_15
LBB0_2:
	movq	_RMX_OFF@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	cmpl	%edx, (%rsi)
	je	LBB0_16
## %bb.5:
	movl	%edx, (%rax)
	jmp	LBB0_16
LBB0_9:
	movl	%r14d, 8(%rax)
	jmp	LBB0_15
LBB0_11:
	movl	%r14d, 12(%rax)
	jmp	LBB0_15
LBB0_14:
	movl	%r14d, 16(%rax)
LBB0_15:
	xorl	%ecx, %ecx
LBB0_16:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RMX_CENTER,4,2                 ## @RMX_CENTER
	.comm	_RMX_ASPECT,4,2                 ## @RMX_ASPECT
	.comm	_RMX_FULL,4,2                   ## @RMX_FULL
	.comm	_RMX_OFF,4,2                    ## @RMX_OFF
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.amdgpu_dm_connector_atomic_set_property
l_switch.table.amdgpu_dm_connector_atomic_set_property:
	.quad	_RMX_FULL
	.quad	_RMX_CENTER
	.quad	_RMX_ASPECT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_dm_connector_atomic_set_property ; -- Begin function amdgpu_dm_connector_atomic_set_property
	.p2align	2
_amdgpu_dm_connector_atomic_set_property: ; @amdgpu_dm_connector_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	x19, x3
	mov	x20, x2
	mov	x22, x1
	ldp	x0, x24, [x0]
	ldr	x23, [x24, #8]
	bl	_to_dm_connector_state
	mov	x21, x0
	mov	x0, x22
	bl	_to_dm_connector_state
	ldr	x8, [x24]
	cmp	x8, x20
	b.eq	LBB0_6
; %bb.1:
	ldr	x8, [x23, #24]
	cmp	x8, x20
	b.eq	LBB0_8
; %bb.2:
	ldr	x8, [x23, #16]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.3:
	ldr	x8, [x23, #8]
	cmp	x8, x20
	b.eq	LBB0_14
; %bb.4:
	ldr	x8, [x23]
	cmp	x8, x20
	b.eq	LBB0_15
; %bb.5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_16
LBB0_6:
	sub	w8, w19, #129
	cmp	w8, #2
	b.hi	LBB0_9
; %bb.7:
Lloh3:
	adrp	x9, l_switch.table.amdgpu_dm_connector_atomic_set_property@PAGE
Lloh4:
	add	x9, x9, l_switch.table.amdgpu_dm_connector_atomic_set_property@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_10
LBB0_8:
	mov	w8, #0
	str	w19, [x0, #4]
	b	LBB0_16
LBB0_9:
Lloh5:
	adrp	x8, _RMX_OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RMX_OFF@GOTPAGEOFF]
LBB0_10:
	ldr	w9, [x8]
	ldr	w8, [x21]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #0
	b	LBB0_16
LBB0_12:
	mov	w8, #0
	str	w9, [x0]
	b	LBB0_16
LBB0_13:
	mov	w8, #0
	str	w19, [x0, #8]
	b	LBB0_16
LBB0_14:
	mov	w8, #0
	str	w19, [x0, #12]
	b	LBB0_16
LBB0_15:
	mov	w8, #0
	str	w19, [x0, #16]
LBB0_16:
	mov	x0, x8
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RMX_CENTER,4,2                 ; @RMX_CENTER
	.comm	_RMX_ASPECT,4,2                 ; @RMX_ASPECT
	.comm	_RMX_FULL,4,2                   ; @RMX_FULL
	.comm	_RMX_OFF,4,2                    ; @RMX_OFF
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.amdgpu_dm_connector_atomic_set_property
l_switch.table.amdgpu_dm_connector_atomic_set_property:
	.quad	_RMX_FULL
	.quad	_RMX_CENTER
	.quad	_RMX_ASPECT

.subsections_via_symbols
