	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eli_resume
_eli_resume:                            ## @eli_resume
	.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	%rdi, %rbx
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_G_ELI_USERKEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gctl_get_int
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gctl_get_ascii
	movq	%rax, %r12
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_eli_metadata_read
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.4:
	movq	%r12, %rdi
	callq	_g_get_mediasize
	cmpq	%rax, -56(%rbp)
	jne	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_eli_genkey
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movq	%r14, %rcx
	callq	_gctl_ro_param
	movq	%rbx, %rdi
	callq	_gctl_issue
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
LBB0_10:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_explicit_bzero
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	callq	_gctl_error
LBB0_11:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_G_ELI_USERKEYLEN,4,2           ## @G_ELI_USERKEYLEN
	.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	"Provider size mismatch."

L_.str.4:                               ## @.str.4
	.asciz	"key"

	.comm	_verbose,8,3                    ## @verbose
L_.str.5:                               ## @.str.5
	.asciz	"Resumed %s.\n"

	.no_dead_strip	_eli_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eli_resume
_eli_resume:                            ; @eli_resume
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _G_ELI_USERKEYLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _G_ELI_USERKEYLEN@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gctl_get_int
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.1:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_gctl_get_ascii
	mov	x22, x0
	sub	x2, x29, #64
	mov	x0, x21
	mov	x1, x22
	bl	_eli_metadata_read
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.2:
	mov	x0, x22
	bl	_g_get_mediasize
	ldur	x8, [x29, #-64]
	cmp	x8, x0
	b.ne	LBB0_9
; %bb.3:
	sub	x1, x29, #64
	mov	x0, x21
	mov	x2, x20
	mov	w3, #0
	bl	_eli_genkey
	cbz	x0, LBB0_7
; %bb.4:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_gctl_ro_param
	mov	x0, x21
	bl	_gctl_issue
	cbnz	x0, LBB0_7
; %bb.5:
Lloh14:
	adrp	x8, _verbose@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x22
	bl	_printf
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_explicit_bzero
	b	LBB0_11
LBB0_8:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
	mov	x0, x21
	bl	_gctl_error
LBB0_11:
	mov	sp, x23
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_G_ELI_USERKEYLEN,4,2           ; @G_ELI_USERKEYLEN
	.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	"Provider size mismatch."

l_.str.4:                               ; @.str.4
	.asciz	"key"

	.comm	_verbose,8,3                    ; @verbose
l_.str.5:                               ; @.str.5
	.asciz	"Resumed %s.\n"

	.no_dead_strip	_eli_resume
.subsections_via_symbols
