	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calcop
_calcop:                                ## @calcop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_29
## %bb.1:
	xorl	%r14d, %r14d
	movl	$1, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rbx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r15), %rdx
	cmpq	%rcx, %r15
	movq	%rdx, %r15
	jge	LBB0_30
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movl	(%rax,%r15,4), %r13d
	movq	_syntax_error_arg@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_ISSPACE
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	-1(%rbx), %al
	testb	%al, %al
	je	LBB0_35
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$44, %al
	je	LBB0_35
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1(%rbx), %rdi
	movq	_A_P@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %r13d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	$1, %ecx
	callq	_get_reg
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	jle	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_get_imm
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_35
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_ISSPACE
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_A_P@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1(%rbx), %rdx
	cmpl	%esi, %r13d
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$41, (%rdx)
	jne	LBB0_35
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	decl	%r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%rax), %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_2
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, (%rax,%r15,4)
	je	LBB0_2
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, 4(%rax,%r15,4)
	je	LBB0_2
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$44, (%rdx)
	je	LBB0_3
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$40, %al
	jne	LBB0_35
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	%r14d
	jmp	LBB0_13
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rbx
	jmp	LBB0_13
LBB0_29:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_ISSPACE
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_30
## %bb.31:
	xorl	%r12d, %r12d
	testl	%r14d, %r14d
	jne	LBB0_35
## %bb.32:
	movb	-1(%rbx), %al
	testb	%al, %al
	je	LBB0_34
## %bb.33:
	xorl	%r12d, %r12d
	cmpb	$10, %al
	sete	%r12b
	jmp	LBB0_35
LBB0_34:
	movl	$1, %r12d
LBB0_35:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_syntax_error_arg@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_syntax_error_arg,4,2           ## @syntax_error_arg
	.comm	_A_P,4,2                        ## @A_P
	.no_dead_strip	_calcop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calcop
_calcop:                                ; @calcop
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_24
; %bb.1:
	mov	x19, x2
	mov	x21, x0
	mov	w23, #0
	mov	w25, #1
Lloh0:
	adrp	x24, _syntax_error_arg@GOTPAGE
Lloh1:
	ldr	x24, [x24, _syntax_error_arg@GOTPAGEOFF]
Lloh2:
	adrp	x26, _A_P@GOTPAGE
Lloh3:
	ldr	x26, [x26, _A_P@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x25, #1
	cmp	x25, x9
	mov	x25, x10
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w22, [x8, x25, lsl #2]
	str	w25, [x24]
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x20], #1
	bl	_ISSPACE
	cbnz	x0, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x20
	ldrb	w9, [x8, #-1]!
	cbz	w9, LBB0_29
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #44
	b.eq	LBB0_29
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x26]
	cmp	w22, w10
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x8
	mov	x1, x19
	mov	x2, x22
	mov	w3, #1
	bl	_get_reg
	mov	x20, x0
	cbnz	x0, LBB0_16
	b	LBB0_27
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	b.le	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x8
	mov	x1, x19
	mov	x2, x22
	bl	_get_imm
	mov	x20, x0
	cbnz	x0, LBB0_16
	b	LBB0_27
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, w10
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #40
	b.ne	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x8
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x20], #1
	bl	_ISSPACE
	cbnz	x0, LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x26]
	sub	x10, x20, #1
	cmp	w22, w11
	ccmp	w23, #0, #4, ne
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldrsw	x9, [x8]
	cmp	x25, x9
	b.ge	LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x8, x25, lsl #2]
	cmp	w12, w11
	b.eq	LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x8, x25, lsl #2
	ldr	w12, [x12, #4]
	cmp	w12, w11
	b.eq	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w10, [x10]
	cmp	w10, #44
	b.eq	LBB0_3
	b	LBB0_30
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x10]
	cmp	w8, #41
	b.ne	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #1
	ldr	x8, [x21]
	ldrsw	x9, [x8]
	b	LBB0_3
LBB0_24:
	mov	w23, #0
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20], #1
	bl	_ISSPACE
	cbnz	x0, LBB0_25
; %bb.26:
	cbz	w23, LBB0_28
LBB0_27:
	mov	w0, #0
	b	LBB0_29
LBB0_28:
	ldurb	w8, [x20, #-1]
	mov	w9, #1
	cmp	w8, #10
	cset	w10, eq
	cmp	w8, #0
	csel	w0, w9, w10, eq
LBB0_29:
	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
LBB0_30:
	mov	w0, #0
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
	b	LBB0_29
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_syntax_error_arg,4,2           ; @syntax_error_arg
	.comm	_A_P,4,2                        ; @A_P
	.no_dead_strip	_calcop
.subsections_via_symbols
