	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ficlSetenv                     ## -- Begin function ficlSetenv
	.p2align	4, 0x90
_ficlSetenv:                            ## @ficlSetenv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_stackPopINT
	movl	%eax, %r13d
	movl	(%r15), %edi
	callq	_stackPopPtr
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_stackPopINT
	movl	%eax, %r14d
	movl	(%r15), %edi
	callq	_stackPopPtr
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	1(%r13), %edi
	callq	_ficlMalloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_vmThrowErr
LBB0_2:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_strncpy
	movslq	%r13d, %rax
	movb	$0, (%r12,%rax)
	leal	1(%r14), %edi
	callq	_ficlMalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_vmThrowErr
LBB0_4:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_strncpy
	movslq	%r14d, %rax
	movb	$0, (%rbx,%rax)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_setenv
	movq	%r12, %rdi
	callq	_ficlFree
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ficlFree                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ficlSetenv                     ; -- Begin function ficlSetenv
	.p2align	2
_ficlSetenv:                            ; @ficlSetenv
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_stackPopINT
	mov	x22, x0
	ldr	w0, [x19]
	bl	_stackPopPtr
	mov	x24, x0
	ldr	w0, [x19]
	bl	_stackPopINT
	mov	x20, x0
	ldr	w0, [x19]
	bl	_stackPopPtr
	mov	x23, x0
	add	w0, w22, #1
	bl	_ficlMalloc
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_vmThrowErr
LBB0_2:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_strncpy
	strb	wzr, [x21, w22, sxtw]
	add	w0, w20, #1
	bl	_ficlMalloc
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_vmThrowErr
LBB0_4:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x22, w20, sxtw]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #1
	bl	_setenv
	mov	x0, x21
	bl	_ficlFree
	mov	x0, x22
	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
	b	_ficlFree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: out of memory"

.subsections_via_symbols
