	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_irq_state
_dm_irq_state:                          ## @dm_irq_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	%edx, %esi
	movq	(%rax,%rsi,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %esi
	cmpl	$-1, %esi
	je	LBB0_4
## %bb.3:
	addl	%r8d, %esi
	movq	_AMDGPU_IRQ_STATE_ENABLE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	%ecx, (%rax)
	sete	%dl
	movl	(%rdi), %edi
	callq	_dc_interrupt_set
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r9, %rsi
	callq	_DRM_ERROR
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: crtc is NULL at id :%d\n"

	.comm	_AMDGPU_IRQ_STATE_ENABLE,4,2    ## @AMDGPU_IRQ_STATE_ENABLE
	.no_dead_strip	_dm_irq_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_irq_state
_dm_irq_state:                          ; @dm_irq_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	ldr	x8, [x8, w2, uxtw #3]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.2:
	add	w1, w8, w4
Lloh0:
	adrp	x8, _AMDGPU_IRQ_STATE_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_IRQ_STATE_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	cset	w2, eq
	ldr	w0, [x0]
	bl	_dc_interrupt_set
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x5
	bl	_DRM_ERROR
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: crtc is NULL at id :%d\n"

	.comm	_AMDGPU_IRQ_STATE_ENABLE,4,2    ; @AMDGPU_IRQ_STATE_ENABLE
	.no_dead_strip	_dm_irq_state
.subsections_via_symbols
