	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_set_crtc_vblank_interrupt_state
_dce_v6_0_set_crtc_vblank_interrupt_state: ## @dce_v6_0_set_crtc_vblank_interrupt_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	%esi, (%rdi)
	jle	LBB0_8
## %bb.1:
	cmpl	$6, %esi
	jae	LBB0_8
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.dce_v6_0_set_crtc_vblank_interrupt_state(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rbx
	cmpl	$128, %edx
	je	LBB0_5
## %bb.3:
	cmpl	$129, %edx
	jne	LBB0_7
## %bb.4:
	movq	_mmINT_MASK@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_RREG32
	movq	_VBLANK_INT_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	notq	%rsi
	andq	%rax, %rsi
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DRM_DEBUG                      ## TAILCALL
LBB0_5:
	movq	_mmINT_MASK@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_RREG32
	movq	_VBLANK_INT_MASK@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid crtc %d\n"

	.comm	_SI_CRTC0_REGISTER_OFFSET,8,3   ## @SI_CRTC0_REGISTER_OFFSET
	.comm	_SI_CRTC1_REGISTER_OFFSET,8,3   ## @SI_CRTC1_REGISTER_OFFSET
	.comm	_SI_CRTC2_REGISTER_OFFSET,8,3   ## @SI_CRTC2_REGISTER_OFFSET
	.comm	_SI_CRTC3_REGISTER_OFFSET,8,3   ## @SI_CRTC3_REGISTER_OFFSET
	.comm	_SI_CRTC4_REGISTER_OFFSET,8,3   ## @SI_CRTC4_REGISTER_OFFSET
	.comm	_SI_CRTC5_REGISTER_OFFSET,8,3   ## @SI_CRTC5_REGISTER_OFFSET
	.comm	_mmINT_MASK,8,3                 ## @mmINT_MASK
	.comm	_VBLANK_INT_MASK,8,3            ## @VBLANK_INT_MASK
	.no_dead_strip	_dce_v6_0_set_crtc_vblank_interrupt_state
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.dce_v6_0_set_crtc_vblank_interrupt_state
l_switch.table.dce_v6_0_set_crtc_vblank_interrupt_state:
	.quad	_SI_CRTC0_REGISTER_OFFSET
	.quad	_SI_CRTC1_REGISTER_OFFSET
	.quad	_SI_CRTC2_REGISTER_OFFSET
	.quad	_SI_CRTC3_REGISTER_OFFSET
	.quad	_SI_CRTC4_REGISTER_OFFSET
	.quad	_SI_CRTC5_REGISTER_OFFSET

.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_crtc_vblank_interrupt_state
_dce_v6_0_set_crtc_vblank_interrupt_state: ; @dce_v6_0_set_crtc_vblank_interrupt_state
	.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
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_5
; %bb.1:
	cmp	w1, #6
	b.hs	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, l_switch.table.dce_v6_0_set_crtc_vblank_interrupt_state@PAGE
Lloh1:
	add	x8, x8, l_switch.table.dce_v6_0_set_crtc_vblank_interrupt_state@PAGEOFF
	ldr	x8, [x8, w1, sxtw #3]
	ldr	x19, [x8]
	cmp	w2, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w2, #129
	b.ne	LBB0_8
; %bb.4:
Lloh2:
	adrp	x20, _mmINT_MASK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _mmINT_MASK@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x0, x8, x19
	bl	_RREG32
Lloh4:
	adrp	x8, _VBLANK_INT_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VBLANK_INT_MASK@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	bic	x1, x0, x8
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DRM_DEBUG
LBB0_6:
Lloh9:
	adrp	x20, _mmINT_MASK@GOTPAGE
Lloh10:
	ldr	x20, [x20, _mmINT_MASK@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x0, x8, x19
	bl	_RREG32
Lloh11:
	adrp	x8, _VBLANK_INT_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VBLANK_INT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	orr	x1, x8, x0
LBB0_7:
	ldr	x8, [x20]
	add	x0, x8, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid crtc %d\n"

	.comm	_SI_CRTC0_REGISTER_OFFSET,8,3   ; @SI_CRTC0_REGISTER_OFFSET
	.comm	_SI_CRTC1_REGISTER_OFFSET,8,3   ; @SI_CRTC1_REGISTER_OFFSET
	.comm	_SI_CRTC2_REGISTER_OFFSET,8,3   ; @SI_CRTC2_REGISTER_OFFSET
	.comm	_SI_CRTC3_REGISTER_OFFSET,8,3   ; @SI_CRTC3_REGISTER_OFFSET
	.comm	_SI_CRTC4_REGISTER_OFFSET,8,3   ; @SI_CRTC4_REGISTER_OFFSET
	.comm	_SI_CRTC5_REGISTER_OFFSET,8,3   ; @SI_CRTC5_REGISTER_OFFSET
	.comm	_mmINT_MASK,8,3                 ; @mmINT_MASK
	.comm	_VBLANK_INT_MASK,8,3            ; @VBLANK_INT_MASK
	.no_dead_strip	_dce_v6_0_set_crtc_vblank_interrupt_state
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.dce_v6_0_set_crtc_vblank_interrupt_state
l_switch.table.dce_v6_0_set_crtc_vblank_interrupt_state:
	.quad	_SI_CRTC0_REGISTER_OFFSET
	.quad	_SI_CRTC1_REGISTER_OFFSET
	.quad	_SI_CRTC2_REGISTER_OFFSET
	.quad	_SI_CRTC3_REGISTER_OFFSET
	.quad	_SI_CRTC4_REGISTER_OFFSET
	.quad	_SI_CRTC5_REGISTER_OFFSET

.subsections_via_symbols
