	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	_CONFIGFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_log_init
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %r15
	testq	%rax, %rax
	cmoveq	%rbx, %r15
	movq	%r15, %rdi
	callq	_log_ident_set
	movl	$1, %ebx
	leaq	L_.str(%rip), %r14
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%ebx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %ebx
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	xorl	%ecx, %ecx
	cmpl	$112, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-99(%rax), %ecx
	cmpl	$20, %ecx
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	movq	_verbosity@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_4:
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.11:
	movq	_optind@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal_exit
LBB0_13:
	cmpl	%r12d, %r14d
	jne	LBB0_5
## %bb.14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_run_daemon
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_log_init
	xorl	%eax, %eax
	callq	_log_get_lock
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_log_get_lock
	movq	%rax, %rdi
	callq	_lock_quick_destroy
	jmp	LBB0_16
LBB0_5:
	xorl	%eax, %eax
	callq	_usage
	movl	$1, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_CONFIGFILE,8,3                 ## @CONFIGFILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c:dhpvw:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_optind,8,3                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"option not supported"

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CONFIGFILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIGFILE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	bl	_log_init
	ldr	x21, [x22]
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x21, x21, x0, eq
	mov	x0, x21
	bl	_log_ident_set
	mov	x27, #0
	mov	w24, #0
	mov	w23, #0
	mov	w25, #1
Lloh3:
	adrp	x26, l_.str@PAGE
Lloh4:
	add	x26, x26, l_.str@PAGEOFF
Lloh5:
	adrp	x28, lJTI0_0@PAGE
Lloh6:
	add	x28, x28, lJTI0_0@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x1, x25
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x26
	bl	_getopt
	mov	w1, #0
	cmp	w0, #112
	b.eq	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w0, #99
	cmp	w8, #20
	b.hi	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh7:
	adrp	x8, _optarg@GOTPAGE
Lloh8:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh9:
	ldr	x19, [x8]
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w23, #1
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w24, w24, #1
Lloh10:
	adrp	x9, _verbosity@GOTPAGE
Lloh11:
	ldr	x9, [x9, _verbosity@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh12:
	adrp	x8, _optarg@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh14:
	ldr	x27, [x8]
	b	LBB0_1
LBB0_9:
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.10:
Lloh15:
	adrp	x8, _optind@GOTPAGE
Lloh16:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	cbz	x27, LBB0_12
; %bb.11:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal_exit
LBB0_12:
	cmp	w22, w20
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x25
	bl	_run_daemon
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	bl	_log_init
	bl	_log_get_lock
	cbz	x0, LBB0_16
; %bb.14:
	bl	_log_get_lock
	bl	_lock_quick_destroy
	mov	w0, #0
	b	LBB0_16
LBB0_15:
	bl	_usage
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_CONFIGFILE,8,3                 ; @CONFIGFILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c:dhpvw:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_optind,8,3                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"option not supported"

.subsections_via_symbols
