	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_print                      ## -- Begin function gre_print
	.p2align	4, 0x90
_gre_print:                             ## @gre_print
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rsi), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	cmpl	$2, %r14d
	jge	LBB0_1
## %bb.7:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	%r12, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %ebx
	movq	_GRE_VERS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movslq	%ebx, %r13
	movq	%r13, %rdi
	callq	_ND_PRINT
	cmpl	$1, %r13d
	je	LBB0_4
## %bb.2:
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gre_print_0                    ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gre_print_1                    ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GRE_VERS_MASK,4,2              ## @GRE_VERS_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	" ERROR: unknown-version"

	.comm	_tstr,4,2                       ## @tstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_print                      ; -- Begin function gre_print
	.p2align	2
_gre_print:                             ; @gre_print
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x1]
	mov	w1, #2
	bl	_ND_TCHECK2
	cmp	w19, #2
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _tstr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh2:
	ldrsw	x0, [x8]
	b	LBB0_7
LBB0_2:
	mov	x0, x20
	bl	_EXTRACT_16BITS
Lloh3:
	adrp	x8, _GRE_VERS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRE_VERS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w22, w8, w0
	sxtw	x0, w22
	bl	_ND_PRINT
	cmp	w22, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	w22, LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gre_print_0
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gre_print_1
LBB0_6:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ND_PRINT
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GRE_VERS_MASK,4,2              ; @GRE_VERS_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	" ERROR: unknown-version"

	.comm	_tstr,4,2                       ; @tstr
.subsections_via_symbols
