	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_proc_mkdir
	movq	_proc_gru@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_proc_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_create_proc_file
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	leaq	8(%rbx), %rbx
	jne	LBB0_2
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_delete_proc_files
	movl	$-1, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	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
	.comm	_proc_files,8,3                 ## @proc_files
.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	x8, _proc_gru@GOTPAGE
Lloh3:
	ldr	x8, [x8, _proc_gru@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
Lloh5:
	adrp	x8, _proc_files@GOTPAGE
Lloh6:
	ldr	x8, [x8, _proc_files@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_create_proc_file
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]!
	cbnz	x8, LBB0_1
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	bl	_delete_proc_files
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sgi_uv/gru"

	.comm	_proc_gru,4,2                   ; @proc_gru
	.comm	_proc_files,8,3                 ; @proc_files
.subsections_via_symbols
