	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_connector_set_lcd_property
_amdgpu_connector_set_lcd_property:     ## @amdgpu_connector_set_lcd_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	cmpq	%r12, (%rbx)
	jne	LBB0_8
## %bb.1:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movq	%rax, %rdi
LBB0_3:
	callq	_to_amdgpu_encoder
	addl	$-128, %r14d
	cmpl	$3, %r14d
	ja	LBB0_4
## %bb.5:
	movslq	%r14d, %rcx
	leaq	l_switch.table.amdgpu_connector_set_lcd_property(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_RMX_FULL@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %ecx
	cmpl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movl	%ecx, (%rax)
	addq	$4, %rax
	movq	%rax, %rdi
	callq	_amdgpu_connector_property_change_mode
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_RMX_OFF,4,2                    ## @RMX_OFF
	.comm	_RMX_CENTER,4,2                 ## @RMX_CENTER
	.comm	_RMX_ASPECT,4,2                 ## @RMX_ASPECT
	.comm	_RMX_FULL,4,2                   ## @RMX_FULL
	.no_dead_strip	_amdgpu_connector_set_lcd_property
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.amdgpu_connector_set_lcd_property
l_switch.table.amdgpu_connector_set_lcd_property:
	.quad	_RMX_OFF
	.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
	.p2align	2                               ; -- Begin function amdgpu_connector_set_lcd_property
_amdgpu_connector_set_lcd_property:     ; @amdgpu_connector_set_lcd_property
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.1:
	ldr	x0, [x20, #8]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_3:
	bl	_to_amdgpu_encoder
	sub	w8, w19, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.4:
Lloh2:
	adrp	x9, l_switch.table.amdgpu_connector_set_lcd_property@PAGE
Lloh3:
	add	x9, x9, l_switch.table.amdgpu_connector_set_lcd_property@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _RMX_FULL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RMX_FULL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	ldr	w9, [x0]
	cmp	w9, w8
	b.eq	LBB0_8
; %bb.7:
	str	w8, [x0], #4
	bl	_amdgpu_connector_property_change_mode
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_RMX_OFF,4,2                    ; @RMX_OFF
	.comm	_RMX_CENTER,4,2                 ; @RMX_CENTER
	.comm	_RMX_ASPECT,4,2                 ; @RMX_ASPECT
	.comm	_RMX_FULL,4,2                   ; @RMX_FULL
	.no_dead_strip	_amdgpu_connector_set_lcd_property
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.amdgpu_connector_set_lcd_property
l_switch.table.amdgpu_connector_set_lcd_property:
	.quad	_RMX_OFF
	.quad	_RMX_FULL
	.quad	_RMX_CENTER
	.quad	_RMX_ASPECT

.subsections_via_symbols
