	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setsval                        ## -- Begin function setsval
	.p2align	4, 0x90
_setsval:                               ## @setsval
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_NN
	movq	_donefld@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_dprintf
	movq	_NUM@GOTPCREL(%rip), %r13
	movq	_STR@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_funnyvar
LBB0_2:
	movq	%rbx, %rdi
	callq	_isfld
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_donerec@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	20(%rbx), %edi
	callq	_atoi
	movq	_NF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_5
## %bb.4:
	movl	%eax, %edi
	callq	_newfld
LBB0_5:
	movq	%r14, %rdi
	callq	_dprintf
	jmp	LBB0_11
LBB0_6:
	movq	%rbx, %rdi
	callq	_isrec
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	$0, (%r15)
	movq	_donerec@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_11
LBB0_8:
	movq	_ofsloc@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_11
## %bb.9:
	movq	_donerec@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_recbld
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	_tostring
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_freeable
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	8(%rbx), %rdi
	callq	_xfree
LBB0_16:
	movq	_CONVC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movq	_CONVO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	orl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	callq	_setfree
	movl	20(%rbx), %edi
	callq	_NN
	movq	(%r15), %rdi
	callq	_dprintf
	movq	%r14, 8(%rbx)
	leaq	16(%rbx), %rax
	movq	_NF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	_donerec@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	%rbx, %rdi
	callq	_getfval
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_setlastfld
	movslq	%r14d, %rdi
	callq	_dprintf
	movq	8(%rbx), %r14
LBB0_18:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_donerec,4,2                    ## @donerec
	.comm	_donefld,8,3                    ## @donefld
	.comm	_NUM,4,2                        ## @NUM
	.comm	_STR,4,2                        ## @STR
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"assign to"

	.comm	_NF,8,3                         ## @NF
	.comm	_ofsloc,8,3                     ## @ofsloc
L_.str.3:                               ## @.str.3
	.space	1

	.comm	_CONVC,4,2                      ## @CONVC
	.comm	_CONVO,4,2                      ## @CONVO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setsval                        ; -- Begin function setsval
	.p2align	2
_setsval:                               ; @setsval
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_NN
Lloh0:
	adrp	x21, _donefld@GOTPAGE
Lloh1:
	ldr	x21, [x21, _donefld@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_dprintf
	ldr	w8, [x19]
Lloh2:
	adrp	x25, _NUM@GOTPAGE
Lloh3:
	ldr	x25, [x25, _NUM@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh4:
	adrp	x24, _STR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _STR@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_funnyvar
LBB0_2:
	mov	x0, x19
	bl	_isfld
Lloh8:
	adrp	x23, _NF@GOTPAGE
Lloh9:
	ldr	x23, [x23, _NF@GOTPAGEOFF]
Lloh10:
	adrp	x22, _donerec@GOTPAGE
Lloh11:
	ldr	x22, [x22, _donerec@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
	str	wzr, [x22]
	ldr	w0, [x19, #20]
	bl	_atoi
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_5
; %bb.4:
	bl	_newfld
LBB0_5:
	mov	x0, x20
	bl	_dprintf
	b	LBB0_10
LBB0_6:
	mov	x0, x19
	bl	_isrec
	cbz	x0, LBB0_8
; %bb.7:
	str	xzr, [x21]
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _ofsloc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ofsloc@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w9, [x22]
	cmp	x8, x19
	ccmp	w9, #0, #0, eq
	b.ne	LBB0_10
; %bb.9:
	bl	_recbld
LBB0_10:
	cbz	x20, LBB0_12
; %bb.11:
	mov	x0, x20
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_13:
	bl	_tostring
	mov	x20, x0
	mov	x0, x19
	bl	_freeable
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x0, [x19, #8]
	bl	_xfree
LBB0_15:
	ldr	w8, [x25]
Lloh17:
	adrp	x9, _CONVC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CONVC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _CONVO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CONVO@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #24]
	mov	x0, x19
	bl	_setfree
	ldr	w0, [x19, #20]
	bl	_NN
	ldr	x0, [x21]
	bl	_dprintf
	str	x20, [x19, #8]
	add	x8, x19, #16
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
	str	wzr, [x22]
	mov	x0, x19
	bl	_getfval
	mov	x20, x0
	bl	_setlastfld
	sxtw	x0, w20
	bl	_dprintf
	ldr	x20, [x19, #8]
LBB0_17:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_donerec,4,2                    ; @donerec
	.comm	_donefld,8,3                    ; @donefld
	.comm	_NUM,4,2                        ; @NUM
	.comm	_STR,4,2                        ; @STR
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"assign to"

	.comm	_NF,8,3                         ; @NF
	.comm	_ofsloc,8,3                     ; @ofsloc
l_.str.3:                               ; @.str.3
	.space	1

	.comm	_CONVC,4,2                      ; @CONVC
	.comm	_CONVO,4,2                      ; @CONVO
.subsections_via_symbols
