	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ras_interrupt_dispatch  ## -- Begin function amdgpu_ras_interrupt_dispatch
	.p2align	4, 0x90
_amdgpu_ras_interrupt_dispatch:         ## @amdgpu_ras_interrupt_dispatch
	.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
	movq	%rsi, %r14
	addq	$4, %rsi
	callq	_amdgpu_ras_find_obj
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	32(%rbx), %rdi
	movl	(%r14), %esi
	movl	28(%rbx), %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_wmb
	movslq	16(%rbx), %rax
	addq	8(%rbx), %rax
	movslq	20(%rbx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:
	movq	%rdx, 8(%rbx)
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_schedule_work
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ras_interrupt_dispatch  ; -- Begin function amdgpu_ras_interrupt_dispatch
	.p2align	2
_amdgpu_ras_interrupt_dispatch:         ; @amdgpu_ras_interrupt_dispatch
	.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	x20, x1
	add	x1, x1, #4
	bl	_amdgpu_ras_find_obj
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x20]
	ldr	w2, [x19, #28]
	bl	_memcpy
	bl	_wmb
	ldr	x8, [x19, #8]
	ldpsw	x9, x10, [x19, #16]
	add	x8, x8, x9
	udiv	x9, x8, x10
	msub	x8, x9, x10, x8
	str	x8, [x19, #8]
	add	x0, x19, #24
	bl	_schedule_work
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
