	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_v4_0_process_ras_data_cb
_sdma_v4_0_process_ras_data_cb:         ## @sdma_v4_0_process_ras_data_cb
	.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	%rdx, %rbx
	movq	%rdi, %r14
	movl	4(%rdx), %edi
	callq	_sdma_v4_0_irq_id_to_seq
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.1:
	movl	(%rbx), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	callq	_kgd2kfd_set_sram_ecc_flag
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_amdgpu_ras_reset_gpu
	movq	_AMDGPU_RAS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_RAS_SUCCESS,4,2         ## @AMDGPU_RAS_SUCCESS
	.no_dead_strip	_sdma_v4_0_process_ras_data_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_v4_0_process_ras_data_cb
_sdma_v4_0_process_ras_data_cb:         ; @sdma_v4_0_process_ras_data_cb
	.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, x2
	mov	x19, x0
	ldr	w0, [x2, #4]
	bl	_sdma_v4_0_irq_id_to_seq
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19]
	bl	_kgd2kfd_set_sram_ecc_flag
	mov	x0, x19
	mov	w1, #0
	bl	_amdgpu_ras_reset_gpu
Lloh0:
	adrp	x8, _AMDGPU_RAS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_RAS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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	_AMDGPU_RAS_SUCCESS,4,2         ; @AMDGPU_RAS_SUCCESS
	.no_dead_strip	_sdma_v4_0_process_ras_data_cb
.subsections_via_symbols
