	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OpenBSDProcessList_readProcessName ## -- Begin function OpenBSDProcessList_readProcessName
	.p2align	4, 0x90
_OpenBSDProcessList_readProcessName:    ## @OpenBSDProcessList_readProcessName
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	$500, %edx                      ## imm = 0x1F4
	callq	_kvm_getargv
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	cltq
	addq	%rax, %r15
	incq	%r15
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_malloc
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.5:
	movq	%rax, %r12
	movb	$0, (%rax)
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
	leaq	-1(%r15), %rsi
	movq	%rax, %rdi
	callq	_MINIMUM
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.7:
	addq	$16, %r14
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strlcat
	movq	(%r14), %rsi
	addq	$8, %r14
	testq	%rsi, %rsi
	jne	LBB0_8
LBB0_9:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%r13), %rdi
	callq	_strlen
	movl	%eax, (%rbx)
	movq	(%r13), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xStrdup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OpenBSDProcessList_readProcessName ; -- Begin function OpenBSDProcessList_readProcessName
	.p2align	2
_OpenBSDProcessList_readProcessName:    ; @OpenBSDProcessList_readProcessName
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x23, x1
	mov	w2, #500
	bl	_kvm_getargv
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_10
; %bb.2:
	mov	x19, #0
	mov	w22, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	add	w8, w0, #1
	add	x19, x19, w8, sxtw
	ldr	x0, [x21, x22]
	add	x22, x22, #8
	cbnz	x0, LBB0_3
; %bb.4:
	mov	x0, x19
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	strb	wzr, [x0]
	ldr	x1, [x21]
	cbz	x1, LBB0_9
; %bb.6:
	mov	x0, x22
	mov	x2, x19
	bl	_strlcat
	sub	x1, x19, #1
	bl	_MINIMUM
	str	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_strlcat
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_9
; %bb.7:
	add	x21, x21, #16
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x2, x19
	bl	_strlcat
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_strlcat
	ldr	x1, [x21], #8
	cbnz	x1, LBB0_8
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x0, [x23]
	bl	_strlen
	str	w0, [x20]
	ldr	x0, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xStrdup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

.subsections_via_symbols
