	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arith_lookupvarint
_arith_lookupvarint:                    ## @arith_lookupvarint
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_lookupvar
	movq	%rax, %rbx
	movq	_uflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_yyerror
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	cmpb	$0, (%rbx)
	jne	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rbx
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strtoarith_t
	movl	%eax, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.7:
	movq	-24(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	callq	_yyerror
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uflag,8,3                      ## @uflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"variable not set"

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

	.comm	_errno,8,3                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"variable conversion error"

	.no_dead_strip	_arith_lookupvarint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arith_lookupvarint
_arith_lookupvarint:                    ; @arith_lookupvarint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	bl	_lookupvar
	mov	x19, x0
Lloh0:
	adrp	x8, _uflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x0, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_yyerror
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	ldrb	w8, [x19]
	cbnz	w8, LBB0_5
LBB0_4:
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_5:
Lloh7:
	adrp	x20, _errno@GOTPAGE
Lloh8:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_strtoarith_t
	mov	x19, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
LBB0_7:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_yyerror
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_uflag,8,3                      ; @uflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"variable not set"

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

	.comm	_errno,8,3                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"variable conversion error"

	.no_dead_strip	_arith_lookupvarint
.subsections_via_symbols
