	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_prep                       ## -- Begin function gre_prep
	.p2align	4, 0x90
_gre_prep:                              ## @gre_prep
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_outp@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$8193, %edi                     ## imm = 0x2001
	callq	_htons
	movq	%rax, 24(%rbx)
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	_ident@GOTPCREL(%rip), %rax
	movl	(%r14), %edi
	addl	(%rax), %edi
	callq	_htons
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_outp,8,3                       ## @outp
	.comm	_port,4,2                       ## @port
	.comm	_ident,4,2                      ## @ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_prep                       ; -- Begin function gre_prep
	.p2align	2
_gre_prep:                              ; @gre_prep
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _outp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _outp@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	mov	w0, #8193
	bl	_htons
	str	x0, [x20, #24]
Lloh3:
	adrp	x8, _port@GOTPAGE
Lloh4:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	stp	xzr, x0, [x20, #8]
Lloh6:
	adrp	x8, _ident@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ident@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	add	w0, w9, w8
	bl	_htons
	str	x0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_outp,8,3                       ; @outp
	.comm	_port,4,2                       ; @port
	.comm	_ident,4,2                      ; @ident
.subsections_via_symbols
