	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memp_free                      ## -- Begin function memp_free
	.p2align	4, 0x90
_memp_free:                             ## @memp_free
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-32(%rsi), %r15
	movq	_mutex@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_LWP_SemWait
	movq	_memp_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	%rcx, -32(%rbx)
	movq	(%rax), %rax
	movq	%r15, (%rax,%r14,8)
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWP_SemPost                    ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mutex,4,2                      ## @mutex
	.comm	_memp_tab,8,3                   ## @memp_tab
	.comm	_lwip_stats,8,3                 ## @lwip_stats
	.comm	_old_level,4,2                  ## @old_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memp_free                      ; -- Begin function memp_free
	.p2align	2
_memp_free:                             ; @memp_free
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _mutex@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mutex@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_LWP_SemWait
Lloh2:
	adrp	x8, _memp_tab@GOTPAGE
Lloh3:
	ldr	x8, [x8, _memp_tab@GOTPAGEOFF]
	ldr	x9, [x8]
	lsl	x10, x20, #3
	ldr	x9, [x9, x10]
	str	x9, [x19, #-32]!
	ldr	x8, [x8]
	str	x19, [x8, x10]
	ldr	w0, [x21]
	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	_LWP_SemPost
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mutex,4,2                      ; @mutex
	.comm	_memp_tab,8,3                   ; @memp_tab
	.comm	_lwip_stats,8,3                 ; @lwip_stats
	.comm	_old_level,4,2                  ; @old_level
.subsections_via_symbols
