	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	$-1, -56(%rbp)
	leaq	-200(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	$1, %edx
	leaq	L_.str(%rip), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %r13
	leaq	LJTI0_0(%rip), %r14
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ebx
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	incl	%eax
	cmpl	$118, %eax
	ja	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r14,%rax,4), %rcx
	addq	%r14, %rcx
	xorl	%edx, %edx
	jmpq	*%rcx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	leaq	-120(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-120(%rbp), %rax
	cmpq	(%r13), %rax
	leaq	L_.str.1(%rip), %r13
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edx
	cmpl	$4, -60(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$6, %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	leaq	-120(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-120(%rbp), %rax
	cmpq	(%r13), %rax
	leaq	L_.str.1(%rip), %r13
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$6, %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_errx
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_facilitynames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_log_mapping
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %edx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$5, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
	movl	$-1, -72(%rbp)                  ## 4-byte Folded Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_prioritynames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_log_mapping
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %edx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_errx
	movl	$-1, -68(%rbp)                  ## 4-byte Folded Spill
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_25:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpl	%r12d, %r14d
	jne	LBB0_27
## %bb.26:
	xorl	%eax, %eax
	callq	_usage
LBB0_27:
	leaq	(%r15,%r14,8), %r14
	movq	-104(%rbp), %r13                ## 8-byte Reload
	testq	%r13, %r13
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_29
## %bb.28:
	movq	(%r14), %r13
LBB0_29:
	movl	$-1, %eax
	testq	%rdi, %rdi
	movq	-176(%rbp), %r15                ## 8-byte Reload
	je	LBB0_32
## %bb.30:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_APPEND@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$384, %edx                      ## imm = 0x180
	callq	_open
	cmpl	$-1, %eax
	jne	LBB0_32
## %bb.31:
	leaq	L_.str.6(%rip), %rsi
	movl	$7, %edi
	xorl	%eax, %eax
	callq	_err
	movl	$-1, %eax
LBB0_32:
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.33:
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	movq	_LOG_NDELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_openlog
LBB0_34:
	movq	$0, -128(%rbp)
	movq	$0, -136(%rbp)
	leaq	-128(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_open_pid_files
	movl	%ebx, %edi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_daemon
	cmpl	$-1, %eax
	jne	LBB0_40
## %bb.35:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_36
LBB0_40:
	movq	-136(%rbp), %rdi
	callq	_pidfile_write
	movq	_pid@GOTPCREL(%rip), %rbx
	movl	$-1, (%rbx)
	testq	%r12, %r12
	jne	LBB0_79
## %bb.41:
	testq	%r15, %r15
	jne	LBB0_79
## %bb.42:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_79
## %bb.43:
	cmpl	$-1, -80(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_79
## %bb.44:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_79
LBB0_45:
	movq	-128(%rbp), %rdi
	callq	_pidfile_write
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_47
## %bb.46:
	callq	_restrict_process
LBB0_47:
	cmpl	$0, (%rbx)
	jne	LBB0_59
## %bb.48:
	movl	-56(%rbp), %edi
	callq	_close
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-92(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_50:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, -60(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_53
## %bb.51:
	movl	-52(%rbp), %edi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_53
## %bb.52:
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_53:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, -60(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_56
## %bb.54:
	movl	-52(%rbp), %edi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_56
## %bb.55:
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_56:
	movl	-52(%rbp), %edi
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_59
## %bb.57:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_59
## %bb.58:
	callq	_close
LBB0_59:
	movq	(%r14), %rdi
	movq	%r14, %rsi
	callq	_execvp
	movq	(%r14), %rdx
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
	movl	(%rbx), %edx
LBB0_60:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	leaq	L_.str.14(%rip), %rdi
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	callq	_setproctitle
	xorl	%eax, %eax
	movq	_terminate@GOTPCREL(%rip), %r14
	leaq	-140(%rbp), %r13
	movq	_child_gone@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_61:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_65 Depth 2
	cmpq	$0, (%r14)
	jne	LBB0_37
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testb	$1, %al
	je	LBB0_67
## %bb.63:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	leaq	-92(%rbp), %rbx
	je	LBB0_65
	jmp	LBB0_87
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_65 Depth=2
	movq	%rbx, %rdi
	callq	_sigsuspend
LBB0_65:                                ##   Parent Loop BB0_61 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	orq	(%r12), %rax
	je	LBB0_64
## %bb.66:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_70
	jmp	LBB0_87
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_61 Depth=1
	leaq	-88(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	jne	LBB0_87
## %bb.68:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	%r14, %rbx
	movl	-56(%rbp), %edi
	leaq	-200(%rbp), %rsi
	callq	_listen_child
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r12b
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-88(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	jne	LBB0_87
## %bb.69:                              ##   in Loop: Header=BB0_61 Depth=1
	movb	%r12b, %r15b
	movq	%rbx, %r14
	movq	_child_gone@GOTPCREL(%rip), %r12
LBB0_70:                                ##   in Loop: Header=BB0_61 Depth=1
	testl	%r15d, %r15d
	setne	%al
	cmpq	$0, (%r12)
	je	LBB0_61
## %bb.71:                              ##   in Loop: Header=BB0_61 Depth=1
	testl	%r15d, %r15d
	je	LBB0_61
## %bb.72:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_75
## %bb.73:
	cmpq	$0, (%r14)
	jne	LBB0_75
## %bb.74:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_daemon_sleep
LBB0_75:
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-84(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	leaq	L_.str.7(%rip), %rbx
	jne	LBB0_36
## %bb.76:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.77:
	cmpq	$0, (%r14)
	jne	LBB0_37
## %bb.78:
	movl	-56(%rbp), %edi
	callq	_close
	movl	$-1, -56(%rbp)
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_83
LBB0_79:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	leaq	-248(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_handle_term@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -228(%rbp)
	leaq	-232(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGCHLD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	leaq	-224(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_handle_chld@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -204(%rbp)
	leaq	-208(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGTERM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	leaq	-140(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	leaq	-84(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigemptyset
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_sigaddset
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-92(%rbp), %rdx
	movq	%r14, %rsi
	callq	_sigprocmask
	testq	%rax, %rax
	jne	LBB0_87
## %bb.80:
	movl	(%r12), %edi
	leaq	-248(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	leaq	L_.str.8(%rip), %rbx
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.81:
	movl	(%r15), %edi
	leaq	-224(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.82:
	movq	_MADV_PROTECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_madvise
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -200(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -196(%rbp)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -192(%rbp)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -188(%rbp)
LBB0_83:
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	_pid@GOTPCREL(%rip), %rbx
	leaq	-56(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	je	LBB0_85
## %bb.84:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_85:
	movq	_child_gone@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_fork
	movl	%eax, (%rbx)
	cmpl	$-1, %eax
	jne	LBB0_88
## %bb.86:
	leaq	L_.str.10(%rip), %rbx
	jmp	LBB0_36
LBB0_88:
	testl	%eax, %eax
	jle	LBB0_45
## %bb.89:
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-84(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	testq	%rax, %rax
	jne	LBB0_87
## %bb.90:
	movl	-52(%rbp), %edi
	callq	_close
	movl	$-1, -52(%rbp)
	movl	(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_45
	jmp	LBB0_60
LBB0_87:
	leaq	L_.str.7(%rip), %rbx
LBB0_36:
	movq	%rbx, %rdi
	callq	_warn
LBB0_37:
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_39
## %bb.38:
	xorl	%eax, %eax
	callq	_closelog
LBB0_39:
	movq	-128(%rbp), %rdi
	callq	_pidfile_remove
	movq	-136(%rbp), %rdi
	callq	_pidfile_remove
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_25
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_5
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_2
	.long	L0_0_set_1
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_21
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_16
	.long	L0_0_set_8
	.long	L0_0_set_23
	.long	L0_0_set_9
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
	.comm	_LOG_DAEMON,4,2                 ## @LOG_DAEMON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"daemon"

L_.str.1:                               ## @.str.1
	.asciz	"cfSp:P:ru:o:s:l:t:l:m:R:T:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_facilitynames,4,2              ## @facilitynames
L_.str.2:                               ## @.str.2
	.asciz	"unrecognized syslog facility"

L_.str.3:                               ## @.str.3
	.asciz	"unrecognized listening mask"

L_.str.4:                               ## @.str.4
	.asciz	"invalid restart delay"

	.comm	_prioritynames,4,2              ## @prioritynames
L_.str.5:                               ## @.str.5
	.asciz	"unrecognized syslog priority"

	.comm	_optind,8,3                     ## @optind
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
L_.str.6:                               ## @.str.6
	.asciz	"open"

	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ## @LOG_NDELAY
	.comm	_pid,4,2                        ## @pid
	.comm	_handle_term,4,2                ## @handle_term
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_handle_chld,4,2                ## @handle_chld
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
L_.str.7:                               ## @.str.7
	.asciz	"sigprocmask"

L_.str.8:                               ## @.str.8
	.asciz	"sigaction"

	.comm	_MADV_PROTECT,4,2               ## @MADV_PROTECT
L_.str.9:                               ## @.str.9
	.asciz	"pipe"

	.comm	_child_gone,8,3                 ## @child_gone
L_.str.10:                              ## @.str.10
	.asciz	"fork"

	.comm	_SIG_UNBLOCK,4,2                ## @SIG_UNBLOCK
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
L_.str.11:                              ## @.str.11
	.asciz	"sigprogmask"

L_.str.12:                              ## @.str.12
	.asciz	"dup2"

L_.str.13:                              ## @.str.13
	.asciz	"%s"

L_.str.14:                              ## @.str.14
	.asciz	"%s[%d]"

	.comm	_terminate,8,3                  ## @terminate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	mov	x24, x1
	mov	x20, x0
	mov	x8, #-1
	stur	x8, [x29, #-136]
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	stp	xzr, xzr, [sp, #40]             ; 16-byte Folded Spill
	str	xzr, [sp, #64]                  ; 8-byte Folded Spill
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
	str	xzr, [sp, #32]                  ; 8-byte Folded Spill
	mov	w21, #0
	mov	w26, #0
Lloh0:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STDERR_FILENO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STDERR_FILENO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _LOG_DAEMON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LOG_DAEMON@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
Lloh11:
	ldr	w25, [x9]
Lloh12:
	adrp	x8, l_.str@PAGE
Lloh13:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh14:
	adrp	x27, l_.str.1@PAGE
Lloh15:
	add	x27, x27, l_.str.1@PAGEOFF
Lloh16:
	adrp	x19, lJTI0_0@PAGE
Lloh17:
	add	x19, x19, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x22, _optarg@GOTPAGE
Lloh19:
	ldr	x22, [x22, _optarg@GOTPAGEOFF]
	mov	w8, #1
	mov	w9, #1
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #1
	mov	x8, x28
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x8
	mov	x0, x20
	mov	x1, x24
	mov	x2, x27
	bl	_getopt
	add	w9, w0, #1
	cmp	w9, #118
	b.hi	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
	adr	x10, LBB0_1
	ldrb	w11, [x19, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #1
	mov	x8, x28
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22]
	add	x1, sp, #128
	mov	w2, #10
	bl	_strtol
	str	w0, [sp, #76]                   ; 4-byte Folded Spill
	ldr	x8, [sp, #128]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x28
	ldr	w9, [sp, #76]                   ; 4-byte Folded Reload
	cmp	w9, #4
	b.lt	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #6
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	mov	x8, x28
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22]
Lloh22:
	adrp	x8, _prioritynames@GOTPAGE
Lloh23:
	ldr	x8, [x8, _prioritynames@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_get_log_mapping
	mov	x23, x0
	mov	w26, #1
	mov	x8, x28
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #4
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_errx
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
	mov	x8, x28
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22]
	add	x1, sp, #128
	mov	w2, #0
	bl	_strtol
	mov	x21, x0
	ldr	x8, [sp, #128]
	ldr	x9, [x22]
	cmp	x8, x9
	ccmp	w0, #0, #4, ne
	mov	x8, x28
	b.gt	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #6
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_errx
	mov	x8, x28
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22]
Lloh29:
	adrp	x8, _facilitynames@GOTPAGE
Lloh30:
	ldr	x8, [x8, _facilitynames@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_get_log_mapping
	mov	x25, x0
	mov	w26, #1
	mov	x8, x28
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #5
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	b	LBB0_2
LBB0_24:
Lloh34:
	adrp	x8, _optind@GOTPAGE
Lloh35:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	add	x24, x24, x8, lsl #3
	cmp	w8, w20
	b.ne	LBB0_26
; %bb.25:
	bl	_usage
LBB0_26:
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w27, [sp, #60]                  ; 4-byte Folded Reload
	ldr	x20, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	cbnz	x19, LBB0_28
; %bb.27:
	ldr	x19, [x24]
LBB0_28:
	cbnz	x0, LBB0_30
; %bb.29:
	mov	w22, #-1
	b	LBB0_32
LBB0_30:
Lloh37:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh41:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh43:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh44:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh46:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh47:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w2, #384
	bl	_open
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_32
; %bb.31:
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #7
	bl	_err
LBB0_32:
	cbz	w26, LBB0_34
; %bb.33:
Lloh51:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh52:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _LOG_NDELAY@GOTPAGE
Lloh55:
	ldr	x9, [x9, _LOG_NDELAY@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x25
	bl	_openlog
LBB0_34:
	stp	xzr, xzr, [sp, #136]
	add	x2, sp, #136
	add	x3, sp, #144
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x25
	mov	x1, x20
	bl	_open_pid_files
	mov	x0, x28
	mov	x1, x27
	bl	_daemon
	cmn	w0, #1
	b.ne	LBB0_36
; %bb.35:
	mov	x28, x22
Lloh57:
	adrp	x19, l_.str@PAGE
Lloh58:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_88
LBB0_36:
	ldr	x0, [sp, #144]
	bl	_pidfile_write
Lloh59:
	adrp	x28, _pid@GOTPAGE
Lloh60:
	ldr	x28, [x28, _pid@GOTPAGEOFF]
	mov	w8, #-1
	str	w8, [x28]
	cbnz	x25, LBB0_67
; %bb.37:
	cbnz	x20, LBB0_67
; %bb.38:
	cbnz	w21, LBB0_67
; %bb.39:
	cmn	w22, #1
	b.ne	LBB0_67
; %bb.40:
	cbnz	w26, LBB0_67
LBB0_41:
	ldr	x0, [sp, #136]
	bl	_pidfile_write
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_43
; %bb.42:
	bl	_restrict_process
LBB0_43:
	ldr	w8, [x28]
	cbnz	w8, LBB0_55
; %bb.44:
	ldur	w0, [x29, #-136]
	bl	_close
Lloh61:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	sub	x1, x29, #96
	mov	x2, #0
	bl	_sigprocmask
	cbz	x0, LBB0_46
; %bb.45:
Lloh64:
	adrp	x1, l_.str.11@PAGE
Lloh65:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_46:
Lloh66:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh67:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	tst	w1, w8
	b.eq	LBB0_49
; %bb.47:
	ldur	w0, [x29, #-132]
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_49
; %bb.48:
Lloh69:
	adrp	x1, l_.str.12@PAGE
Lloh70:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_49:
Lloh71:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh72:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	tst	w1, w8
	b.eq	LBB0_52
; %bb.50:
	ldur	w0, [x29, #-132]
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_52
; %bb.51:
Lloh74:
	adrp	x1, l_.str.12@PAGE
Lloh75:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_52:
	ldur	w0, [x29, #-132]
Lloh76:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh77:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_55
; %bb.53:
Lloh79:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_55
; %bb.54:
	bl	_close
LBB0_55:
	ldr	x0, [x24]
	mov	x1, x24
	bl	_execvp
	ldr	x8, [x24]
	str	x8, [sp]
Lloh82:
	adrp	x1, l_.str.13@PAGE
Lloh83:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	w2, [x28]
LBB0_56:
	mov	x20, x28
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, x22
Lloh84:
	adrp	x0, l_.str.14@PAGE
Lloh85:
	add	x0, x0, l_.str.14@PAGEOFF
	str	x19, [sp, #64]                  ; 8-byte Folded Spill
	mov	x1, x19
	bl	_setproctitle
	mov	w8, #0
Lloh86:
	adrp	x22, _terminate@GOTPAGE
Lloh87:
	ldr	x22, [x22, _terminate@GOTPAGEOFF]
Lloh88:
	adrp	x23, _SIG_BLOCK@GOTPAGE
Lloh89:
	ldr	x23, [x23, _SIG_BLOCK@GOTPAGEOFF]
Lloh90:
	adrp	x19, l_.str.7@PAGE
Lloh91:
	add	x19, x19, l_.str.7@PAGEOFF
Lloh92:
	adrp	x24, _child_gone@GOTPAGE
Lloh93:
	ldr	x24, [x24, _child_gone@GOTPAGEOFF]
Lloh94:
	adrp	x25, _SIG_UNBLOCK@GOTPAGE
Lloh95:
	ldr	x25, [x25, _SIG_UNBLOCK@GOTPAGEOFF]
	b	LBB0_59
LBB0_57:                                ;   in Loop: Header=BB0_59 Depth=1
	mov	w27, #1
LBB0_58:                                ;   in Loop: Header=BB0_59 Depth=1
	ldr	x9, [x24]
	cmp	w27, #0
	cset	w8, ne
	cmp	x9, #0
	ccmp	w27, #0, #4, ne
	b.ne	LBB0_71
LBB0_59:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_63 Depth 2
	ldr	x9, [x22]
	cbnz	x9, LBB0_89
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=1
	ldr	w0, [x23]
	tbz	w8, #0, LBB0_65
; %bb.61:                               ;   in Loop: Header=BB0_59 Depth=1
	sub	x1, x29, #92
	mov	x2, #0
	bl	_sigprocmask
	cbz	x0, LBB0_63
	b	LBB0_88
LBB0_62:                                ;   in Loop: Header=BB0_63 Depth=2
	sub	x0, x29, #96
	bl	_sigsuspend
LBB0_63:                                ;   Parent Loop BB0_59 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22]
	ldr	x9, [x24]
	orr	x8, x8, x9
	cbz	x8, LBB0_62
; %bb.64:                               ;   in Loop: Header=BB0_59 Depth=1
	ldr	w0, [x25]
	sub	x1, x29, #92
	mov	x2, #0
	bl	_sigprocmask
	cbz	x0, LBB0_57
	b	LBB0_88
LBB0_65:                                ;   in Loop: Header=BB0_59 Depth=1
	sub	x1, x29, #100
	mov	x2, #0
	bl	_sigprocmask
	cbnz	x0, LBB0_88
; %bb.66:                               ;   in Loop: Header=BB0_59 Depth=1
	ldur	w0, [x29, #-136]
	sub	x1, x29, #128
	bl	_listen_child
	cmp	w0, #0
	cset	w27, eq
	ldr	w0, [x25]
	sub	x1, x29, #100
	mov	x2, #0
	bl	_sigprocmask
	cbz	x0, LBB0_58
	b	LBB0_88
LBB0_67:
	mov	x20, x24
	mov	x28, x22
	mov	x25, x19
	add	x19, sp, #104
	add	x0, sp, #104
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh96:
	adrp	x8, _handle_term@GOTPAGE
Lloh97:
	ldr	x8, [x8, _handle_term@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	str	w8, [sp, #124]
	add	x19, x19, #16
	mov	x0, x19
	bl	_sigemptyset
Lloh99:
	adrp	x22, _SIGCHLD@GOTPAGE
Lloh100:
	ldr	x22, [x22, _SIGCHLD@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sigaddset
	add	x19, sp, #80
	add	x0, sp, #80
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh101:
	adrp	x8, _handle_chld@GOTPAGE
Lloh102:
	ldr	x8, [x8, _handle_chld@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	str	w8, [sp, #100]
	add	x19, x19, #16
	mov	x0, x19
	bl	_sigemptyset
Lloh104:
	adrp	x24, _SIGTERM@GOTPAGE
Lloh105:
	ldr	x24, [x24, _SIGTERM@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_sigaddset
	sub	x0, x29, #92
	bl	_sigemptyset
	ldr	w1, [x24]
	sub	x0, x29, #92
	bl	_sigaddset
	ldr	w1, [x22]
	sub	x0, x29, #92
	bl	_sigaddset
	sub	x0, x29, #104
	bl	_sigemptyset
	ldr	w1, [x24]
	sub	x0, x29, #104
	bl	_sigaddset
	sub	x0, x29, #100
	bl	_sigemptyset
	ldr	w1, [x22]
	sub	x0, x29, #100
	bl	_sigaddset
Lloh106:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh107:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh108:
	ldr	w0, [x8]
	sub	x1, x29, #104
	sub	x2, x29, #96
	bl	_sigprocmask
	cbnz	x0, LBB0_87
; %bb.68:
	ldr	w0, [x24]
	add	x1, sp, #104
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.eq	LBB0_70
; %bb.69:
	ldr	w0, [x22]
	add	x1, sp, #80
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	b.ne	LBB0_78
LBB0_70:
Lloh109:
	adrp	x19, l_.str.8@PAGE
Lloh110:
	add	x19, x19, l_.str.8@PAGEOFF
	b	LBB0_88
LBB0_71:
	cbz	w21, LBB0_74
; %bb.72:
	ldr	x8, [x22]
	cbnz	x8, LBB0_74
; %bb.73:
	mov	x0, x21
	mov	w1, #0
	bl	_daemon_sleep
LBB0_74:
	ldr	w0, [x23]
	sub	x1, x29, #104
	mov	x2, #0
	bl	_sigprocmask
	cbnz	x0, LBB0_87
; %bb.75:
	cbz	w21, LBB0_89
; %bb.76:
	ldr	x8, [x22]
	cbnz	x8, LBB0_89
; %bb.77:
	ldur	w0, [x29, #-136]
	bl	_close
	mov	w8, #-1
	stur	w8, [x29, #-136]
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	mov	x22, x28
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x28, x20
	b	LBB0_79
LBB0_78:
Lloh111:
	adrp	x8, _MADV_PROTECT@GOTPAGE
Lloh112:
	ldr	x8, [x8, _MADV_PROTECT@GOTPAGEOFF]
Lloh113:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_madvise
	mov	x22, x28
	stp	w28, w26, [x29, #-128]
	stp	w23, w27, [x29, #-120]
	mov	x19, x25
	mov	x24, x20
Lloh114:
	adrp	x28, _pid@GOTPAGE
Lloh115:
	ldr	x28, [x28, _pid@GOTPAGEOFF]
LBB0_79:
	sub	x0, x29, #136
	bl	_pipe
	cbz	x0, LBB0_81
; %bb.80:
Lloh116:
	adrp	x1, l_.str.9@PAGE
Lloh117:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_81:
Lloh118:
	adrp	x8, _child_gone@GOTPAGE
Lloh119:
	ldr	x8, [x8, _child_gone@GOTPAGEOFF]
Lloh120:
	str	xzr, [x8]
	bl	_fork
	str	w0, [x28]
	cmn	w0, #1
	b.ne	LBB0_83
; %bb.82:
	mov	x28, x22
Lloh121:
	adrp	x19, l_.str.10@PAGE
Lloh122:
	add	x19, x19, l_.str.10@PAGEOFF
	b	LBB0_88
LBB0_83:
	cmp	w0, #1
	b.lt	LBB0_41
; %bb.84:
Lloh123:
	adrp	x8, _SIG_UNBLOCK@GOTPAGE
Lloh124:
	ldr	x8, [x8, _SIG_UNBLOCK@GOTPAGEOFF]
Lloh125:
	ldr	w0, [x8]
	sub	x1, x29, #104
	mov	x2, #0
	bl	_sigprocmask
	cbnz	x0, LBB0_86
; %bb.85:
	ldur	w0, [x29, #-132]
	bl	_close
	mov	w8, #-1
	stur	w8, [x29, #-132]
	ldr	w2, [x28]
	cmp	w2, #0
	b.le	LBB0_41
	b	LBB0_56
LBB0_86:
	mov	x28, x22
LBB0_87:
Lloh126:
	adrp	x19, l_.str.7@PAGE
Lloh127:
	add	x19, x19, l_.str.7@PAGEOFF
LBB0_88:
	mov	x0, x19
	bl	_warn
LBB0_89:
	mov	x0, x28
	bl	_close
	ldur	w0, [x29, #-136]
	bl	_close
	ldur	w0, [x29, #-132]
	bl	_close
	cbz	w26, LBB0_91
; %bb.90:
	bl	_closelog
LBB0_91:
	ldr	x0, [sp, #136]
	bl	_pidfile_remove
	ldr	x0, [sp, #144]
	bl	_pidfile_remove
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotStr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh126, Lloh127
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_22-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
                                        ; -- End function
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
	.comm	_LOG_DAEMON,4,2                 ; @LOG_DAEMON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"daemon"

l_.str.1:                               ; @.str.1
	.asciz	"cfSp:P:ru:o:s:l:t:l:m:R:T:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_facilitynames,4,2              ; @facilitynames
l_.str.2:                               ; @.str.2
	.asciz	"unrecognized syslog facility"

l_.str.3:                               ; @.str.3
	.asciz	"unrecognized listening mask"

l_.str.4:                               ; @.str.4
	.asciz	"invalid restart delay"

	.comm	_prioritynames,4,2              ; @prioritynames
l_.str.5:                               ; @.str.5
	.asciz	"unrecognized syslog priority"

	.comm	_optind,8,3                     ; @optind
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
l_.str.6:                               ; @.str.6
	.asciz	"open"

	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ; @LOG_NDELAY
	.comm	_pid,4,2                        ; @pid
	.comm	_handle_term,4,2                ; @handle_term
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_handle_chld,4,2                ; @handle_chld
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
l_.str.7:                               ; @.str.7
	.asciz	"sigprocmask"

l_.str.8:                               ; @.str.8
	.asciz	"sigaction"

	.comm	_MADV_PROTECT,4,2               ; @MADV_PROTECT
l_.str.9:                               ; @.str.9
	.asciz	"pipe"

	.comm	_child_gone,8,3                 ; @child_gone
l_.str.10:                              ; @.str.10
	.asciz	"fork"

	.comm	_SIG_UNBLOCK,4,2                ; @SIG_UNBLOCK
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
l_.str.11:                              ; @.str.11
	.asciz	"sigprogmask"

l_.str.12:                              ; @.str.12
	.asciz	"dup2"

l_.str.13:                              ; @.str.13
	.asciz	"%s"

l_.str.14:                              ; @.str.14
	.asciz	"%s[%d]"

	.comm	_terminate,8,3                  ; @terminate
.subsections_via_symbols
