	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q2_PushNodeStack               ## -- Begin function Q2_PushNodeStack
	.p2align	4, 0x90
_Q2_PushNodeStack:                      ## @Q2_PushNodeStack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nodestackptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%edi, (%rcx)
	addq	$4, %rcx
	movq	_nodestacksize@GOTPCREL(%rip), %rdx
	incl	(%rdx)
	movq	%rcx, (%rax)
	movq	_nodestack@GOTPCREL(%rip), %rax
	movq	_NODESTACKSIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$2, %rdx
	addq	(%rax), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_Error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nodestackptr,8,3               ## @nodestackptr
	.comm	_nodestacksize,4,2              ## @nodestacksize
	.comm	_nodestack,8,3                  ## @nodestack
	.comm	_NODESTACKSIZE,8,3              ## @NODESTACKSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Q2_PushNodeStack: stack overflow\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q2_PushNodeStack               ; -- Begin function Q2_PushNodeStack
	.p2align	2
_Q2_PushNodeStack:                      ; @Q2_PushNodeStack
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _nodestackptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nodestackptr@GOTPAGEOFF]
	ldr	x9, [x8]
	str	w0, [x9], #4
Lloh2:
	adrp	x10, _nodestacksize@GOTPAGE
Lloh3:
	ldr	x10, [x10, _nodestacksize@GOTPAGEOFF]
	str	x9, [x8]
	ldr	w8, [x10]
	add	w8, w8, #1
	str	w8, [x10]
Lloh4:
	adrp	x8, _nodestack@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nodestack@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _NODESTACKSIZE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _NODESTACKSIZE@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	add	x8, x8, x10, lsl #2
	cmp	x9, x8
	b.hs	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	_Error
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nodestackptr,8,3               ; @nodestackptr
	.comm	_nodestacksize,4,2              ; @nodestacksize
	.comm	_nodestack,8,3                  ; @nodestack
	.comm	_NODESTACKSIZE,8,3              ; @NODESTACKSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Q2_PushNodeStack: stack overflow\n"

.subsections_via_symbols
