	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gru_proc_init                  ## -- Begin function gru_proc_init
	.p2align	4, 0x90
_gru_proc_init:                         ## @gru_proc_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_proc_mkdir
	movq	_proc_gru@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	$-1, %ecx
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	_statistics_fops@GOTPCREL(%rip), %rcx
	movl	$420, %esi                      ## imm = 0x1A4
	movl	%eax, %edx
	callq	_proc_create
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_mcs_statistics_fops@GOTPCREL(%rip), %rcx
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_proc_create
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	_options_fops@GOTPCREL(%rip), %rcx
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_proc_create
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	_cch_seq_ops@GOTPCREL(%rip), %rcx
	movl	$292, %esi                      ## imm = 0x124
	callq	_proc_create_seq
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
	movq	_gru_seq_ops@GOTPCREL(%rip), %rcx
	movl	$292, %esi                      ## imm = 0x124
	callq	_proc_create_seq
	xorl	%ecx, %ecx
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_remove_proc_subtree
	movl	$-1, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sgi_uv/gru"

	.comm	_proc_gru,4,2                   ## @proc_gru
L_.str.1:                               ## @.str.1
	.asciz	"statistics"

	.comm	_statistics_fops,4,2            ## @statistics_fops
L_.str.2:                               ## @.str.2
	.asciz	"mcs_statistics"

	.comm	_mcs_statistics_fops,4,2        ## @mcs_statistics_fops
L_.str.3:                               ## @.str.3
	.asciz	"debug_options"

	.comm	_options_fops,4,2               ## @options_fops
L_.str.4:                               ## @.str.4
	.asciz	"cch_status"

	.comm	_cch_seq_ops,4,2                ## @cch_seq_ops
L_.str.5:                               ## @.str.5
	.asciz	"gru_status"

	.comm	_gru_seq_ops,4,2                ## @gru_seq_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gru_proc_init                  ; -- Begin function gru_proc_init
	.p2align	2
_gru_proc_init:                         ; @gru_proc_init
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	bl	_proc_mkdir
Lloh2:
	adrp	x19, _proc_gru@GOTPAGE
Lloh3:
	ldr	x19, [x19, _proc_gru@GOTPAGEOFF]
	str	w0, [x19]
	cbz	w0, LBB0_8
; %bb.1:
	mov	x2, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x3, _statistics_fops@GOTPAGE
Lloh7:
	ldr	x3, [x3, _statistics_fops@GOTPAGEOFF]
	mov	w1, #420
	bl	_proc_create
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w2, [x19]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh10:
	adrp	x3, _mcs_statistics_fops@GOTPAGE
Lloh11:
	ldr	x3, [x3, _mcs_statistics_fops@GOTPAGEOFF]
	mov	w1, #420
	bl	_proc_create
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w2, [x19]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh14:
	adrp	x3, _options_fops@GOTPAGE
Lloh15:
	ldr	x3, [x3, _options_fops@GOTPAGEOFF]
	mov	w1, #420
	bl	_proc_create
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w2, [x19]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh18:
	adrp	x3, _cch_seq_ops@GOTPAGE
Lloh19:
	ldr	x3, [x3, _cch_seq_ops@GOTPAGEOFF]
	mov	w1, #292
	bl	_proc_create_seq
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w2, [x19]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh22:
	adrp	x3, _gru_seq_ops@GOTPAGE
Lloh23:
	ldr	x3, [x3, _gru_seq_ops@GOTPAGEOFF]
	mov	w1, #292
	bl	_proc_create_seq
	cbz	w0, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	bl	_remove_proc_subtree
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sgi_uv/gru"

	.comm	_proc_gru,4,2                   ; @proc_gru
l_.str.1:                               ; @.str.1
	.asciz	"statistics"

	.comm	_statistics_fops,4,2            ; @statistics_fops
l_.str.2:                               ; @.str.2
	.asciz	"mcs_statistics"

	.comm	_mcs_statistics_fops,4,2        ; @mcs_statistics_fops
l_.str.3:                               ; @.str.3
	.asciz	"debug_options"

	.comm	_options_fops,4,2               ; @options_fops
l_.str.4:                               ; @.str.4
	.asciz	"cch_status"

	.comm	_cch_seq_ops,4,2                ; @cch_seq_ops
l_.str.5:                               ; @.str.5
	.asciz	"gru_status"

	.comm	_gru_seq_ops,4,2                ; @gru_seq_ops
.subsections_via_symbols
