	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LinuxProcessList_readCmdlineFile
_LinuxProcessList_readCmdlineFile:      ## @LinuxProcessList_readCmdlineFile
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leal	1(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_xSnprintf
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.1:
	movl	%eax, %ebx
	leaq	-4160(%rbp), %rsi
	movl	%eax, %edi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_xread
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_close
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.2:
	js	LBB0_9
## %bb.3:
	movl	%r15d, %r8d
	cmpl	$1, %r15d
	jne	LBB0_11
## %bb.4:
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%ecx, %ecx
LBB0_5:
	testb	$1, %r8b
	je	LBB0_22
## %bb.6:
	movb	-4160(%rbp,%rax), %dl
	cmpb	$10, %dl
	je	LBB0_8
## %bb.7:
	testb	%dl, %dl
	jne	LBB0_21
LBB0_8:
	testl	%ecx, %ecx
	cmovel	%eax, %ecx
	movb	$32, -4160(%rbp,%rax)
	jmp	LBB0_22
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_10:
	movl	$1, (%r14)
	jmp	LBB0_23
LBB0_11:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%ecx, %ecx
	cmovnel	%ecx, %ebx
	movb	$32, -4159(%rbp,%rax)
	movl	%ebx, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$2, %rax
	cmpq	%rax, %rdi
	je	LBB0_5
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-4160(%rbp,%rax), %edx
	testb	%dl, %dl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$10, %dl
	jne	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%ecx, %ecx
	cmovel	%eax, %ecx
	movb	$32, -4160(%rbp,%rax)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, %esi
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	-4159(%rbp,%rax), %edx
	leaq	1(%rax), %rbx
	testb	%dl, %dl
	je	LBB0_12
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$10, %dl
	je	LBB0_12
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %esi
	jmp	LBB0_13
LBB0_21:
	movl	%eax, %esi
LBB0_22:
	testl	%ecx, %ecx
	cmovnel	%ecx, %r15d
	movslq	%esi, %rdx
	movb	$0, -4159(%rbp,%rdx)
	incq	%rdx
	movl	%r15d, (%r14)
	leaq	-4160(%rbp), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_setCommand
LBB0_23:
	movl	$1, %eax
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NAME,4,2                   ## @MAX_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s/cmdline"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.no_dead_strip	_LinuxProcessList_readCmdlineFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LinuxProcessList_readCmdlineFile
_LinuxProcessList_readCmdlineFile:      ; @LinuxProcessList_readCmdlineFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x19, sp
	mov	x4, x2
	mov	x3, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x8, _MAX_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	w8, w1, #1
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_xSnprintf
Lloh12:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
	mov	x21, x0
	add	x1, x19, #7
	mov	w2, #4096
	bl	_xread
	mov	x22, x0
	mov	x0, x21
	bl	_close
	cbz	w22, LBB0_10
; %bb.2:
	mov	w8, w22
	tbnz	w8, #31, LBB0_8
; %bb.3:
	mov	x11, #0
	mov	w10, #0
	mov	w9, #0
	add	x12, x19, #7
	mov	w13, #32
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, x11
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x11, x11, #1
	cmp	x8, x11
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x12, x11]
	cmp	w14, #0
	ccmp	w14, #10, #4, ne
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #0
	csel	w9, w11, w9, eq
	strb	w13, [x12, x11]
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	cmp	w9, #0
	csel	w8, w8, w9, eq
	sxtw	x9, w10
	add	x2, x9, #1
	add	x9, x19, #7
	strb	wzr, [x9, x2]
	str	w8, [x20]
	add	x1, x19, #7
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_setCommand
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #1
	str	w0, [x20]
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #48
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NAME,4,2                   ; @MAX_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s/cmdline"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.no_dead_strip	_LinuxProcessList_readCmdlineFile
.subsections_via_symbols
