	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_setlocal                   ## -- Begin function cmd_setlocal
	.p2align	4, 0x90
_cmd_setlocal:                          ## @cmd_setlocal
	.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	_bc@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.1:
	movl	%edi, %r14d
	movl	$32, %edi
	callq	_cmd_alloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_bEnableExtensions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_bDelayedExpansion@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_DuplicateEnvironment
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movq	(%r15), %rax
	movq	%rbx, (%rax)
	movq	_nErrorLevel@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	leaq	-44(%rbp), %rsi
	movl	%r14d, %edi
	callq	_splitspace
	movq	%rax, %r12
	cmpl	$0, -44(%rbp)
	jle	LBB0_11
## %bb.4:
	xorl	%r14d, %r14d
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rcx), %rax
	movq	%rax, (%rdx)
	incq	%r14
	movslq	-44(%rbp), %rax
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	__tcsicmp
	movq	%r15, %rcx
	movq	_bEnableExtensions@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12,%r14,4), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__tcsicmp
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	_bEnableExtensions@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12,%r14,4), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__T
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__tcsicmp
	movq	%r15, %rcx
	movq	_bDelayedExpansion@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12,%r14,4), %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	__T
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__tcsicmp
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	_bDelayedExpansion@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.10:
	movl	(%r12,%r14,4), %edi
	callq	_error_invalid_parameter_format
LBB0_11:
	movq	%r12, %rdi
	callq	_freep
	movq	_nErrorLevel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	xorl	%eax, %eax
	callq	_error_out_of_memory
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
	callq	_error_out_of_memory
	movq	%rbx, %rdi
	callq	_cmd_free
LBB0_15:
	movl	$1, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bc,8,3                         ## @bc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate memory for Saved!\n"

	.comm	_bEnableExtensions,8,3          ## @bEnableExtensions
	.comm	_bDelayedExpansion,8,3          ## @bDelayedExpansion
	.comm	_nErrorLevel,4,2                ## @nErrorLevel
L_.str.1:                               ## @.str.1
	.asciz	"enableextensions"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"disableextensions"

	.comm	_FALSE,8,3                      ## @FALSE
L_.str.3:                               ## @.str.3
	.asciz	"enabledelayedexpansion"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_setlocal                   ; -- Begin function cmd_setlocal
	.p2align	2
_cmd_setlocal:                          ; @cmd_setlocal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _bc@GOTPAGE
Lloh1:
	ldr	x21, [x21, _bc@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_16
; %bb.1:
	mov	x19, x0
	mov	w0, #32
	bl	_cmd_alloc
	cbz	x0, LBB0_17
; %bb.2:
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [x0, #24]
Lloh2:
	adrp	x8, _bEnableExtensions@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bEnableExtensions@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _bDelayedExpansion@GOTPAGE
Lloh6:
	ldr	x9, [x9, _bDelayedExpansion@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #8]
	bl	_DuplicateEnvironment
	str	w0, [x20]
	cbz	w0, LBB0_18
; %bb.3:
	ldr	x8, [x21]
	str	x20, [x8]
Lloh8:
	adrp	x8, _nErrorLevel@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nErrorLevel@GOTPAGEOFF]
Lloh10:
	str	wzr, [x8]
	add	x1, sp, #12
	mov	x0, x19
	bl	_splitspace
	mov	x19, x0
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.4:
	mov	x26, #0
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh13:
	adrp	x27, _bEnableExtensions@GOTPAGE
Lloh14:
	ldr	x27, [x27, _bEnableExtensions@GOTPAGEOFF]
Lloh15:
	adrp	x28, _TRUE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.2@PAGE
Lloh18:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh19:
	adrp	x25, _FALSE@GOTPAGE
Lloh20:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
Lloh21:
	adrp	x22, l_.str.3@PAGE
Lloh22:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh23:
	adrp	x23, _bDelayedExpansion@GOTPAGE
Lloh24:
	ldr	x23, [x23, _bDelayedExpansion@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x28
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x27
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x8]
	str	x8, [x9]
	add	x26, x26, #1
	ldrsw	x8, [sp, #12]
	cmp	x26, x8
	b.ge	LBB0_20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x19, x26, lsl #2]
	mov	x0, x20
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcsicmp
	cbz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w24, [x19, x26, lsl #2]
	mov	x0, x21
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcsicmp
	cbz	w0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w24, [x19, x26, lsl #2]
	mov	x0, x22
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcsicmp
	cbz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w24, [x19, x26, lsl #2]
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcsicmp
	cbnz	w0, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x25
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x25
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x28
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x23
	b	LBB0_7
LBB0_16:
	mov	w0, #0
	b	LBB0_21
LBB0_17:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	bl	_error_out_of_memory
	mov	w0, #1
	b	LBB0_21
LBB0_18:
	bl	_error_out_of_memory
	mov	x0, x20
	bl	_cmd_free
	mov	w0, #1
	b	LBB0_21
LBB0_19:
	ldr	w0, [x19, x26, lsl #2]
	bl	_error_invalid_parameter_format
LBB0_20:
	mov	x0, x19
	bl	_freep
Lloh29:
	adrp	x8, _nErrorLevel@GOTPAGE
Lloh30:
	ldr	x8, [x8, _nErrorLevel@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_bc,8,3                         ; @bc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate memory for Saved!\n"

	.comm	_bEnableExtensions,8,3          ; @bEnableExtensions
	.comm	_bDelayedExpansion,8,3          ; @bDelayedExpansion
	.comm	_nErrorLevel,4,2                ; @nErrorLevel
l_.str.1:                               ; @.str.1
	.asciz	"enableextensions"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"disableextensions"

	.comm	_FALSE,8,3                      ; @FALSE
l_.str.3:                               ; @.str.3
	.asciz	"enabledelayedexpansion"

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

.subsections_via_symbols
