	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_Setenv_f                    ## -- Begin function CL_Setenv_f
	.p2align	4, 0x90
_CL_Setenv_f:                           ## @CL_Setenv_f
	.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	%r12
	pushq	%rbx
	subq	$1040, %rsp                     ## imm = 0x410
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movl	%eax, %r14d
	cmpl	$3, %eax
	jl	LBB0_6
## %bb.1:
	movl	$1, %edi
	callq	_Cmd_Argv
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcat
	movl	$2, %ebx
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_strcat
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcat
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_2
## %bb.3:
	leaq	-1072(%rbp), %rdi
	callq	_putenv
	jmp	LBB0_4
LBB0_6:
	cmpl	$2, %r14d
	jne	LBB0_4
## %bb.7:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	callq	_getenv
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.8:
	cmpq	-40(%rbp), %rcx
	jne	LBB0_13
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_10
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.5:
	addq	$1040, %rsp                     ## imm = 0x410
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	-40(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
LBB0_10:
	addq	$1040, %rsp                     ## imm = 0x410
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"="

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

L_.str.2:                               ## @.str.2
	.asciz	"%s=%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s undefined\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_Setenv_f                    ; -- Begin function CL_Setenv_f
	.p2align	2
_CL_Setenv_f:                           ; @CL_Setenv_f
	.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
	sub	sp, sp, #1040
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_Cmd_Argc
	mov	x19, x0
	cmp	w0, #3
	b.lt	LBB0_4
; %bb.1:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x1, x0
	add	x0, sp, #8
	bl	_strcpy
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strcat
	mov	w20, #2
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_Cmd_Argv
	mov	x1, x0
	add	x0, sp, #8
	bl	_strcat
	add	x0, sp, #8
	mov	x1, x21
	bl	_strcat
	add	w20, w20, #1
	cmp	w19, w20
	b.ne	LBB0_2
; %bb.3:
	add	x0, sp, #8
	bl	_putenv
	b	LBB0_8
LBB0_4:
	cmp	w19, #2
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #1
	bl	_Cmd_Argv
	bl	_getenv
	mov	x19, x0
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x1, x0
	cbz	x19, LBB0_10
; %bb.6:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.7:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	b	LBB0_12
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.9:
	add	sp, sp, #1040
	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_10:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, #0
LBB0_12:
	add	sp, sp, #1040
	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	_Com_Printf
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"="

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

l_.str.2:                               ; @.str.2
	.asciz	"%s=%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s undefined\n"

.subsections_via_symbols
