	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eli_version
_eli_version:                           ## @eli_version
	.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
	leaq	L_.str(%rip), %rsi
	callq	_gctl_get_int
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	jle	LBB0_11
## %bb.2:
	movl	%eax, %r14d
	leaq	-56(%rbp), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_le32dec
	leaq	L_.str.8(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	cmpl	%r13d, %r14d
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r13d, %edx
	callq	_gctl_get_ascii
	movq	%rax, %r15
	movq	_G_ELI_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_g_metadata_read
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_warn
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_gctl_error
	jmp	LBB0_10
LBB0_5:
	movl	$4, -44(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movl	-48(%rbp), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
LBB0_8:
	movq	_G_ELI_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"kern.geom.eli.version"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to obtain GELI kernel version"

L_.str.3:                               ## @.str.3
	.asciz	"kernel: %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"userland: %u\n"

	.comm	_G_ELI_VERSION,4,2              ## @G_ELI_VERSION
L_.str.5:                               ## @.str.5
	.asciz	"arg%d"

	.comm	_G_ELI_MAGIC,4,2                ## @G_ELI_MAGIC
L_.str.6:                               ## @.str.6
	.asciz	"%s: Unable to read metadata: %s."

L_.str.7:                               ## @.str.7
	.asciz	"Not fully done."

L_.str.8:                               ## @.str.8
	.asciz	"%s: %u\n"

	.no_dead_strip	_eli_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eli_version
_eli_version:                           ; @eli_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gctl_get_int
	cbz	w0, LBB0_7
; %bb.1:
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w21, #0
Lloh2:
	adrp	x22, l_.str.5@PAGE
Lloh3:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh4:
	adrp	x27, _G_ELI_MAGIC@GOTPAGE
Lloh5:
	ldr	x27, [x27, _G_ELI_MAGIC@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.8@PAGE
Lloh7:
	add	x23, x23, l_.str.8@PAGEOFF
Lloh8:
	adrp	x24, l_.str.6@PAGE
Lloh9:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh10:
	adrp	x25, l_.str.7@PAGE
Lloh11:
	add	x25, x25, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	bl	_le32dec
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp]
	mov	x0, x23
	bl	_printf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	cmp	w20, w21
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_gctl_get_ascii
	mov	x26, x0
	ldr	w3, [x27]
	add	x1, sp, #24
	mov	w2, #4
	bl	_g_metadata_read
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp]
	mov	x0, x24
	bl	_warn
	mov	x0, x19
	mov	x1, x25
	bl	_gctl_error
	b	LBB0_4
LBB0_7:
	mov	w8, #4
	str	w8, [sp, #16]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #20
	add	x2, sp, #16
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
LBB0_10:
Lloh18:
	adrp	x8, _G_ELI_VERSION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _G_ELI_VERSION@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nargs"

l_.str.1:                               ; @.str.1
	.asciz	"kern.geom.eli.version"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to obtain GELI kernel version"

l_.str.3:                               ; @.str.3
	.asciz	"kernel: %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"userland: %u\n"

	.comm	_G_ELI_VERSION,4,2              ; @G_ELI_VERSION
l_.str.5:                               ; @.str.5
	.asciz	"arg%d"

	.comm	_G_ELI_MAGIC,4,2                ; @G_ELI_MAGIC
l_.str.6:                               ; @.str.6
	.asciz	"%s: Unable to read metadata: %s."

l_.str.7:                               ; @.str.7
	.asciz	"Not fully done."

l_.str.8:                               ; @.str.8
	.asciz	"%s: %u\n"

	.no_dead_strip	_eli_version
.subsections_via_symbols
