	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_zfs_bootenv               ## -- Begin function init_zfs_bootenv
	.p2align	4, 0x90
_init_zfs_bootenv:                      ## @init_zfs_bootenv
	.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
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r14
	movslq	%r15d, %rax
	movb	$0, -1(%rax,%r14)
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_setenv
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edx
	callq	_setenv
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movb	$0, (%rax)
LBB0_5:
	movq	%r14, %rdi
	movl	$58, %esi
	callq	_strchr
	leaq	1(%rax), %rbx
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_setenv
	movq	%rbx, %rdi
	callq	_zfs_bootenv_initial
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zfs:"

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

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_zfs_bootenv               ; -- Begin function init_zfs_bootenv
	.p2align	2
_init_zfs_bootenv:                      ; @init_zfs_bootenv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_strdup
	cbz	x0, LBB0_2
; %bb.4:
	mov	x19, x0
	add	x8, x0, w20, sxtw
	sturb	wzr, [x8, #-1]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	w2, #1
	bl	_setenv
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #1
	bl	_setenv
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_6
; %bb.5:
	strb	wzr, [x0]
LBB0_6:
	mov	x0, x19
	mov	w1, #58
	bl	_strchr
	add	x20, x0, #1
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	mov	w2, #1
	bl	_setenv
	mov	x0, x20
	bl	_zfs_bootenv_initial
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zfs:"

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

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

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

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

.subsections_via_symbols
