	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ras_debugfs_create      ## -- Begin function amdgpu_ras_debugfs_create
	.p2align	4, 0x90
_amdgpu_ras_debugfs_create:             ## @amdgpu_ras_debugfs_create
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_amdgpu_ras_get_context
	movq	%rax, %r14
	leaq	4(%r15), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_ras_find_obj
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_obj
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	movq	_S_IWUGO@GOTPCREL(%rip), %rax
	movq	_S_IRUGO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%r14), %edx
	movq	_amdgpu_ras_debugfs_ops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	%rax, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IWUGO,4,2                    ## @S_IWUGO
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_amdgpu_ras_debugfs_ops,4,2     ## @amdgpu_ras_debugfs_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ras_debugfs_create      ; -- Begin function amdgpu_ras_debugfs_create
	.p2align	2
_amdgpu_ras_debugfs_create:             ; @amdgpu_ras_debugfs_create
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_amdgpu_ras_get_context
	mov	x20, x0
	add	x1, x21, #4
	mov	x0, x19
	bl	_amdgpu_ras_find_obj
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_get_obj
	ldr	w0, [x19]
	ldr	w1, [x21]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _S_IWUGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IWUGO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _S_IRUGO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S_IRUGO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x20]
Lloh6:
	adrp	x4, _amdgpu_ras_debugfs_ops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _amdgpu_ras_debugfs_ops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	str	x0, [x19, #8]
LBB0_3:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IWUGO,4,2                    ; @S_IWUGO
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_amdgpu_ras_debugfs_ops,4,2     ; @amdgpu_ras_debugfs_ops
.subsections_via_symbols
