	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcpp_server                    ## -- Begin function tcpp_server
	.p2align	4, 0x90
_tcpp_server:                           ## @tcpp_server
	.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
	movq	_pflag@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	shll	$3, %edi
	callq	_malloc
	movq	_pid_list@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	xorl	%eax, %eax
	callq	_err
	movq	(%r15), %rax
LBB0_2:
	movl	(%r14), %esi
	shll	$3, %esi
	movq	%rax, %rdi
	callq	_bzero
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	js	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
## %bb.11:
	testl	%eax, %eax
	jle	LBB0_17
## %bb.12:
	movq	(%r15), %rcx
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_17
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_waitpid
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	cmpq	%rdi, %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_16
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	movq	_SIGKILL@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %esi
	callq	_kill
	movl	(%r14), %eax
	jmp	LBB0_9
LBB0_20:
	movl	%ebx, %edi
	callq	_tcpp_server_worker
	xorl	%edi, %edi
	callq	_exit
LBB0_10:
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_pflag,4,2                      ## @pflag
	.comm	_pid_list,8,3                   ## @pid_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc pid_list"

L_.str.1:                               ## @.str.1
	.asciz	"fork"

	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.comm	_CPUSTATES,4,2                  ## @CPUSTATES
	.comm	_CP_IDLE,8,3                    ## @CP_IDLE
	.comm	_CP_INTR,8,3                    ## @CP_INTR
	.comm	_CP_NICE,8,3                    ## @CP_NICE
	.comm	_CP_SYS,8,3                     ## @CP_SYS
	.comm	_CP_USER,8,3                    ## @CP_USER
	.comm	_SYSCTLNAME_CPTIME,4,2          ## @SYSCTLNAME_CPTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcpp_server                    ; -- Begin function tcpp_server
	.p2align	2
_tcpp_server:                           ; @tcpp_server
	.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
Lloh0:
	adrp	x20, _pflag@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pflag@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #3
	bl	_malloc
Lloh2:
	adrp	x21, _pid_list@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pid_list@GOTPAGEOFF]
	str	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_err
	ldr	x0, [x21]
LBB0_2:
	ldr	w8, [x20]
	lsl	w1, w8, #3
	bl	_bzero
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.3:
	mov	x19, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_fork
	tbnz	x0, #63, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x0, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	str	x0, [x8, x19, lsl #3]
	add	x19, x19, #1
	ldrsw	x8, [x20]
	cmp	x19, x8
	b.lt	LBB0_4
; %bb.7:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	mov	x19, #0
	ldr	x9, [x21]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [x9, x19, lsl #3]
	cbz	x0, LBB0_9
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x1, #0
	mov	w2, #0
	bl	_waitpid
	mov	x8, x0
	ldr	x9, [x21]
	ldr	x0, [x9, x19, lsl #3]
	cmp	x8, x0
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x20]
	b	LBB0_9
LBB0_13:
	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
LBB0_14:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.15:
	mov	x19, #0
Lloh8:
	adrp	x22, _SIGKILL@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SIGKILL@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_20
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x0, [x9, x19, lsl #3]
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x22]
	bl	_kill
	ldr	w8, [x20]
	b	LBB0_16
LBB0_19:
	mov	x0, x19
	bl	_tcpp_server_worker
	mov	w0, #0
	bl	_exit
LBB0_20:
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pflag,4,2                      ; @pflag
	.comm	_pid_list,8,3                   ; @pid_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc pid_list"

l_.str.1:                               ; @.str.1
	.asciz	"fork"

	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.comm	_CPUSTATES,4,2                  ; @CPUSTATES
	.comm	_CP_IDLE,8,3                    ; @CP_IDLE
	.comm	_CP_INTR,8,3                    ; @CP_INTR
	.comm	_CP_NICE,8,3                    ; @CP_NICE
	.comm	_CP_SYS,8,3                     ; @CP_SYS
	.comm	_CP_USER,8,3                    ; @CP_USER
	.comm	_SYSCTLNAME_CPTIME,4,2          ; @SYSCTLNAME_CPTIME
.subsections_via_symbols
