	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_children                 ## -- Begin function start_children
	.p2align	4, 0x90
_start_children:                        ## @start_children
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_setsid
	leaq	-48(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -56(%rbp)
	movq	_litespeed_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	leaq	-168(%rbp), %rdx
	callq	_sigaction
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	callq	_sigaction
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	callq	_sigaction
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_SIGQUIT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-64(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	callq	_sigaction
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	_s_stop@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	leaq	-68(%rbp), %r14
	xorl	%eax, %eax
	xorl	%r13d, %r13d
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	testq	%rax, %rax
	sete	%al
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ebx, %r13d
	jge	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	%r13d
	cmpq	$0, (%r12)
	sete	%al
	je	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	testb	%al, %al
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_wait
	decl	%r13d
	movq	(%r12), %rax
	jmp	LBB0_7
LBB0_17:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-168(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movl	(%r15), %edi
	leaq	-144(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-120(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	jmp	LBB0_5
LBB0_4:
	callq	_start_children.cold.2
LBB0_5:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	_start_children.cold.1
	jmp	LBB0_5
LBB0_16:
	xorl	%eax, %eax
	callq	_getpgrp
	negl	%eax
	movq	_SIGUSR1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kill
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function start_children.cold.1
_start_children.cold.1:                 ## @start_children.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function start_children.cold.2
_start_children.cold.2:                 ## @start_children.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_litespeed_cleanup,4,2          ## @litespeed_cleanup
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't set signals"

	.comm	_s_stop,8,3                     ## @s_stop
L_.str.1:                               ## @.str.1
	.asciz	"php (pre-forking)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_children                 ; -- Begin function start_children
	.p2align	2
_start_children:                        ; @start_children
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_setsid
	sub	x8, x29, #88
	add	x0, x8, #16
	bl	_sigemptyset
Lloh0:
	adrp	x8, _litespeed_cleanup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _litespeed_cleanup@GOTPAGEOFF]
	stur	xzr, [x29, #-80]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-88]
Lloh3:
	adrp	x22, _SIGTERM@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SIGTERM@GOTPAGEOFF]
	ldr	w0, [x22]
	sub	x1, x29, #88
	add	x2, sp, #80
	bl	_sigaction
	cbnz	x0, LBB0_14
; %bb.1:
Lloh5:
	adrp	x21, _SIGINT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SIGINT@GOTPAGEOFF]
	ldr	w0, [x21]
	sub	x1, x29, #88
	add	x2, sp, #32
	bl	_sigaction
	cbnz	x0, LBB0_14
; %bb.2:
Lloh7:
	adrp	x20, _SIGUSR1@GOTPAGE
Lloh8:
	ldr	x20, [x20, _SIGUSR1@GOTPAGEOFF]
	ldr	w0, [x20]
	sub	x1, x29, #88
	add	x2, sp, #8
	bl	_sigaction
	cbnz	x0, LBB0_14
; %bb.3:
Lloh9:
	adrp	x23, _SIGQUIT@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SIGQUIT@GOTPAGEOFF]
	ldr	w0, [x23]
	sub	x1, x29, #88
	add	x2, sp, #56
	bl	_sigaction
	cbnz	x0, LBB0_14
; %bb.4:
	mov	x9, #0
	mov	w24, #0
Lloh11:
	adrp	x25, _s_stop@GOTPAGE
Lloh12:
	ldr	x25, [x25, _s_stop@GOTPAGEOFF]
	str	xzr, [x25]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	x9, #0
	cset	w8, eq
	cbnz	x9, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, w19
	b.ge	LBB0_10
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_fork
	cbz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w24, w24, #1
	ldr	x8, [x25]
	cmp	x8, #0
	cset	w8, eq
	ccmp	w24, w19, #0, eq
	b.lt	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #4
	bl	_wait
	sub	w24, w24, #1
	ldr	x9, [x25]
	b	LBB0_5
LBB0_12:
	ldr	w0, [x22]
	add	x1, sp, #80
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x23]
	add	x1, sp, #56
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x21]
	add	x1, sp, #32
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x20]
	add	x1, sp, #8
	mov	x2, #0
	bl	_sigaction
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_13:
	bl	_start_children.cold.1
LBB0_14:
	bl	_start_children.cold.2
LBB0_15:
	bl	_getpgrp
	neg	w0, w0
	ldr	w1, [x20]
	bl	_kill
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function start_children.cold.1
_start_children.cold.1:                 ; @start_children.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function start_children.cold.2
_start_children.cold.2:                 ; @start_children.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_litespeed_cleanup,4,2          ; @litespeed_cleanup
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't set signals"

	.comm	_s_stop,8,3                     ; @s_stop
l_.str.1:                               ; @.str.1
	.asciz	"php (pre-forking)"

.subsections_via_symbols
