	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movl	$0, -260(%rbp)
	movl	$0, -204(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -192(%rbp)
	movq	_no_argument@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -184(%rbp)
	leaq	-260(%rbp), %rcx
	movl	%ecx, -176(%rbp)
	movl	$1, -172(%rbp)
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, -168(%rbp)
	movq	%rax, -160(%rbp)
	leaq	-204(%rbp), %rcx
	movl	%ecx, -152(%rbp)
	movl	$1, -148(%rbp)
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, -144(%rbp)
	movq	_required_argument@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -136(%rbp)
	movabsq	$459561500672, %rdx             ## imm = 0x6B00000000
	movq	%rdx, -128(%rbp)
	leaq	L_.str.3(%rip), %rdx
	movq	%rdx, -120(%rbp)
	movq	%rcx, -112(%rbp)
	movabsq	$493921239040, %rcx             ## imm = 0x7300000000
	movq	%rcx, -104(%rbp)
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, -96(%rbp)
	movq	%rax, -88(%rbp)
	movabsq	$446676598784, %rax             ## imm = 0x6800000000
	movq	%rax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movq	$0, -56(%rbp)
	xorps	%xmm0, %xmm0
	movsd	%xmm0, -280(%rbp)               ## 8-byte Spill
	leaq	L_.str.5(%rip), %r15
	leaq	-192(%rbp), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	%rsi, -304(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	movl	%esi, -200(%rbp)                ## 4-byte Spill
	movl	$0, -244(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpl	$106, %eax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$115, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$107, %eax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	callq	_parse_duration
	movsd	%xmm0, -280(%rbp)               ## 8-byte Spill
	movl	$1, -244(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	callq	_parse_signal
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r14d
	leaq	(%rbx,%rax,8), %rbx
	cmpl	$1, %r14d
	jg	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_usage
LBB0_11:
	movq	%rbx, -296(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_parse_duration
	movsd	%xmm0, -224(%rbp)               ## 8-byte Spill
	cmpl	$0, -204(%rbp)
	movq	-320(%rbp), %r15                ## 8-byte Reload
	movq	-312(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_14
## %bb.12:
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_ACQUIRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_procctl
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_14:
	leaq	-240(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_sigemptyset
	movq	_SIGSTOP@GOTPCREL(%rip), %rax
	movl	-200(%rbp), %ecx                ## 4-byte Reload
	cmpl	(%rax), %ecx
	movq	_SIGKILL@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	movl	%ecx, %ebx
	cmovel	%eax, %ebx
	cmpl	(%rdx), %ecx
	cmovel	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sigaddset
	movq	%r14, %rdi
	movq	-304(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %esi
	callq	_sigaddset
	movq	%r14, %rdi
	movq	-256(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_sigaddset
	movq	%r14, %rdi
	movq	-216(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_sigaddset
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_sigaddset
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sigaddset
	movq	%r14, %rdi
	movq	-272(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_sigaddset
	movq	_sig_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -232(%rbp)
	movq	_SA_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -236(%rbp)
	leal	1(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_17
## %bb.15:
	leaq	-240(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.16:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_17:
	leal	1(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_20
## %bb.18:
	leaq	-240(%rbp), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_20:
	movq	-256(%rbp), %rdi                ## 8-byte Reload
	leal	1(%rdi), %eax
	cmpl	$2, %eax
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	jb	LBB0_23
## %bb.21:
	leaq	-240(%rbp), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_23
## %bb.22:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_23:
	leal	1(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_26
## %bb.24:
	leaq	-240(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_26
## %bb.25:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_26:
	leal	1(%r13), %eax
	cmpl	$2, %eax
	jb	LBB0_29
## %bb.27:
	leaq	-240(%rbp), %rsi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_29
## %bb.28:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_29:
	leal	1(%r15), %eax
	cmpl	$2, %eax
	jb	LBB0_32
## %bb.30:
	leaq	-240(%rbp), %rsi
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_32
## %bb.31:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_32:
	leal	1(%r14), %eax
	cmpl	$2, %eax
	jb	LBB0_35
## %bb.33:
	leaq	-240(%rbp), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	jne	LBB0_35
## %bb.34:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_35:
	movq	_SIGTTIN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTTOU@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_fork
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_38
## %bb.36:
	cmpl	$-1, %r12d
	jne	LBB0_43
## %bb.37:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_43
LBB0_38:
	movq	-296(%rbp), %rbx                ## 8-byte Reload
	addq	$8, %rbx
	movl	(%r14), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_signal
	movl	(%r15), %edi
	movq	%rbx, %r15
	movl	(%r14), %esi
	callq	_signal
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_execvp
	cmpl	$-1, %eax
	jne	LBB0_43
## %bb.39:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movq	(%r15), %rdx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.40:
	leaq	L_.str.9(%rip), %rsi
	movl	$127, %edi
	jmp	LBB0_42
LBB0_41:
	leaq	L_.str.9(%rip), %rsi
	movl	$126, %edi
LBB0_42:
	xorl	%eax, %eax
	callq	_err
LBB0_43:
	movl	%r12d, -256(%rbp)               ## 4-byte Spill
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-240(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	cmpl	$-1, %eax
	jne	LBB0_45
## %bb.44:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_45:
	movsd	-224(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_set_interval
	leaq	-240(%rbp), %rbx
	movq	_sig_chld@GOTPCREL(%rip), %r13
	movq	_sig_alrm@GOTPCREL(%rip), %r14
	movq	_sig_term@GOTPCREL(%rip), %r15
	leaq	-284(%rbp), %r12
	movl	$0, -224(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -216(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_46
LBB0_64:                                ##   in Loop: Header=BB0_46 Depth=1
	movl	%esi, -336(%rbp)
	movq	$0, -328(%rbp)
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -272(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_KILL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	-272(%rbp), %edi                ## 4-byte Reload
	movl	%eax, %esi
	leaq	-344(%rbp), %rcx
	callq	_procctl
	cmpl	$0, -244(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_66
LBB0_65:                                ##   in Loop: Header=BB0_46 Depth=1
	movsd	-280(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_set_interval
	movl	-200(%rbp), %eax                ## 4-byte Reload
	movq	_sig_ign@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SIGKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	movsd	%xmm0, -280(%rbp)               ## 8-byte Spill
	.p2align	4, 0x90
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_52 Depth 2
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	%rbx, %rdi
	callq	_sigsuspend
	cmpq	$0, (%r13)
	jne	LBB0_51
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpq	$0, (%r14)
	jne	LBB0_60
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_46
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$0, -204(%rbp)
	je	LBB0_64
## %bb.50:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	-256(%rbp), %edi                ## 4-byte Reload
	callq	_kill
	cmpl	$0, -244(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_65
	jmp	LBB0_66
LBB0_51:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	$0, (%r13)
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_WNOHANG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-1, %edi
	movq	%r12, %rsi
	callq	_waitpid
	testl	%eax, %eax
	je	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_52 Depth=2
	jns	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_52 Depth=2
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_52
	jmp	LBB0_57
LBB0_55:                                ##   in Loop: Header=BB0_52 Depth=2
	cmpl	-256(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_52
## %bb.56:                              ##   in Loop: Header=BB0_52 Depth=2
	movl	-284(%rbp), %eax
	movl	%eax, -196(%rbp)
	movl	$1, -216(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_52
LBB0_57:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$0, -216(%rbp)                  ## 4-byte Folded Reload
	movl	$0, -216(%rbp)                  ## 4-byte Folded Spill
	je	LBB0_46
## %bb.58:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$0, -204(%rbp)
	jne	LBB0_73
## %bb.59:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -216(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	-216(%rbp), %edi                ## 4-byte Reload
	movl	%eax, %esi
	leaq	-368(%rbp), %rcx
	callq	_procctl
	movl	$1, -216(%rbp)                  ## 4-byte Folded Spill
	cmpq	$0, -368(%rbp)
	jne	LBB0_46
	jmp	LBB0_74
LBB0_60:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	$0, (%r14)
	cmpl	$0, -204(%rbp)
	je	LBB0_63
## %bb.61:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	-256(%rbp), %edi                ## 4-byte Reload
	movl	-200(%rbp), %esi                ## 4-byte Reload
	callq	_kill
	jmp	LBB0_62
LBB0_63:                                ##   in Loop: Header=BB0_46 Depth=1
	movl	-200(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -336(%rbp)
	movq	$0, -328(%rbp)
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -224(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_KILL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	-224(%rbp), %edi                ## 4-byte Reload
	movl	%eax, %esi
	leaq	-344(%rbp), %rcx
	callq	_procctl
LBB0_62:                                ##   in Loop: Header=BB0_46 Depth=1
	movl	$1, -224(%rbp)                  ## 4-byte Folded Spill
	cmpl	$0, -244(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_65
LBB0_66:
	cmpl	$0, -216(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_68
LBB0_74:
	movl	-224(%rbp), %r12d               ## 4-byte Reload
LBB0_75:
	cmpl	$0, -204(%rbp)
	jne	LBB0_77
## %bb.76:
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_RELEASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_procctl
	jmp	LBB0_77
LBB0_68:
	leaq	-196(%rbp), %rdi
	callq	_wait
	cmpl	$-1, %eax
	movl	-224(%rbp), %r12d               ## 4-byte Reload
	jne	LBB0_75
## %bb.69:
	leaq	-196(%rbp), %rbx
	movq	_EX_OSERR@GOTPCREL(%rip), %r14
	leaq	L_.str.11(%rip), %r15
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_71 Depth=1
	movq	%rbx, %rdi
	callq	_wait
	cmpl	$-1, %eax
	jne	LBB0_75
LBB0_71:                                ## =>This Inner Loop Header: Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_70
## %bb.72:                              ##   in Loop: Header=BB0_71 Depth=1
	movl	(%r14), %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_70
LBB0_73:
	movl	-224(%rbp), %r12d               ## 4-byte Reload
LBB0_77:
	movl	-196(%rbp), %edi
	callq	_WEXITSTATUS
	movl	-196(%rbp), %edi
	testl	%eax, %eax
	je	LBB0_79
## %bb.78:
	callq	_WEXITSTATUS
	jmp	LBB0_81
LBB0_79:
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_82
## %bb.80:
	movl	-196(%rbp), %edi
	callq	_WTERMSIG
	subl	$-128, %eax
LBB0_81:
	movl	%eax, -196(%rbp)
LBB0_82:
	cmpl	$0, -260(%rbp)
	leaq	-196(%rbp), %rax
	movq	%rax, %rcx
	jne	LBB0_84
## %bb.83:
	movq	_EXIT_TIMEOUT@GOTPCREL(%rip), %rcx
LBB0_84:
	testl	%r12d, %r12d
	cmoveq	%rax, %rcx
	movl	(%rcx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_86
## %bb.85:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_86:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"preserve-status"

	.comm	_no_argument,4,2                ## @no_argument
L_.str.1:                               ## @.str.1
	.asciz	"foreground"

L_.str.2:                               ## @.str.2
	.asciz	"kill-after"

	.comm	_required_argument,4,2          ## @required_argument
L_.str.3:                               ## @.str.3
	.asciz	"signal"

L_.str.4:                               ## @.str.4
	.asciz	"help"

L_.str.5:                               ## @.str.5
	.asciz	"+k:s:h"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_P_PID,4,2                      ## @P_PID
	.comm	_PROC_REAP_ACQUIRE,4,2          ## @PROC_REAP_ACQUIRE
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.6:                               ## @.str.6
	.asciz	"Fail to acquire the reaper"

	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.comm	_SIGSTOP,4,2                    ## @SIGSTOP
	.comm	_sig_handler,4,2                ## @sig_handler
	.comm	_SA_RESTART,4,2                 ## @SA_RESTART
L_.str.7:                               ## @.str.7
	.asciz	"sigaction()"

	.comm	_SIGTTIN,4,2                    ## @SIGTTIN
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGTTOU,4,2                    ## @SIGTTOU
L_.str.8:                               ## @.str.8
	.asciz	"fork()"

	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.9:                               ## @.str.9
	.asciz	"exec(%s)"

	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
L_.str.10:                              ## @.str.10
	.asciz	"sigprocmask()"

	.comm	_sig_chld,8,3                   ## @sig_chld
	.comm	_WNOHANG,4,2                    ## @WNOHANG
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_PROC_REAP_STATUS,4,2           ## @PROC_REAP_STATUS
	.comm	_sig_alrm,8,3                   ## @sig_alrm
	.comm	_PROC_REAP_KILL,4,2             ## @PROC_REAP_KILL
	.comm	_sig_ign,4,2                    ## @sig_ign
	.comm	_sig_term,4,2                   ## @sig_term
L_.str.11:                              ## @.str.11
	.asciz	"waitpid()"

	.comm	_PROC_REAP_RELEASE,4,2          ## @PROC_REAP_RELEASE
	.comm	_EXIT_TIMEOUT,4,2               ## @EXIT_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function main
lCPI0_0:
	.long	0                               ; 0x0
	.long	107                             ; 0x6b
lCPI0_1:
	.long	0                               ; 0x0
	.long	115                             ; 0x73
lCPI0_2:
	.long	0                               ; 0x0
	.long	104                             ; 0x68
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	d9, d8, [sp, #256]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x23, x1
	mov	x27, x0
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
Lloh6:
	adrp	x8, _SIGINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
Lloh9:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
Lloh12:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
Lloh18:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
	str	wzr, [sp, #88]
Lloh21:
	adrp	x8, l_.str@PAGE
Lloh22:
	add	x8, x8, l_.str@PAGEOFF
Lloh23:
	adrp	x9, _no_argument@GOTPAGE
Lloh24:
	ldr	x9, [x9, _no_argument@GOTPAGEOFF]
	str	wzr, [sp, #92]
Lloh25:
	ldrsw	x9, [x9]
	stp	x8, x9, [sp, #96]
	add	x8, sp, #88
	mov	w10, #1
	stp	w8, w10, [sp, #112]
Lloh26:
	adrp	x8, l_.str.1@PAGE
Lloh27:
	add	x8, x8, l_.str.1@PAGEOFF
	add	x11, sp, #92
	stp	w11, w10, [sp, #136]
Lloh28:
	adrp	x10, l_.str.2@PAGE
Lloh29:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh30:
	adrp	x11, _required_argument@GOTPAGE
Lloh31:
	ldr	x11, [x11, _required_argument@GOTPAGEOFF]
	stp	x8, x9, [sp, #120]
Lloh32:
	ldrsw	x8, [x11]
	stp	x10, x8, [sp, #144]
Lloh33:
	adrp	x10, lCPI0_0@PAGE
Lloh34:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [sp, #160]
Lloh35:
	adrp	x10, l_.str.3@PAGE
Lloh36:
	add	x10, x10, l_.str.3@PAGEOFF
	stp	x10, x8, [sp, #168]
Lloh37:
	adrp	x8, lCPI0_1@PAGE
Lloh38:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #184]
Lloh39:
	adrp	x8, l_.str.4@PAGE
Lloh40:
	add	x8, x8, l_.str.4@PAGEOFF
	stp	x8, x9, [sp, #192]
Lloh41:
	adrp	x8, lCPI0_2@PAGE
Lloh42:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [sp, #208]
	movi	d8, #0000000000000000
	stp	xzr, xzr, [sp, #216]
	str	xzr, [sp, #232]
Lloh43:
	adrp	x28, l_.str.5@PAGE
Lloh44:
	add	x28, x28, l_.str.5@PAGEOFF
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
Lloh45:
	adrp	x19, _optarg@GOTPAGE
Lloh46:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #96
	mov	x0, x27
	mov	x1, x23
	mov	x2, x28
	mov	x4, #0
	bl	_getopt_long
	cmp	w0, #106
	b.gt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w0, LBB0_3
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #115
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #107
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	bl	_parse_duration
	fmov	d8, d0
	mov	w8, #1
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	bl	_parse_signal
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_9:
Lloh47:
	adrp	x8, _optind@GOTPAGE
Lloh48:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	sub	w9, w27, w8
	add	x23, x23, x8, lsl #3
	cmp	w9, #1
	b.gt	LBB0_11
; %bb.10:
	bl	_usage
LBB0_11:
	ldr	x0, [x23], #8
	bl	_parse_duration
	fmov	d9, d0
	ldr	w8, [sp, #92]
	cbnz	w8, LBB0_14
; %bb.12:
Lloh50:
	adrp	x8, _P_PID@GOTPAGE
Lloh51:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh52:
	ldr	w27, [x8]
	bl	_getpid
	mov	x1, x0
Lloh53:
	adrp	x8, _PROC_REAP_ACQUIRE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PROC_REAP_ACQUIRE@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x27
	mov	x3, #0
	bl	_procctl
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh56:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
Lloh59:
	adrp	x1, l_.str.6@PAGE
Lloh60:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_err
LBB0_14:
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	add	x0, sp, #64
	bl	_sigemptyset
Lloh61:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _SIGSTOP@GOTPAGE
Lloh65:
	ldr	x9, [x9, _SIGSTOP@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w10, w9
	ccmp	w10, w8, #4, ne
	csinv	w27, w10, wzr, ne
	add	x0, sp, #64
	mov	x1, x27
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x26
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x25
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x21
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x20
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x24
	bl	_sigaddset
	add	x0, sp, #64
	mov	x1, x22
	bl	_sigaddset
Lloh67:
	adrp	x8, _sig_handler@GOTPAGE
Lloh68:
	ldr	x8, [x8, _sig_handler@GOTPAGEOFF]
Lloh69:
	adrp	x9, _SA_RESTART@GOTPAGE
Lloh70:
	ldr	x9, [x9, _SA_RESTART@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #68]
	add	w8, w27, #1
	cmp	w8, #2
	b.lo	LBB0_17
; %bb.15:
	add	x1, sp, #64
	mov	x0, x27
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.16:
Lloh73:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
Lloh76:
	adrp	x1, l_.str.7@PAGE
Lloh77:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_17:
	add	w8, w26, #1
	cmp	w8, #2
	b.lo	LBB0_20
; %bb.18:
	add	x1, sp, #64
	mov	x0, x26
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_20
; %bb.19:
Lloh78:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
Lloh81:
	adrp	x1, l_.str.7@PAGE
Lloh82:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_20:
	add	w8, w25, #1
	cmp	w8, #2
	b.lo	LBB0_23
; %bb.21:
	add	x1, sp, #64
	mov	x0, x25
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_23
; %bb.22:
Lloh83:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
Lloh86:
	adrp	x1, l_.str.7@PAGE
Lloh87:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_23:
	add	w8, w21, #1
	cmp	w8, #2
	b.lo	LBB0_26
; %bb.24:
	add	x1, sp, #64
	mov	x0, x21
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_26
; %bb.25:
Lloh88:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x1, l_.str.7@PAGE
Lloh92:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_26:
	add	w8, w20, #1
	cmp	w8, #2
	b.lo	LBB0_29
; %bb.27:
	add	x1, sp, #64
	mov	x0, x20
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_29
; %bb.28:
Lloh93:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
Lloh96:
	adrp	x1, l_.str.7@PAGE
Lloh97:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_29:
	add	w8, w24, #1
	cmp	w8, #2
	b.lo	LBB0_32
; %bb.30:
	add	x1, sp, #64
	mov	x0, x24
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_32
; %bb.31:
Lloh98:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh99:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x8]
Lloh101:
	adrp	x1, l_.str.7@PAGE
Lloh102:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_32:
	add	w8, w22, #1
	cmp	w8, #2
	b.lo	LBB0_35
; %bb.33:
	add	x1, sp, #64
	mov	x0, x22
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_35
; %bb.34:
Lloh103:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh104:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
Lloh106:
	adrp	x1, l_.str.7@PAGE
Lloh107:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_35:
Lloh108:
	adrp	x19, _SIGTTIN@GOTPAGE
Lloh109:
	ldr	x19, [x19, _SIGTTIN@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh110:
	adrp	x20, _SIG_IGN@GOTPAGE
Lloh111:
	ldr	x20, [x20, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_signal
Lloh112:
	adrp	x21, _SIGTTOU@GOTPAGE
Lloh113:
	ldr	x21, [x21, _SIGTTOU@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_signal
	bl	_fork
	mov	x20, x0
Lloh114:
	adrp	x25, _errno@GOTPAGE
Lloh115:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	cbz	w0, LBB0_39
; %bb.36:
	cmn	w20, #1
	b.ne	LBB0_40
; %bb.37:
Lloh116:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh117:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh118:
	ldr	w0, [x8]
Lloh119:
	adrp	x1, l_.str.8@PAGE
Lloh120:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_38:
	bl	_err
	b	LBB0_40
LBB0_39:
	ldr	w0, [x19]
Lloh121:
	adrp	x19, _SIG_DFL@GOTPAGE
Lloh122:
	ldr	x19, [x19, _SIG_DFL@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_signal
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_signal
	ldr	x0, [x23]
	mov	x1, x23
	bl	_execvp
	cmn	w0, #1
	b.eq	LBB0_73
LBB0_40:
Lloh123:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh124:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh125:
	ldr	w0, [x8]
	add	x1, sp, #64
	mov	x2, #0
	bl	_sigprocmask
	cmn	w0, #1
	b.ne	LBB0_42
; %bb.41:
Lloh126:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh127:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh128:
	ldr	w0, [x8]
Lloh129:
	adrp	x1, l_.str.10@PAGE
Lloh130:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_err
LBB0_42:
	fmov	d0, d9
	bl	_set_interval
	mov	w23, #0
	mov	w19, #0
Lloh131:
	adrp	x27, _sig_chld@GOTPAGE
Lloh132:
	ldr	x27, [x27, _sig_chld@GOTPAGEOFF]
Lloh133:
	adrp	x28, _sig_alrm@GOTPAGE
Lloh134:
	ldr	x28, [x28, _sig_alrm@GOTPAGEOFF]
Lloh135:
	adrp	x24, _sig_term@GOTPAGE
Lloh136:
	ldr	x24, [x24, _sig_term@GOTPAGEOFF]
Lloh137:
	adrp	x22, _WNOHANG@GOTPAGE
Lloh138:
	ldr	x22, [x22, _WNOHANG@GOTPAGEOFF]
Lloh139:
	adrp	x26, _EINTR@GOTPAGE
Lloh140:
	ldr	x26, [x26, _EINTR@GOTPAGEOFF]
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=1
	str	w1, [sp, #24]
	str	xzr, [sp, #32]
Lloh141:
	adrp	x8, _P_PID@GOTPAGE
Lloh142:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh143:
	ldr	w21, [x8]
	bl	_getpid
	mov	x1, x0
Lloh144:
	adrp	x8, _PROC_REAP_KILL@GOTPAGE
Lloh145:
	ldr	x8, [x8, _PROC_REAP_KILL@GOTPAGEOFF]
Lloh146:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x21
	bl	_procctl
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_63
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	fmov	d0, d8
	bl	_set_interval
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
Lloh147:
	adrp	x9, _sig_ign@GOTPAGE
Lloh148:
	ldr	x9, [x9, _sig_ign@GOTPAGEOFF]
Lloh149:
	str	w8, [x9]
Lloh150:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh151:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	movi	d8, #0000000000000000
LBB0_45:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_52 Depth 2
	add	x0, sp, #64
	bl	_sigemptyset
	add	x0, sp, #64
	bl	_sigsuspend
	ldr	x8, [x27]
	cbnz	x8, LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x28]
	cbnz	x8, LBB0_59
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	w1, [x24]
	cbz	w1, LBB0_45
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	w8, [sp, #92]
	cbz	w8, LBB0_43
; %bb.49:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x0, x20
	bl	_kill
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cbnz	w8, LBB0_44
	b	LBB0_63
LBB0_50:                                ;   in Loop: Header=BB0_45 Depth=1
	str	xzr, [x27]
	mov	x21, x19
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=2
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_56
LBB0_52:                                ;   Parent Loop BB0_45 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x22]
	add	x1, sp, #80
	mov	w0, #-1
	bl	_waitpid
	cbz	w0, LBB0_56
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=2
	tbnz	w0, #31, LBB0_51
; %bb.54:                               ;   in Loop: Header=BB0_52 Depth=2
	cmp	w0, w20
	b.ne	LBB0_52
; %bb.55:                               ;   in Loop: Header=BB0_52 Depth=2
	ldr	w8, [sp, #80]
	str	w8, [sp, #84]
	mov	w21, #1
	b	LBB0_52
LBB0_56:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	w19, #0
	cbz	w21, LBB0_45
; %bb.57:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	w8, [sp, #92]
	cbnz	w8, LBB0_67
; %bb.58:                               ;   in Loop: Header=BB0_45 Depth=1
Lloh153:
	adrp	x8, _P_PID@GOTPAGE
Lloh154:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh155:
	ldr	w21, [x8]
	bl	_getpid
	mov	x1, x0
Lloh156:
	adrp	x8, _PROC_REAP_STATUS@GOTPAGE
Lloh157:
	ldr	x8, [x8, _PROC_REAP_STATUS@GOTPAGEOFF]
Lloh158:
	ldr	w2, [x8]
	add	x3, sp, #40
	mov	x0, x21
	bl	_procctl
	ldr	x8, [sp, #40]
	mov	w19, #1
	cbnz	x8, LBB0_45
	b	LBB0_65
LBB0_59:                                ;   in Loop: Header=BB0_45 Depth=1
	str	xzr, [x28]
	ldr	w8, [sp, #92]
	cbz	w8, LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_kill
	b	LBB0_62
LBB0_61:                                ;   in Loop: Header=BB0_45 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [sp, #24]
	str	xzr, [sp, #32]
Lloh159:
	adrp	x8, _P_PID@GOTPAGE
Lloh160:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh161:
	ldr	w21, [x8]
	bl	_getpid
	mov	x1, x0
Lloh162:
	adrp	x8, _PROC_REAP_KILL@GOTPAGE
Lloh163:
	ldr	x8, [x8, _PROC_REAP_KILL@GOTPAGEOFF]
Lloh164:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x21
	bl	_procctl
LBB0_62:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	w23, #1
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cbnz	w8, LBB0_44
LBB0_63:
	cbnz	w19, LBB0_65
; %bb.64:
	add	x0, sp, #84
	bl	_wait
	cmn	w0, #1
	b.eq	LBB0_75
LBB0_65:
	ldr	w8, [sp, #92]
	cbnz	w8, LBB0_67
; %bb.66:
Lloh165:
	adrp	x8, _P_PID@GOTPAGE
Lloh166:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh167:
	ldr	w19, [x8]
	bl	_getpid
	mov	x1, x0
Lloh168:
	adrp	x8, _PROC_REAP_RELEASE@GOTPAGE
Lloh169:
	ldr	x8, [x8, _PROC_REAP_RELEASE@GOTPAGEOFF]
Lloh170:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, #0
	bl	_procctl
LBB0_67:
	ldr	w0, [sp, #84]
	bl	_WEXITSTATUS
	mov	x8, x0
	ldr	w0, [sp, #84]
	cbz	w8, LBB0_69
; %bb.68:
	bl	_WEXITSTATUS
	str	w0, [sp, #84]
	b	LBB0_71
LBB0_69:
	bl	_WIFSIGNALED
	cbz	x0, LBB0_71
; %bb.70:
	ldr	w0, [sp, #84]
	bl	_WTERMSIG
	add	w8, w0, #128
	str	w8, [sp, #84]
LBB0_71:
	ldr	w8, [sp, #88]
	cmp	w8, #0
	ccmp	w23, #0, #4, eq
Lloh171:
	adrp	x8, _EXIT_TIMEOUT@GOTPAGE
Lloh172:
	ldr	x8, [x8, _EXIT_TIMEOUT@GOTPAGEOFF]
	add	x9, sp, #84
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldur	x8, [x29, #-112]
Lloh173:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh174:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh175:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_80
; %bb.72:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #256]              ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_73:
	ldr	x9, [x25]
Lloh176:
	adrp	x8, _ENOENT@GOTPAGE
Lloh177:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh178:
	ldr	x10, [x8]
	ldr	x8, [x23]
	cmp	x9, x10
	b.ne	LBB0_79
; %bb.74:
	str	x8, [sp]
Lloh179:
	adrp	x1, l_.str.9@PAGE
Lloh180:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #127
	b	LBB0_38
LBB0_75:
Lloh181:
	adrp	x20, _EX_OSERR@GOTPAGE
Lloh182:
	ldr	x20, [x20, _EX_OSERR@GOTPAGEOFF]
Lloh183:
	adrp	x19, l_.str.11@PAGE
Lloh184:
	add	x19, x19, l_.str.11@PAGEOFF
	b	LBB0_77
LBB0_76:                                ;   in Loop: Header=BB0_77 Depth=1
	add	x0, sp, #84
	bl	_wait
	cmn	w0, #1
	b.ne	LBB0_65
LBB0_77:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_76
; %bb.78:                               ;   in Loop: Header=BB0_77 Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	bl	_err
	b	LBB0_76
LBB0_79:
	str	x8, [sp]
Lloh185:
	adrp	x1, l_.str.9@PAGE
Lloh186:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #126
	b	LBB0_38
LBB0_80:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdr	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdrp	Lloh37, Lloh39
	.loh AdrpLdr	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdrp	Lloh33, Lloh35
	.loh AdrpLdr	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh71
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGot	Lloh139, Lloh140
	.loh AdrpLdrGot	Lloh137, Lloh138
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGot	Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotStr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh162, Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGot	Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpAdd	Lloh179, Lloh180
	.loh AdrpAdd	Lloh183, Lloh184
	.loh AdrpLdrGot	Lloh181, Lloh182
	.loh AdrpAdd	Lloh185, Lloh186
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"preserve-status"

	.comm	_no_argument,4,2                ; @no_argument
l_.str.1:                               ; @.str.1
	.asciz	"foreground"

l_.str.2:                               ; @.str.2
	.asciz	"kill-after"

	.comm	_required_argument,4,2          ; @required_argument
l_.str.3:                               ; @.str.3
	.asciz	"signal"

l_.str.4:                               ; @.str.4
	.asciz	"help"

l_.str.5:                               ; @.str.5
	.asciz	"+k:s:h"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_P_PID,4,2                      ; @P_PID
	.comm	_PROC_REAP_ACQUIRE,4,2          ; @PROC_REAP_ACQUIRE
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.6:                               ; @.str.6
	.asciz	"Fail to acquire the reaper"

	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.comm	_SIGSTOP,4,2                    ; @SIGSTOP
	.comm	_sig_handler,4,2                ; @sig_handler
	.comm	_SA_RESTART,4,2                 ; @SA_RESTART
l_.str.7:                               ; @.str.7
	.asciz	"sigaction()"

	.comm	_SIGTTIN,4,2                    ; @SIGTTIN
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGTTOU,4,2                    ; @SIGTTOU
l_.str.8:                               ; @.str.8
	.asciz	"fork()"

	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.9:                               ; @.str.9
	.asciz	"exec(%s)"

	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
l_.str.10:                              ; @.str.10
	.asciz	"sigprocmask()"

	.comm	_sig_chld,8,3                   ; @sig_chld
	.comm	_WNOHANG,4,2                    ; @WNOHANG
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_PROC_REAP_STATUS,4,2           ; @PROC_REAP_STATUS
	.comm	_sig_alrm,8,3                   ; @sig_alrm
	.comm	_PROC_REAP_KILL,4,2             ; @PROC_REAP_KILL
	.comm	_sig_ign,4,2                    ; @sig_ign
	.comm	_sig_term,4,2                   ; @sig_term
l_.str.11:                              ; @.str.11
	.asciz	"waitpid()"

	.comm	_PROC_REAP_RELEASE,4,2          ; @PROC_REAP_RELEASE
	.comm	_EXIT_TIMEOUT,4,2               ; @EXIT_TIMEOUT
.subsections_via_symbols
