	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v11_0_set_crtc_vline_interrupt_state
_dce_v11_0_set_crtc_vline_interrupt_state: ## @dce_v11_0_set_crtc_vline_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	%esi, (%rdi)
	jle	LBB0_7
## %bb.1:
	cmpl	$128, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_6
## %bb.3:
	movq	_mmLB_INTERRUPT_MASK@GOTPCREL(%rip), %r14
	movq	_crtc_offsets@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%esi, %rbx
	movq	(%rax,%rbx,8), %rdi
	addq	(%r14), %rdi
	callq	_RREG32
	movq	_LB_INTERRUPT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_VLINE_INTERRUPT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_7:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG                      ## TAILCALL
LBB0_5:
	movq	_mmLB_INTERRUPT_MASK@GOTPCREL(%rip), %r14
	movq	_crtc_offsets@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%esi, %rbx
	movq	(%rax,%rbx,8), %rdi
	addq	(%r14), %rdi
	callq	_RREG32
	movq	_LB_INTERRUPT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_VLINE_INTERRUPT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
LBB0_4:
	callq	_REG_SET_FIELD
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	addq	(%r14), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid crtc %d\n"

	.comm	_mmLB_INTERRUPT_MASK,8,3        ## @mmLB_INTERRUPT_MASK
	.comm	_crtc_offsets,8,3               ## @crtc_offsets
	.comm	_LB_INTERRUPT_MASK,4,2          ## @LB_INTERRUPT_MASK
	.comm	_VLINE_INTERRUPT_MASK,4,2       ## @VLINE_INTERRUPT_MASK
	.no_dead_strip	_dce_v11_0_set_crtc_vline_interrupt_state
.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_crtc_vline_interrupt_state
_dce_v11_0_set_crtc_vline_interrupt_state: ; @dce_v11_0_set_crtc_vline_interrupt_state
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.1:
	cmp	w2, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #129
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x19, _mmLB_INTERRUPT_MASK@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mmLB_INTERRUPT_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x20, _crtc_offsets@GOTPAGE
Lloh3:
	ldr	x20, [x20, _crtc_offsets@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x20]
	sbfiz	x21, x1, #3, #32
	ldr	x9, [x9, x21]
	add	x0, x9, x8
	bl	_RREG32
Lloh4:
	adrp	x8, _LB_INTERRUPT_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LB_INTERRUPT_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _VLINE_INTERRUPT_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VLINE_INTERRUPT_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #0
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	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	_DRM_DEBUG
LBB0_5:
Lloh12:
	adrp	x19, _mmLB_INTERRUPT_MASK@GOTPAGE
Lloh13:
	ldr	x19, [x19, _mmLB_INTERRUPT_MASK@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh14:
	adrp	x20, _crtc_offsets@GOTPAGE
Lloh15:
	ldr	x20, [x20, _crtc_offsets@GOTPAGEOFF]
	ldr	x9, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
	sbfiz	x21, x1, #3, #32
	ldr	x9, [x9, x21]
	add	x0, x9, x8
	bl	_RREG32
Lloh16:
	adrp	x8, _LB_INTERRUPT_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LB_INTERRUPT_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _VLINE_INTERRUPT_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VLINE_INTERRUPT_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w3, #1
LBB0_6:
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9, x21]
	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
LBB0_7:
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid crtc %d\n"

	.comm	_mmLB_INTERRUPT_MASK,8,3        ; @mmLB_INTERRUPT_MASK
	.comm	_crtc_offsets,8,3               ; @crtc_offsets
	.comm	_LB_INTERRUPT_MASK,4,2          ; @LB_INTERRUPT_MASK
	.comm	_VLINE_INTERRUPT_MASK,4,2       ; @VLINE_INTERRUPT_MASK
	.no_dead_strip	_dce_v11_0_set_crtc_vline_interrupt_state
.subsections_via_symbols
