	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_irq_enabled             ## -- Begin function amdgpu_irq_enabled
	.p2align	4, 0x90
_amdgpu_irq_enabled:                    ## @amdgpu_irq_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	je	LBB0_5
## %bb.1:
	cmpl	%edx, (%rsi)
	jbe	LBB0_5
## %bb.2:
	movq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	movq	16(%rsi), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_5
## %bb.4:
	movl	%edx, %eax
	leaq	(%rcx,%rax,4), %rdi
	callq	_atomic_read
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_irq_enabled             ; -- Begin function amdgpu_irq_enabled
	.p2align	2
_amdgpu_irq_enabled:                    ; @amdgpu_irq_enabled
	.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]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	w8, [x1]
	cmp	w8, w2
	b.ls	LBB0_5
; %bb.2:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x1, #16]
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.4:
	add	x0, x8, w2, uxtw #2
	bl	_atomic_read
	cmp	w0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
