	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_ras_debugfs_create_ctrl_node
_amdgpu_ras_debugfs_create_ctrl_node:   ## @amdgpu_ras_debugfs_create_ctrl_node
	.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	%rdi, %rbx
	callq	_amdgpu_ras_get_context
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_debugfs_create_dir
	movl	%eax, (%r14)
	movq	_S_IWUGO@GOTPCREL(%rip), %rcx
	movq	_S_IRUGO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_amdgpu_ras_debugfs_ctrl_ops@GOTPCREL(%rip), %r8
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ras"

L_.str.1:                               ## @.str.1
	.asciz	"ras_ctrl"

	.comm	_S_IWUGO,4,2                    ## @S_IWUGO
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_amdgpu_ras_debugfs_ctrl_ops,4,2 ## @amdgpu_ras_debugfs_ctrl_ops
	.no_dead_strip	_amdgpu_ras_debugfs_create_ctrl_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_ras_debugfs_create_ctrl_node
_amdgpu_ras_debugfs_create_ctrl_node:   ; @amdgpu_ras_debugfs_create_ctrl_node
	.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	x19, x0
	bl	_amdgpu_ras_get_context
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debugfs_create_dir
	mov	x2, x0
Lloh2:
	adrp	x8, _S_IWUGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_IWUGO@GOTPAGEOFF]
	str	w0, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _S_IRUGO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_IRUGO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh10:
	adrp	x4, _amdgpu_ras_debugfs_ctrl_ops@GOTPAGE
Lloh11:
	ldr	x4, [x4, _amdgpu_ras_debugfs_ctrl_ops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	str	w0, [x20, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ras"

l_.str.1:                               ; @.str.1
	.asciz	"ras_ctrl"

	.comm	_S_IWUGO,4,2                    ; @S_IWUGO
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_amdgpu_ras_debugfs_ctrl_ops,4,2 ; @amdgpu_ras_debugfs_ctrl_ops
	.no_dead_strip	_amdgpu_ras_debugfs_create_ctrl_node
.subsections_via_symbols
