	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_kenv_set                  ## -- Begin function priv_kenv_set
	.p2align	4, 0x90
_priv_kenv_set:                         ## @priv_kenv_set
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_KENV_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KENV_VAR_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KENV_VAR_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_KENV_VAR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_kenv
	movl	%eax, %r15d
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_expect
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.4:
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_expect
LBB0_9:
	orl	%r14d, %ebx
	je	LBB0_11
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expect                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KENV_SET,4,2                   ## @KENV_SET
	.comm	_KENV_VAR_NAME,4,2              ## @KENV_VAR_NAME
	.comm	_KENV_VAR_VALUE,4,2             ## @KENV_VAR_VALUE
	.comm	_KENV_VAR_LEN,4,2               ## @KENV_VAR_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priv_kenv_set(asroot, injail)"

	.comm	_EPERM,4,2                      ## @EPERM
L_.str.1:                               ## @.str.1
	.asciz	"priv_kenv_set(asroot, !injail)"

L_.str.2:                               ## @.str.2
	.asciz	"priv_kenv_set(!asroot, injail)"

L_.str.3:                               ## @.str.3
	.asciz	"priv_kenv_set(!asroot, !injail)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_kenv_set                  ; -- Begin function priv_kenv_set
	.p2align	2
_priv_kenv_set:                         ; @priv_kenv_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _KENV_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KENV_SET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _KENV_VAR_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KENV_VAR_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _KENV_VAR_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KENV_VAR_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _KENV_VAR_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KENV_VAR_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_kenv
	mov	x21, x0
	cbz	w20, LBB0_3
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _EPERM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	bl	_expect
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	cbnz	w19, LBB0_6
; %bb.5:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
LBB0_6:
	cbnz	w20, LBB0_9
; %bb.7:
	cbz	w19, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _EPERM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	bl	_expect
LBB0_9:
	orr	w8, w19, w20
	cbz	w8, LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh24:
	adrp	x8, _EPERM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_expect
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_KENV_SET,4,2                   ; @KENV_SET
	.comm	_KENV_VAR_NAME,4,2              ; @KENV_VAR_NAME
	.comm	_KENV_VAR_VALUE,4,2             ; @KENV_VAR_VALUE
	.comm	_KENV_VAR_LEN,4,2               ; @KENV_VAR_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priv_kenv_set(asroot, injail)"

	.comm	_EPERM,4,2                      ; @EPERM
l_.str.1:                               ; @.str.1
	.asciz	"priv_kenv_set(asroot, !injail)"

l_.str.2:                               ; @.str.2
	.asciz	"priv_kenv_set(!asroot, injail)"

l_.str.3:                               ; @.str.3
	.asciz	"priv_kenv_set(!asroot, !injail)"

.subsections_via_symbols
