	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_PJDLOG_MODE_STD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pjdlog_init
	leaq	L_.str(%rip), %rdi
	callq	_pjdlog_prefix_set
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movb	$0, (%r14)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%r15)
	movl	%r13d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movb	$0, (%rbx)
	leaq	L_.str.1(%rip), %rbx
	leaq	LJTI0_0(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r14d
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-76(%rax), %ecx
	cmpl	$42, %ecx
	ja	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rcx,4), %rcx
	addq	%r13, %rcx
	movl	$1, %eax
	jmpq	*%rcx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %ebx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_strlcpy
	movslq	%eax, %rcx
	movl	%r14d, %eax
	cmpq	%r15, %rcx
	movl	%ebx, %r15d
	leaq	L_.str.1(%rip), %rbx
	jb	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strlcpy
	movslq	%eax, %rcx
	movl	%r14d, %eax
	cmpq	%rbx, %rcx
	leaq	L_.str.1(%rip), %rbx
	jb	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strlcpy
	movslq	%eax, %rcx
	movl	%r14d, %eax
	cmpq	%rbx, %rcx
	leaq	L_.str.1(%rip), %rbx
	jb	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_pjdlog_exitx
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	-60(%rbp)                       ## 4-byte Folded Spill
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_17:
	movq	_optind@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_usage
LBB0_19:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	orq	%rcx, %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_PATH_MAX@GOTPCREL(%rip), %r13
	je	LBB0_24
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	jne	LBB0_23
## %bb.21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	jne	LBB0_23
## %bb.22:
	cmpb	$0, (%r15)
	je	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	callq	_usage
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_24:
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.25:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	(%r13), %esi
	movq	%rcx, %r12
	movq	%rcx, %rdi
	callq	_strnlen
	testq	%rax, %rax
	jne	LBB0_45
