	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getfval                        ## -- Begin function getfval
	.p2align	4, 0x90
_getfval:                               ## @getfval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_NUM@GOTPCREL(%rip), %r14
	movq	_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r14), %eax
	testl	%eax, (%rdi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_funnyvar
LBB0_2:
	movq	%rbx, %rdi
	callq	_isfld
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_donefld@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_fldbld
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_isrec
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_donerec@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_recbld
LBB0_8:
	movq	%rbx, %rdi
	callq	_isnum
	testl	%eax, %eax
	je	LBB0_9
LBB0_12:
	movl	8(%rbx), %edi
	callq	_NN
	movslq	(%rbx), %rdi
	callq	_dprintf
	movl	4(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	12(%rbx), %edi
	callq	_atof
	movl	%eax, 4(%rbx)
	movl	12(%rbx), %edi
	callq	_is_number
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movl	(%rbx), %eax
	movq	_CON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.11:
	orl	(%r14), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM,4,2                        ## @NUM
	.comm	_STR,4,2                        ## @STR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read value of"

	.comm	_donefld,8,3                    ## @donefld
	.comm	_donerec,8,3                    ## @donerec
	.comm	_CON,4,2                        ## @CON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getfval                        ; -- Begin function getfval
	.p2align	2
_getfval:                               ; @getfval
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _NUM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NUM@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	adrp	x10, _STR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _STR@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_funnyvar
LBB0_2:
	mov	x0, x19
	bl	_isfld
	cbz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _donefld@GOTPAGE
Lloh8:
	ldr	x8, [x8, _donefld@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.4:
	bl	_fldbld
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_isrec
	cbz	x0, LBB0_8
; %bb.6:
Lloh10:
	adrp	x8, _donerec@GOTPAGE
Lloh11:
	ldr	x8, [x8, _donerec@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.7:
	bl	_recbld
LBB0_8:
	mov	x0, x19
	bl	_isnum
	cbz	w0, LBB0_10
LBB0_9:
	ldr	w0, [x19, #8]
	bl	_NN
	ldrsw	x0, [x19]
	bl	_dprintf
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w0, [x19, #12]
	bl	_atof
	str	w0, [x19, #4]
	ldr	w0, [x19, #12]
	bl	_is_number
	cbz	x0, LBB0_9
; %bb.11:
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _CON@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CON@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.12:
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM,4,2                        ; @NUM
	.comm	_STR,4,2                        ; @STR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read value of"

	.comm	_donefld,8,3                    ; @donefld
	.comm	_donerec,8,3                    ; @donerec
	.comm	_CON,4,2                        ; @CON
.subsections_via_symbols
