	.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
	pushq	%rax
	.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, %ebx
	movl	%edi, -44(%rbp)
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_keep@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_force@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_clear@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_compress@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_checkfor@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_nerr@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nsaved@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nfound@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_LOG_PERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_openlog
	movq	_SIGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_infohandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_xo_parse_args
	testl	%eax, %eax
	js	LBB0_52
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rbx
	leaq	LJTI0_0(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_verbose@GOTPCREL(%rip), %rax
	incl	(%rax)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-67(%rax), %ecx
	cmpl	$55, %ecx
	ja	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_checkfor@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_keep@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_force@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_clear@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	callq	_atoi
	movq	_maxdumps@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jg	LBB0_2
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_compress@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_15
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_2
LBB0_15:
	movq	_checkfor@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.16:
	movq	_clear@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.17:
	movq	_force@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.18:
	movq	_keep@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
LBB0_19:
	xorl	%eax, %eax
	callq	_usage
LBB0_20:
	movq	_clear@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.21:
	movq	_compress@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_keep@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	je	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_usage
LBB0_23:
	movq	_maxdumps@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_26
## %bb.24:
	movq	_checkfor@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_clear@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	je	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_usage
LBB0_26:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r14d
	movl	%r14d, -44(%rbp)
	leaq	(%r15,%rax,8), %r12
	leaq	L_.str(%rip), %r15
	testl	%r14d, %r14d
	jle	LBB0_32
## %bb.27:
	movq	_checkfor@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_32
## %bb.28:
	movq	_clear@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_32
## %bb.29:
	movq	(%r12), %rdi
	callq	_chdir
	testl	%eax, %eax
	jne	LBB0_30
## %bb.31:
	movq	(%r12), %r15
	decl	%r14d
	movl	%r14d, -44(%rbp)
	addq	$8, %r12
LBB0_32:
	testl	%r14d, %r14d
	jne	LBB0_34
## %bb.33:
	leaq	-44(%rbp), %rdi
	callq	_enum_dumpdevs
	movq	%rax, %r12
LBB0_34:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_35
## %bb.37:
	movl	%eax, %r13d
	movq	_CAP_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAP_FCNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAP_FSTATAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CAP_FSTATFS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CAP_PREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_CAP_SYMLINKAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_CAP_FTRUNCATE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r11d
	movq	_CAP_UNLINKAT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	movq	_CAP_WRITE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	pushq	%rbx
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_cap_rights_init
	addq	$32, %rsp
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_caph_rights_limit
	testq	%rax, %rax
	js	LBB0_38
## %bb.39:
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	callq	_init_caps
	cmpl	$0, -44(%rbp)
	jle	LBB0_42
## %bb.40:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_DoFile
	incq	%rbx
	movslq	-44(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_41
LBB0_42:
	movq	_nfound@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_43
## %bb.48:
	movq	_nsaved@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_56
## %bb.49:
	movq	_nerr@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jne	LBB0_50
## %bb.53:
	testl	%eax, %eax
	je	LBB0_56
## %bb.54:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_55
LBB0_43:
	movq	_checkfor@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jne	LBB0_44
## %bb.46:
	testl	%eax, %eax
	je	LBB0_56
## %bb.47:
	leaq	L_.str.8(%rip), %rsi
LBB0_55:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_logmsg
LBB0_56:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_12:
	xorl	%eax, %eax
	callq	_logmsg
	movl	$1, %edi
	callq	_exit
LBB0_35:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	jmp	LBB0_36
LBB0_38:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_12
LBB0_30:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.4(%rip), %rsi
LBB0_36:
	xorl	%eax, %eax
	callq	_logmsg
	movl	$1, %edi
	callq	_exit
LBB0_44:
	testl	%eax, %eax
	je	LBB0_52
## %bb.45:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
LBB0_50:
	testl	%eax, %eax
	je	LBB0_52
## %bb.51:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_logmsg
LBB0_52:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-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_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_keep,4,2                       ## @keep
	.comm	_force,4,2                      ## @force
	.comm	_clear,4,2                      ## @clear
	.comm	_compress,4,2                   ## @compress
	.comm	_checkfor,4,2                   ## @checkfor
	.comm	_nerr,8,3                       ## @nerr
	.comm	_nsaved,8,3                     ## @nsaved
	.comm	_nfound,8,3                     ## @nfound
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"savecore"

	.comm	_LOG_PERROR,4,2                 ## @LOG_PERROR
	.comm	_LOG_DAEMON,4,2                 ## @LOG_DAEMON
	.comm	_SIGINFO,4,2                    ## @SIGINFO
	.comm	_infohandler,4,2                ## @infohandler
L_.str.2:                               ## @.str.2
	.asciz	"Ccfkm:vz"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_maxdumps,8,3                   ## @maxdumps
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"Invalid maxdump value"

	.comm	_optind,8,3                     ## @optind
L_.str.4:                               ## @.str.4
	.asciz	"chdir(%s): %m"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ## @O_DIRECTORY
L_.str.5:                               ## @.str.5
	.asciz	"open(%s): %m"

	.comm	_CAP_CREATE,4,2                 ## @CAP_CREATE
	.comm	_CAP_FCNTL,4,2                  ## @CAP_FCNTL
	.comm	_CAP_FSTATAT,4,2                ## @CAP_FSTATAT
	.comm	_CAP_FSTATFS,4,2                ## @CAP_FSTATFS
	.comm	_CAP_PREAD,4,2                  ## @CAP_PREAD
	.comm	_CAP_SYMLINKAT,4,2              ## @CAP_SYMLINKAT
	.comm	_CAP_FTRUNCATE,4,2              ## @CAP_FTRUNCATE
	.comm	_CAP_UNLINKAT,4,2               ## @CAP_UNLINKAT
	.comm	_CAP_WRITE,4,2                  ## @CAP_WRITE
L_.str.6:                               ## @.str.6
	.asciz	"cap_rights_limit(): %m"

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.8:                               ## @.str.8
	.asciz	"no dumps found"

L_.str.9:                               ## @.str.9
	.asciz	"unsaved dumps found but not saved"

L_.str.10:                              ## @.str.10
	.asciz	"no unsaved dumps found"

L_str:                                  ## @str
	.asciz	"No dump exists"

.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
Lloh3:
	adrp	x28, _keep@GOTPAGE
Lloh4:
	ldr	x28, [x28, _keep@GOTPAGEOFF]
	str	wzr, [x28]
Lloh5:
	adrp	x25, _force@GOTPAGE
Lloh6:
	ldr	x25, [x25, _force@GOTPAGEOFF]
	str	wzr, [x25]
Lloh7:
	adrp	x8, _clear@GOTPAGE
Lloh8:
	ldr	x8, [x8, _clear@GOTPAGEOFF]
Lloh9:
	str	wzr, [x8]
Lloh10:
	adrp	x23, _compress@GOTPAGE
Lloh11:
	ldr	x23, [x23, _compress@GOTPAGEOFF]
	str	wzr, [x23]
Lloh12:
	adrp	x8, _checkfor@GOTPAGE
Lloh13:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
Lloh15:
	adrp	x8, _nerr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nerr@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x8, _nsaved@GOTPAGE
Lloh19:
	ldr	x8, [x8, _nsaved@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
Lloh21:
	adrp	x8, _nfound@GOTPAGE
Lloh22:
	ldr	x8, [x8, _nfound@GOTPAGEOFF]
Lloh23:
	str	xzr, [x8]
Lloh24:
	adrp	x8, _LOG_PERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG_PERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _LOG_DAEMON@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOG_DAEMON@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_openlog
Lloh32:
	adrp	x8, _SIGINFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SIGINFO@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _infohandler@GOTPAGE
Lloh36:
	ldr	x8, [x8, _infohandler@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_signal
	mov	x0, x20
	mov	x1, x19
	bl	_xo_parse_args
	tbnz	w0, #31, LBB0_51
; %bb.1:
	mov	x20, x0
Lloh38:
	adrp	x21, l_.str.2@PAGE
Lloh39:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	w24, #1
Lloh40:
	adrp	x27, _optarg@GOTPAGE
Lloh41:
	ldr	x27, [x27, _optarg@GOTPAGEOFF]
Lloh42:
	adrp	x26, _maxdumps@GOTPAGE
Lloh43:
	ldr	x26, [x26, _maxdumps@GOTPAGEOFF]
Lloh44:
	adrp	x22, lJTI0_0@PAGE
Lloh45:
	add	x22, x22, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh46:
	adrp	x9, _verbose@GOTPAGE
Lloh47:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #67
	cmp	w8, #55
	b.hi	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh48:
	adrp	x8, _checkfor@GOTPAGE
Lloh49:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh50:
	str	w24, [x8]
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w24, [x28]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w24, [x25]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh51:
	adrp	x8, _clear@GOTPAGE
Lloh52:
	ldr	x8, [x8, _clear@GOTPAGEOFF]
Lloh53:
	str	w24, [x8]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	bl	_atoi
	str	x0, [x26]
	cmp	x0, #0
	b.gt	LBB0_3
	b	LBB0_42
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w24, [x23]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
	b	LBB0_3
LBB0_13:
Lloh54:
	adrp	x8, _checkfor@GOTPAGE
Lloh55:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	cbz	w8, LBB0_16
; %bb.14:
Lloh57:
	adrp	x8, _clear@GOTPAGE
Lloh58:
	ldr	x8, [x8, _clear@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	ldr	w9, [x25]
	ldr	w10, [x28]
	cmp	w8, #0
	ccmp	w9, #0, #0, eq
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_16
; %bb.15:
	bl	_usage
LBB0_16:
Lloh60:
	adrp	x8, _clear@GOTPAGE
Lloh61:
	ldr	x8, [x8, _clear@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	cbz	w8, LBB0_19
; %bb.17:
	ldr	w8, [x23]
	ldr	w9, [x28]
	orr	w8, w8, w9
	cbz	w8, LBB0_19
; %bb.18:
	bl	_usage
LBB0_19:
	ldr	x8, [x26]
	cmp	x8, #1
	b.lt	LBB0_22
; %bb.20:
Lloh63:
	adrp	x8, _checkfor@GOTPAGE
Lloh64:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _clear@GOTPAGE
Lloh67:
	ldr	x9, [x9, _clear@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cbz	w8, LBB0_22
; %bb.21:
	bl	_usage
LBB0_22:
Lloh69:
	adrp	x8, _optind@GOTPAGE
Lloh70:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x8]
	sub	w8, w20, w9
	str	w8, [sp, #12]
	add	x19, x19, x9, lsl #3
Lloh72:
	adrp	x9, _checkfor@GOTPAGE
Lloh73:
	ldr	x9, [x9, _checkfor@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
Lloh75:
	adrp	x10, _clear@GOTPAGE
Lloh76:
	ldr	x10, [x10, _clear@GOTPAGEOFF]
Lloh77:
	ldr	w10, [x10]
	subs	w21, w8, #1
	ccmp	w9, #0, #0, ge
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_35
; %bb.23:
Lloh78:
	adrp	x20, l_.str@PAGE
Lloh79:
	add	x20, x20, l_.str@PAGEOFF
	cbnz	w8, LBB0_25
LBB0_24:
	add	x0, sp, #12
	bl	_enum_dumpdevs
	mov	x19, x0
LBB0_25:
Lloh80:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh81:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
Lloh83:
	adrp	x9, _O_DIRECTORY@GOTPAGE
Lloh84:
	ldr	x9, [x9, _O_DIRECTORY@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_open
	tbnz	w0, #31, LBB0_44
; %bb.26:
	mov	x21, x0
Lloh86:
	adrp	x8, _CAP_CREATE@GOTPAGE
Lloh87:
	ldr	x8, [x8, _CAP_CREATE@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
Lloh89:
	adrp	x8, _CAP_FCNTL@GOTPAGE
Lloh90:
	ldr	x8, [x8, _CAP_FCNTL@GOTPAGEOFF]
Lloh91:
	ldr	w2, [x8]
Lloh92:
	adrp	x8, _CAP_FSTATAT@GOTPAGE
Lloh93:
	ldr	x8, [x8, _CAP_FSTATAT@GOTPAGEOFF]
Lloh94:
	ldr	w3, [x8]
Lloh95:
	adrp	x8, _CAP_FSTATFS@GOTPAGE
Lloh96:
	ldr	x8, [x8, _CAP_FSTATFS@GOTPAGEOFF]
Lloh97:
	ldr	w4, [x8]
Lloh98:
	adrp	x8, _CAP_PREAD@GOTPAGE
Lloh99:
	ldr	x8, [x8, _CAP_PREAD@GOTPAGEOFF]
Lloh100:
	ldr	w5, [x8]
Lloh101:
	adrp	x8, _CAP_SYMLINKAT@GOTPAGE
Lloh102:
	ldr	x8, [x8, _CAP_SYMLINKAT@GOTPAGEOFF]
Lloh103:
	ldr	w6, [x8]
Lloh104:
	adrp	x8, _CAP_FTRUNCATE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _CAP_FTRUNCATE@GOTPAGEOFF]
Lloh106:
	ldr	w7, [x8]
Lloh107:
	adrp	x8, _CAP_UNLINKAT@GOTPAGE
Lloh108:
	ldr	x8, [x8, _CAP_UNLINKAT@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
Lloh110:
	adrp	x9, _CAP_WRITE@GOTPAGE
Lloh111:
	ldr	x9, [x9, _CAP_WRITE@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	add	x0, sp, #8
	bl	_cap_rights_init
	add	x1, sp, #8
	mov	x0, x21
	bl	_caph_rights_limit
	tbnz	x0, #63, LBB0_45
; %bb.27:
	ldr	w0, [sp, #12]
	mov	x1, x19
	bl	_init_caps
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.28:
	mov	x22, #0
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x19, x22, lsl #3]
	mov	x0, x20
	mov	x1, x21
	bl	_DoFile
	add	x22, x22, #1
	ldrsw	x8, [sp, #12]
	cmp	x22, x8
	b.lt	LBB0_29
LBB0_30:
Lloh113:
	adrp	x8, _nfound@GOTPAGE
Lloh114:
	ldr	x8, [x8, _nfound@GOTPAGEOFF]
Lloh115:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.31:
Lloh116:
	adrp	x8, _nsaved@GOTPAGE
Lloh117:
	ldr	x8, [x8, _nsaved@GOTPAGEOFF]
Lloh118:
	ldr	x8, [x8]
	cbnz	x8, LBB0_41
; %bb.32:
Lloh119:
	adrp	x8, _nerr@GOTPAGE
Lloh120:
	ldr	x8, [x8, _nerr@GOTPAGEOFF]
Lloh121:
	ldr	x9, [x8]
Lloh122:
	adrp	x8, _verbose@GOTPAGE
Lloh123:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh124:
	ldr	w8, [x8]
	cbnz	x9, LBB0_49
; %bb.33:
	cbz	w8, LBB0_41
; %bb.34:
Lloh125:
	adrp	x1, l_.str.10@PAGE
Lloh126:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_40
LBB0_35:
	ldr	x0, [x19]
	bl	_chdir
	cbnz	w0, LBB0_46
; %bb.36:
	ldr	x20, [x19], #8
	str	w21, [sp, #12]
	mov	x8, x21
	cbnz	w8, LBB0_25
	b	LBB0_24
LBB0_37:
Lloh127:
	adrp	x8, _checkfor@GOTPAGE
Lloh128:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh129:
	ldr	w9, [x8]
Lloh130:
	adrp	x8, _verbose@GOTPAGE
Lloh131:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh132:
	ldr	w8, [x8]
	cbnz	w9, LBB0_47
; %bb.38:
	cbz	w8, LBB0_41
; %bb.39:
Lloh133:
	adrp	x1, l_.str.8@PAGE
Lloh134:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_40:
Lloh135:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh136:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh137:
	ldr	w0, [x8]
	bl	_logmsg
LBB0_41:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_42:
Lloh138:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh139:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh140:
	ldr	w0, [x8]
Lloh141:
	adrp	x1, l_.str.3@PAGE
Lloh142:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_43:
	bl	_logmsg
	mov	w0, #1
	bl	_exit
LBB0_44:
Lloh143:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh144:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh145:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh146:
	adrp	x1, l_.str.5@PAGE
Lloh147:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_43
LBB0_45:
Lloh148:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh149:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh150:
	ldr	w0, [x8]
Lloh151:
	adrp	x1, l_.str.6@PAGE
Lloh152:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_43
LBB0_46:
Lloh153:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh154:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh155:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh156:
	adrp	x1, l_.str.4@PAGE
Lloh157:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_43
LBB0_47:
	cbz	w8, LBB0_51
; %bb.48:
Lloh158:
	adrp	x0, l_str@PAGE
Lloh159:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
LBB0_49:
	cbz	w8, LBB0_51
; %bb.50:
Lloh160:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh161:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh162:
	ldr	w0, [x8]
Lloh163:
	adrp	x1, l_.str.9@PAGE
Lloh164:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_logmsg
LBB0_51:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpAdd	Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpAdd	Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpAdd	Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpAdd	Lloh158, Lloh159
	.loh AdrpAdd	Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_keep,4,2                       ; @keep
	.comm	_force,4,2                      ; @force
	.comm	_clear,4,2                      ; @clear
	.comm	_compress,4,2                   ; @compress
	.comm	_checkfor,4,2                   ; @checkfor
	.comm	_nerr,8,3                       ; @nerr
	.comm	_nsaved,8,3                     ; @nsaved
	.comm	_nfound,8,3                     ; @nfound
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"savecore"

	.comm	_LOG_PERROR,4,2                 ; @LOG_PERROR
	.comm	_LOG_DAEMON,4,2                 ; @LOG_DAEMON
	.comm	_SIGINFO,4,2                    ; @SIGINFO
	.comm	_infohandler,4,2                ; @infohandler
l_.str.2:                               ; @.str.2
	.asciz	"Ccfkm:vz"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_maxdumps,8,3                   ; @maxdumps
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"Invalid maxdump value"

	.comm	_optind,8,3                     ; @optind
l_.str.4:                               ; @.str.4
	.asciz	"chdir(%s): %m"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ; @O_DIRECTORY
l_.str.5:                               ; @.str.5
	.asciz	"open(%s): %m"

	.comm	_CAP_CREATE,4,2                 ; @CAP_CREATE
	.comm	_CAP_FCNTL,4,2                  ; @CAP_FCNTL
	.comm	_CAP_FSTATAT,4,2                ; @CAP_FSTATAT
	.comm	_CAP_FSTATFS,4,2                ; @CAP_FSTATFS
	.comm	_CAP_PREAD,4,2                  ; @CAP_PREAD
	.comm	_CAP_SYMLINKAT,4,2              ; @CAP_SYMLINKAT
	.comm	_CAP_FTRUNCATE,4,2              ; @CAP_FTRUNCATE
	.comm	_CAP_UNLINKAT,4,2               ; @CAP_UNLINKAT
	.comm	_CAP_WRITE,4,2                  ; @CAP_WRITE
l_.str.6:                               ; @.str.6
	.asciz	"cap_rights_limit(): %m"

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.8:                               ; @.str.8
	.asciz	"no dumps found"

l_.str.9:                               ; @.str.9
	.asciz	"unsaved dumps found but not saved"

l_.str.10:                              ; @.str.10
	.asciz	"no unsaved dumps found"

l_str:                                  ; @str
	.asciz	"No dump exists"

.subsections_via_symbols