LBB0_26:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_28
## %bb.27:
	movq	_DECRYPTCORE_CRASHDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_28:
	leaq	L_.str.5(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%rbx, %rcx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_snprintf
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_PJDLOG_VERIFY
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_snprintf
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_PJDLOG_VERIFY
	leaq	L_.str.7(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_snprintf
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_PJDLOG_VERIFY
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_29:
	testq	%r12, %r12
	je	LBB0_33
## %bb.30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_33
## %bb.31:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_33
## %bb.32:
	cmpb	$0, (%r15)
	jne	LBB0_34
LBB0_33:
	xorl	%eax, %eax
	callq	_usage
LBB0_34:
	testl	%r14d, %r14d
	je	LBB0_36
## %bb.35:
	movq	_PJDLOG_MODE_SYSLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pjdlog_mode_set
LBB0_36:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_pjdlog_debug_set
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_39
## %bb.37:
	movq	%r15, %rdi
	callq	_unlink
	cmpl	$-1, %eax
	jne	LBB0_39
## %bb.38:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_49
LBB0_39:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	movl	$384, %edx                      ## imm = 0x180
	callq	_open
	cmpl	$-1, %eax
	jne	LBB0_41
## %bb.40:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_pjdlog_errno
	jmp	LBB0_50
LBB0_41:
	movl	%eax, %edi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_decrypt
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_51
## %bb.42:
	movq	%r15, %rdi
	callq	_unlink
	movl	$1, %ebx
	cmpl	$-1, %eax
	jne	LBB0_51
## %bb.43:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_51
## %bb.44:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_errno
	jmp	LBB0_51
LBB0_45:
	xorl	%ebx, %ebx
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=1
	incq	%rbx
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_strnlen
	cmpq	%rax, %rbx
	jae	LBB0_26
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_46
LBB0_49:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_errno
LBB0_50:
	movl	$1, %ebx
LBB0_51:
	xorl	%eax, %eax
	callq	_pjdlog_fini
	movl	%ebx, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.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_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_16
	.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_13
	.long	L0_0_set_16
	.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_14
	.end_data_region
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_PJDLOG_MODE_STD,4,2            ## @PJDLOG_MODE_STD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(decryptcore) "

L_.str.1:                               ## @.str.1
	.asciz	"Lc:d:e:fk:n:p:v"

	.comm	_optarg,8,3                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	"Core file path is too long."

L_.str.3:                               ## @.str.3
	.asciz	"Encrypted core file path is too long."

L_.str.4:                               ## @.str.4
	.asciz	"Key file path is too long."

	.comm	_optind,8,3                     ## @optind
	.comm	_DECRYPTCORE_CRASHDIR,8,3       ## @DECRYPTCORE_CRASHDIR
L_.str.5:                               ## @.str.5
	.asciz	"%s/key.%s"

L_.str.6:                               ## @.str.6
	.asciz	"%s/vmcore.%s"

L_.str.7:                               ## @.str.7
	.asciz	"%s/vmcore_encrypted.%s"

	.comm	_PJDLOG_MODE_SYSLOG,4,2         ## @PJDLOG_MODE_SYSLOG
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.8:                               ## @.str.8
	.asciz	"Unable to remove old core"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
L_.str.9:                               ## @.str.9
	.asciz	"Unable to open %s"

L_.str.10:                              ## @.str.10
	.asciz	"Unable to remove core"

.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
	sub	sp, sp, #48
	mov	x27, x1
	mov	x26, x0
Lloh0:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x9, x24
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x12, x9, #0x1fffffff0
	sub	x19, x8, x12
	mov	sp, x19
	mov	x9, x24
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x24
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
Lloh9:
	adrp	x8, _PJDLOG_MODE_STD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PJDLOG_MODE_STD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_pjdlog_init
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pjdlog_prefix_set
	stp	xzr, xzr, [x29, #-120]          ; 16-byte Folded Spill
	mov	x25, #0
	mov	w23, #0
	stur	wzr, [x29, #-100]               ; 4-byte Folded Spill
	mov	w8, #0
	mov	x21, x19
	strb	wzr, [x19]
	stp	x20, x22, [x29, #-96]           ; 16-byte Folded Spill
	strb	wzr, [x20]
	strb	wzr, [x22]
Lloh14:
	adrp	x28, l_.str.1@PAGE
Lloh15:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh16:
	adrp	x22, lJTI0_0@PAGE
Lloh17:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x19, _optarg@GOTPAGE
Lloh19:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	mov	x8, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	bl	_getopt
	sub	w9, w0, #76
	cmp	w9, #42
	b.hi	LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	adr	x10, LBB0_1
	ldrb	w11, [x22, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19]
	mov	x0, x21
	mov	x2, x24
	bl	_strlcpy
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	mov	x8, x20
	cmp	x9, x24
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	mov	x8, x20
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19]
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x2, x24
	bl	_strlcpy
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	mov	x8, x20
	cmp	x9, x24
	b.lo	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	mov	x8, x20
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19]
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x2, x24
	bl	_strlcpy
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	mov	x8, x20
	cmp	x9, x24
	b.lo	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_pjdlog_exitx
	mov	x8, x20
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x25, [x19]
	mov	x8, x20
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	mov	x8, x20
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	mov	x8, x20
	b	LBB0_2
LBB0_17:
Lloh26:
	adrp	x8, _optind@GOTPAGE
Lloh27:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w26
	b.eq	LBB0_19
; %bb.18:
	bl	_usage
LBB0_19:
	mov	x27, x25
	ldp	x26, x22, [x29, #-120]          ; 16-byte Folded Reload
	orr	x8, x26, x25
	cbz	x8, LBB0_24
; %bb.20:
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	ldrb	w8, [x8]
	cbnz	w8, LBB0_23
; %bb.21:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldrb	w8, [x8]
	cbnz	w8, LBB0_23
; %bb.22:
	ldrb	w8, [x21]
	cbz	w8, LBB0_24
LBB0_23:
	bl	_usage
LBB0_24:
Lloh29:
	adrp	x25, _PATH_MAX@GOTPAGE
Lloh30:
	ldr	x25, [x25, _PATH_MAX@GOTPAGEOFF]
	cbz	x27, LBB0_27
; %bb.25:
	ldr	w1, [x25]
	mov	x0, x27
	bl	_strnlen
	cbnz	x0, LBB0_43
LBB0_26:
Lloh31:
	adrp	x8, _DECRYPTCORE_CRASHDIR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DECRYPTCORE_CRASHDIR@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x26, #0
	csel	x26, x8, x26, eq
Lloh34:
	adrp	x2, l_.str.5@PAGE
Lloh35:
	add	x2, x2, l_.str.5@PAGEOFF
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x1, x24
	mov	x3, x26
	mov	x4, x27
	bl	_snprintf
	cmp	x0, #0
	cset	w0, gt
	bl	_PJDLOG_VERIFY
Lloh36:
	adrp	x2, l_.str.6@PAGE
Lloh37:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	mov	x3, x26
	mov	x4, x27
	bl	_snprintf
	cmp	x0, #0
	cset	w0, gt
	bl	_PJDLOG_VERIFY
Lloh38:
	adrp	x2, l_.str.7@PAGE
Lloh39:
	add	x2, x2, l_.str.7@PAGEOFF
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x1, x24
	mov	x3, x26
	mov	x4, x27
	bl	_snprintf
	cmp	x0, #0
	cset	w0, gt
	bl	_PJDLOG_VERIFY
LBB0_27:
	cbz	x22, LBB0_31
; %bb.28:
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	ldrb	w8, [x8]
	cbz	w8, LBB0_31
; %bb.29:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldrb	w8, [x8]
	cbz	w8, LBB0_31
; %bb.30:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_32
LBB0_31:
	bl	_usage
LBB0_32:
	cbz	w20, LBB0_34
; %bb.33:
Lloh40:
	adrp	x8, _PJDLOG_MODE_SYSLOG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PJDLOG_MODE_SYSLOG@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_pjdlog_mode_set
LBB0_34:
	mov	x0, x23
	bl	_pjdlog_debug_set
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	cbz	w8, LBB0_37
; %bb.35:
	mov	x0, x21
	bl	_unlink
	cmn	w0, #1
	b.ne	LBB0_37
; %bb.36:
Lloh43:
	adrp	x8, _errno@GOTPAGE
Lloh44:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
Lloh46:
	adrp	x9, _ENOENT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_48
LBB0_37:
Lloh49:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh50:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh53:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh55:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh56:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	mov	w2, #384
	bl	_open
	cmn	w0, #1
	b.ne	LBB0_39
; %bb.38:
Lloh58:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh61:
	adrp	x1, l_.str.9@PAGE
Lloh62:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_pjdlog_errno
	add	sp, sp, #16
	b	LBB0_50
LBB0_39:
	mov	x1, x22
	ldp	x3, x2, [x29, #-96]             ; 16-byte Folded Reload
	bl	_decrypt
	cbnz	w0, LBB0_47
; %bb.40:
	mov	x0, x21
	bl	_unlink
	cmn	w0, #1
	b.ne	LBB0_50
; %bb.41:
Lloh63:
	adrp	x8, _errno@GOTPAGE
Lloh64:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
Lloh66:
	adrp	x9, _ENOENT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_50
; %bb.42:
Lloh69:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
Lloh72:
	adrp	x1, l_.str.10@PAGE
Lloh73:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_49
LBB0_43:
	mov	x19, #0
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	add	x19, x19, #1
	ldr	w1, [x25]
	mov	x0, x27
	bl	_strnlen
	cmp	x19, x0
	b.hs	LBB0_26
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x27, x19]
	bl	_isdigit
	cbnz	x0, LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	bl	_usage
	b	LBB0_44
LBB0_47:
	mov	w19, #0
	b	LBB0_51
LBB0_48:
Lloh74:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.8@PAGE
Lloh78:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_49:
	bl	_pjdlog_errno
LBB0_50:
	mov	w19, #1
LBB0_51:
	bl	_pjdlog_fini
	mov	x0, x19
	bl	_exit
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_PJDLOG_MODE_STD,4,2            ; @PJDLOG_MODE_STD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(decryptcore) "

l_.str.1:                               ; @.str.1
	.asciz	"Lc:d:e:fk:n:p:v"

	.comm	_optarg,8,3                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	"Core file path is too long."

l_.str.3:                               ; @.str.3
	.asciz	"Encrypted core file path is too long."

l_.str.4:                               ; @.str.4
	.asciz	"Key file path is too long."

	.comm	_optind,8,3                     ; @optind
	.comm	_DECRYPTCORE_CRASHDIR,8,3       ; @DECRYPTCORE_CRASHDIR
l_.str.5:                               ; @.str.5
	.asciz	"%s/key.%s"

l_.str.6:                               ; @.str.6
	.asciz	"%s/vmcore.%s"

l_.str.7:                               ; @.str.7
	.asciz	"%s/vmcore_encrypted.%s"

	.comm	_PJDLOG_MODE_SYSLOG,4,2         ; @PJDLOG_MODE_SYSLOG
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.8:                               ; @.str.8
	.asciz	"Unable to remove old core"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
l_.str.9:                               ; @.str.9
	.asciz	"Unable to open %s"

l_.str.10:                              ; @.str.10
	.asciz	"Unable to remove core"

.subsections_via_symbols
