	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v11_0_set_interleave
_dce_v11_0_set_interleave:              ## @dce_v11_0_set_interleave
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_to_amdgpu_crtc
	movq	%rax, %rbx
	movq	_mmLB_DATA_FORMAT@GOTPCREL(%rip), %r15
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_RREG32
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	andl	(%r14), %edx
	setne	%cl
	movq	_LB_DATA_FORMAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_INTERLEAVE_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %edi
	callq	_REG_SET_FIELD
	movq	(%rbx), %rdi
	addq	(%r15), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmLB_DATA_FORMAT,8,3           ## @mmLB_DATA_FORMAT
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_LB_DATA_FORMAT,4,2             ## @LB_DATA_FORMAT
	.comm	_INTERLEAVE_EN,4,2              ## @INTERLEAVE_EN
	.no_dead_strip	_dce_v11_0_set_interleave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v11_0_set_interleave
_dce_v11_0_set_interleave:              ; @dce_v11_0_set_interleave
	.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, x1
	bl	_to_amdgpu_crtc
	mov	x20, x0
Lloh0:
	adrp	x21, _mmLB_DATA_FORMAT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mmLB_DATA_FORMAT@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x0]
	add	x0, x9, x8
	bl	_RREG32
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w3, ne
Lloh5:
	adrp	x8, _LB_DATA_FORMAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LB_DATA_FORMAT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _INTERLEAVE_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INTERLEAVE_EN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x21]
	ldr	x9, [x20]
	add	x0, x9, x8
	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
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mmLB_DATA_FORMAT,8,3           ; @mmLB_DATA_FORMAT
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_LB_DATA_FORMAT,4,2             ; @LB_DATA_FORMAT
	.comm	_INTERLEAVE_EN,4,2              ; @INTERLEAVE_EN
	.no_dead_strip	_dce_v11_0_set_interleave
.subsections_via_symbols
