	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memp_init                      ## -- Begin function memp_init
	.p2align	4, 0x90
_memp_init:                             ## @memp_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	%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
	movq	_MEMP_MAX@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_max@GOTPCREL(%rip), %r12
	movq	_err@GOTPCREL(%rip), %r13
	movq	_avail@GOTPCREL(%rip), %r14
	movq	_memp_num@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_used@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_MEMP_STATS_AVAIL
	movl	(%r12), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_MEMP_STATS_AVAIL
	movl	(%r13), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_MEMP_STATS_AVAIL
	movl	(%r14), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%rbx, %rsi
	callq	_MEMP_STATS_AVAIL
	incq	%rbx
	movq	_MEMP_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jb	LBB0_2
LBB0_3:
	movq	_memp_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWIP_MEM_ALIGN
	movq	_MEMP_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	testq	%r8, %r8
	je	LBB0_9
## %bb.4:
	movq	_MEMP_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	xorl	%esi, %esi
	movq	_memp_tab@GOTPCREL(%rip), %rdi
	movq	_memp_num@GOTPCREL(%rip), %r10
	movq	_memp_sizes@GOTPCREL(%rip), %r9
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%r8, %rsi
	je	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%rdi), %rcx
	movq	$0, (%rcx,%rsi,8)
	movq	(%r10), %rcx
	cmpq	$0, (%rcx,%rsi,8)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rbx
	movq	(%rbx,%rsi,8), %rbx
	movq	%rbx, (%rax)
	movq	(%rdi), %rbx
	movq	%rax, (%rbx,%rsi,8)
	leaq	(%rax,%rdx,4), %rax
	movq	(%r9), %rbx
	movslq	(%rbx,%rsi,4), %rbx
	leaq	(%rax,%rbx,4), %rax
	incq	%rcx
	movq	(%r10), %rbx
	cmpq	(%rbx,%rsi,8), %rcx
	jb	LBB0_7
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMP_MAX,8,3                   ## @MEMP_MAX
	.comm	_used,4,2                       ## @used
	.comm	_max,4,2                        ## @max
	.comm	_err,4,2                        ## @err
	.comm	_avail,4,2                      ## @avail
	.comm	_memp_num,8,3                   ## @memp_num
	.comm	_memp_memory,4,2                ## @memp_memory
	.comm	_memp_tab,8,3                   ## @memp_tab
	.comm	_MEMP_SIZE,4,2                  ## @MEMP_SIZE
	.comm	_memp_sizes,8,3                 ## @memp_sizes
	.comm	_MEMP_SANITY_REGION_AFTER_ALIGNED,4,2 ## @MEMP_SANITY_REGION_AFTER_ALIGNED
	.comm	_memp_bases,8,3                 ## @memp_bases
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memp_init                      ; -- Begin function memp_init
	.p2align	2
_memp_init:                             ; @memp_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x21, _MEMP_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MEMP_MAX@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x20, _memp_num@GOTPAGE
Lloh3:
	ldr	x20, [x20, _memp_num@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, #0
Lloh4:
	adrp	x22, _used@GOTPAGE
Lloh5:
	ldr	x22, [x22, _used@GOTPAGEOFF]
Lloh6:
	adrp	x23, _max@GOTPAGE
Lloh7:
	ldr	x23, [x23, _max@GOTPAGEOFF]
Lloh8:
	adrp	x24, _err@GOTPAGE
Lloh9:
	ldr	x24, [x24, _err@GOTPAGEOFF]
Lloh10:
	adrp	x25, _avail@GOTPAGE
Lloh11:
	ldr	x25, [x25, _avail@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	mov	x2, #0
	bl	_MEMP_STATS_AVAIL
	ldr	w0, [x23]
	mov	x1, x19
	mov	x2, #0
	bl	_MEMP_STATS_AVAIL
	ldr	w0, [x24]
	mov	x1, x19
	mov	x2, #0
	bl	_MEMP_STATS_AVAIL
	ldr	w0, [x25]
	ldr	x8, [x20]
	ldr	x2, [x8, x19, lsl #3]
	mov	x1, x19
	bl	_MEMP_STATS_AVAIL
	add	x19, x19, #1
	ldr	x8, [x21]
	cmp	x19, x8
	b.lo	LBB0_2
LBB0_3:
Lloh12:
	adrp	x8, _memp_memory@GOTPAGE
Lloh13:
	ldr	x8, [x8, _memp_memory@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_LWIP_MEM_ALIGN
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.4:
	mov	x9, #0
Lloh15:
	adrp	x10, _MEMP_SIZE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MEMP_SIZE@GOTPAGEOFF]
Lloh17:
	ldrsw	x10, [x10]
Lloh18:
	adrp	x11, _memp_tab@GOTPAGE
Lloh19:
	ldr	x11, [x11, _memp_tab@GOTPAGEOFF]
Lloh20:
	adrp	x12, _memp_sizes@GOTPAGE
Lloh21:
	ldr	x12, [x12, _memp_sizes@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x14, [x11]
	lsl	x13, x9, #3
	str	xzr, [x14, x13]
	ldr	x14, [x20]
	ldr	x14, [x14, x13]
	cbz	x14, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x14, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x11]
	ldr	x15, [x15, x13]
	str	x15, [x0]
	ldr	x15, [x11]
	str	x0, [x15, x13]
	add	x15, x0, x10, lsl #2
	ldr	x16, [x12]
	ldrsw	x16, [x16, x9, lsl #2]
	add	x0, x15, x16, lsl #2
	add	x14, x14, #1
	ldr	x15, [x20]
	ldr	x15, [x15, x13]
	cmp	x14, x15
	b.lo	LBB0_8
	b	LBB0_5
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMP_MAX,8,3                   ; @MEMP_MAX
	.comm	_used,4,2                       ; @used
	.comm	_max,4,2                        ; @max
	.comm	_err,4,2                        ; @err
	.comm	_avail,4,2                      ; @avail
	.comm	_memp_num,8,3                   ; @memp_num
	.comm	_memp_memory,4,2                ; @memp_memory
	.comm	_memp_tab,8,3                   ; @memp_tab
	.comm	_MEMP_SIZE,4,2                  ; @MEMP_SIZE
	.comm	_memp_sizes,8,3                 ; @memp_sizes
	.comm	_MEMP_SANITY_REGION_AFTER_ALIGNED,4,2 ; @MEMP_SANITY_REGION_AFTER_ALIGNED
	.comm	_memp_bases,8,3                 ; @memp_bases
.subsections_via_symbols
