	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_procinfo
_create_procinfo:                       ## @create_procinfo
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r12d
	callq	_find_procinfo
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.3:
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_find_procinfo_or_die
	movq	%rax, %r15
	jmp	LBB0_4
LBB0_2:
                                        ## implicit-def: $r15
LBB0_4:
	movl	$48, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	%r12d, (%rbx)
	movl	%r14d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_sysset_t_alloc
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	callq	_sysset_t_alloc
	movq	%rax, 32(%rbx)
	movl	24(%rbx), %edi
	movq	_MAIN_PROC_NAME_FMT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.6:
	movq	_procinfo_list@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_5:
	addq	$8, %r15
LBB0_7:
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, (%r15)
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAIN_PROC_NAME_FMT,8,3         ## @MAIN_PROC_NAME_FMT
	.comm	_procinfo_list,8,3              ## @procinfo_list
	.no_dead_strip	_create_procinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_procinfo
_create_procinfo:                       ; @create_procinfo
	.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	x19, x1
	mov	x20, x0
	bl	_find_procinfo
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_find_procinfo_or_die
	mov	x22, x0
	b	LBB0_4
LBB0_3:
                                        ; implicit-def: $x22
LBB0_4:
	mov	w0, #48
	bl	_xmalloc
	mov	x21, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	stp	w20, w19, [x21]
	mov	x0, x21
	bl	_sysset_t_alloc
	str	x0, [x21, #40]
	mov	x0, x21
	bl	_sysset_t_alloc
	str	x0, [x21, #32]
	ldr	w0, [x21, #24]
Lloh0:
	adrp	x8, _MAIN_PROC_NAME_FMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAIN_PROC_NAME_FMT@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x2, x20
	bl	_sprintf
Lloh3:
	adrp	x8, _procinfo_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _procinfo_list@GOTPAGEOFF]
	add	x9, x22, #8
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	x9, [x8]
	str	x9, [x21, #16]
	str	x21, [x8]
LBB0_5:
	mov	x0, x21
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAIN_PROC_NAME_FMT,8,3         ; @MAIN_PROC_NAME_FMT
	.comm	_procinfo_list,8,3              ; @procinfo_list
	.no_dead_strip	_create_procinfo
.subsections_via_symbols
