	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setvar                         ## -- Begin function setvar
	.p2align	4, 0x90
_setvar:                                ## @setvar
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movsbl	(%rdi), %edi
	callq	_is_name
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%ecx, %r14d
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx,%r15), %edi
	callq	_is_in_name
	incq	%r15
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	(%rbx,%r15), %dl
	cmpb	$61, %dl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rbx,%r15), %rax
	movl	$1, %ecx
	testb	%dl, %dl
	jne	LBB0_1
LBB0_5:
	movq	%rbx, %r13
	subq	%r12, %r13
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	subl	%r12d, %ebx
	leal	(%r15,%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	callq	_error
LBB0_7:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	addq	%r13, %rax
	leaq	(%r15,%rax), %rdi
	addq	$2, %rdi
	incq	%rbx
	jmp	LBB0_10
LBB0_8:
	leaq	(%r15,%r13), %rdi
	addq	$2, %rdi
	movq	_VUNSET@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
LBB0_10:
	callq	_ckmalloc
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	addq	%r14, %r13
	movb	$61, (%r15,%r13)
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	leaq	(%r15,%r13), %rdi
	incq	%rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	jmp	LBB0_13
LBB0_12:
	movb	$0, 1(%r15,%r13)
LBB0_13:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setvareq                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s: bad variable name"

	.comm	_VUNSET,4,2                     ## @VUNSET
	.comm	_INTOFF,4,2                     ## @INTOFF
	.comm	_INTON,4,2                      ## @INTON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setvar                         ; -- Begin function setvar
	.p2align	2
_setvar:                                ; @setvar
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsb	w0, [x0]
	bl	_is_name
	cmp	w0, #0
	cset	w9, eq
	mov	x8, x21
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x25, #0
	mov	x24, x9
	mov	x23, x8
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x23, x25
	ldrsb	w0, [x8, #1]
	bl	_is_in_name
	add	x25, x25, #1
	cbnz	w0, LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x23, x25
	ldrb	w10, [x8]
	mov	w9, #1
	cmp	w10, #61
	ccmp	w10, #0, #4, ne
	b.ne	LBB0_1
; %bb.4:
	sub	x26, x23, x21
	add	x22, x26, x25
	cbz	w24, LBB0_6
; %bb.5:
	sub	w8, w23, w21
	add	w1, w8, w25
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_error
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_strlen
	mov	x8, x0
	add	x9, x0, x26
	add	x9, x9, x25
	add	x0, x9, #2
	add	x23, x8, #1
	b	LBB0_9
LBB0_8:
	add	x0, x22, #2
Lloh2:
	adrp	x8, _VUNSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VUNSET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w19, w8, w19
	mov	w23, #1
LBB0_9:
	bl	_ckmalloc
	mov	x24, x0
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x8, x24, x26
	mov	w9, #61
	strb	w9, [x8, x25]
	add	x8, x8, x25
	cbz	x20, LBB0_11
; %bb.10:
	add	x0, x8, #1
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	b	LBB0_12
LBB0_11:
	strb	wzr, [x8, #1]
LBB0_12:
	mov	x0, x24
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_setvareq
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s: bad variable name"

	.comm	_VUNSET,4,2                     ; @VUNSET
	.comm	_INTOFF,4,2                     ; @INTOFF
	.comm	_INTON,4,2                      ; @INTON
.subsections_via_symbols
