	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_set_interleave
_dce_v6_0_set_interleave:               ## @dce_v6_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_to_amdgpu_crtc
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	(%rbx), %esi
	movq	_mmDATA_FORMAT@GOTPCREL(%rip), %rcx
	movq	(%rax), %rdi
	addq	(%rcx), %rdi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_INTERLEAVE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_mmDATA_FORMAT,8,3              ## @mmDATA_FORMAT
	.comm	_INTERLEAVE_EN,4,2              ## @INTERLEAVE_EN
	.no_dead_strip	_dce_v6_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_v6_0_set_interleave
_dce_v6_0_set_interleave:               ; @dce_v6_0_set_interleave
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_amdgpu_crtc
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _mmDATA_FORMAT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _mmDATA_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x11, [x0]
Lloh6:
	adrp	x12, _INTERLEAVE_EN@GOTPAGE
Lloh7:
	ldr	x12, [x12, _INTERLEAVE_EN@GOTPAGEOFF]
	add	x0, x11, x10
Lloh8:
	ldr	w10, [x12]
	tst	w9, w8
	csel	w1, wzr, w10, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_mmDATA_FORMAT,8,3              ; @mmDATA_FORMAT
	.comm	_INTERLEAVE_EN,4,2              ; @INTERLEAVE_EN
	.no_dead_strip	_dce_v6_0_set_interleave
.subsections_via_symbols
