	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mem_init                       ## -- Begin function mem_init
	.p2align	4, 0x90
_mem_init:                              ## @mem_init
	.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	_ram@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_MEM_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	$0, 8(%rax)
	movl	$0, 16(%rax)
	movq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	_ram_end@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movl	$1, 16(%rax,%rcx,4)
	movq	%rcx, (%rax,%rcx,4)
	movq	(%rbx), %rdx
	movq	%rdx, 8(%rax,%rcx,4)
	movq	_mem_sem@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_LWP_SemInit
	movq	(%r14), %rax
	movq	_lfree@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ram,8,3                        ## @ram
	.comm	_MEM_SIZE,8,3                   ## @MEM_SIZE
	.comm	_ram_end,8,3                    ## @ram_end
	.comm	_mem_sem,4,2                    ## @mem_sem
	.comm	_lfree,8,3                      ## @lfree
	.comm	_lwip_stats,8,3                 ## @lwip_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mem_init                       ; -- Begin function mem_init
	.p2align	2
_mem_init:                              ; @mem_init
	.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
Lloh0:
	adrp	x19, _ram@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ram@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x20, _MEM_SIZE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MEM_SIZE@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19]
	ldr	x9, [x20]
	stp	x9, xzr, [x8]
	str	wzr, [x8, #16]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #2
Lloh4:
	adrp	x10, _ram_end@GOTPAGE
Lloh5:
	ldr	x10, [x10, _ram_end@GOTPAGEOFF]
Lloh6:
	str	x8, [x10]
	mov	w10, #1
	str	w10, [x8, #16]
	str	x9, [x8]
	ldr	x9, [x20]
	str	x9, [x8, #8]
Lloh7:
	adrp	x0, _mem_sem@GOTPAGE
Lloh8:
	ldr	x0, [x0, _mem_sem@GOTPAGEOFF]
	mov	w1, #1
	mov	w2, #1
	bl	_LWP_SemInit
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _lfree@GOTPAGE
Lloh10:
	ldr	x9, [x9, _lfree@GOTPAGEOFF]
Lloh11:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ram,8,3                        ; @ram
	.comm	_MEM_SIZE,8,3                   ; @MEM_SIZE
	.comm	_ram_end,8,3                    ; @ram_end
	.comm	_mem_sem,4,2                    ; @mem_sem
	.comm	_lfree,8,3                      ; @lfree
	.comm	_lwip_stats,8,3                 ; @lwip_stats
.subsections_via_symbols
