	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altera_check_stack
_altera_check_stack:                    ## @altera_check_stack
	.cfi_startproc
## %bb.0:
	movl	$1, %eax
	cmpl	%esi, %edi
	jge	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EOVERFLOW@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	xorl	%esi, %esi
	subl	(%rcx), %esi
	movl	%esi, (%rdx)
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.no_dead_strip	_altera_check_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altera_check_stack
_altera_check_stack:                    ; @altera_check_stack
	.cfi_startproc
; %bb.0:
	cmp	w0, w1
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x2]
	ret
LBB0_2:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.no_dead_strip	_altera_check_stack
.subsections_via_symbols
