	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kenv_next
_kenv_next:                             ## @kenv_next
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rdi)
	leaq	1(%rdi), %rdi
	jne	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	cmpb	$0, (%rdi)
	cmovneq	%rdi, %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kenv_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kenv_next
_kenv_next:                             ; @kenv_next
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0], #1
	cbnz	w8, LBB0_1
; %bb.2:
	ldrb	w8, [x0]
	cmp	w8, #0
	csel	x0, xzr, x0, eq
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kenv_next
.subsections_via_symbols
