	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eli_restore
_eli_restore:                           ## @eli_restore
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_gctl_get_int
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gctl_get_ascii
	movq	%rax, %r15
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gctl_get_ascii
	movq	%rax, %r14
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_eli_metadata_read
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	callq	_g_get_mediasize
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	cmpq	%rax, -32(%rbp)
	je	LBB0_7
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gctl_get_int
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	%r15, -32(%rbp)
LBB0_7:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eli_metadata_store
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gctl_error                     ## TAILCALL
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_gctl_error
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_gctl_error
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nargs"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid number of arguments."

L_.str.2:                               ## @.str.2
	.asciz	"arg0"

L_.str.3:                               ## @.str.3
	.asciz	"arg1"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot get informations about %s: %s."

	.comm	_errno,4,2                      ## @errno
L_.str.5:                               ## @.str.5
	.asciz	"force"

L_.str.6:                               ## @.str.6
	.asciz	"Provider size mismatch: wrong backup file?"

	.no_dead_strip	_eli_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eli_restore
_eli_restore:                           ; @eli_restore
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gctl_get_int
	cmp	w0, #2
	b.ne	LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_gctl_get_ascii
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_gctl_get_ascii
	mov	x20, x0
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x21
	bl	_eli_metadata_read
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.2:
	mov	x0, x20
	bl	_g_get_mediasize
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	ldr	x8, [sp, #24]
	cmp	x8, x0
	b.eq	LBB0_6
; %bb.4:
Lloh6:
	adrp	x1, l_.str.5@PAGE
Lloh7:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_gctl_get_int
	cbz	w0, LBB0_9
; %bb.5:
	str	x21, [sp, #24]
LBB0_6:
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_eli_metadata_store
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_gctl_error
LBB0_8:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_gctl_error
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nargs"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid number of arguments."

l_.str.2:                               ; @.str.2
	.asciz	"arg0"

l_.str.3:                               ; @.str.3
	.asciz	"arg1"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot get informations about %s: %s."

	.comm	_errno,4,2                      ; @errno
l_.str.5:                               ; @.str.5
	.asciz	"force"

l_.str.6:                               ; @.str.6
	.asciz	"Provider size mismatch: wrong backup file?"

	.no_dead_strip	_eli_restore
.subsections_via_symbols
