	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_heap_free                ## -- Begin function __lwp_heap_free
	.p2align	4, 0x90
___lwp_heap_free:                       ## @__lwp_heap_free
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	__CPU_ISR_Disable
	movq	%rbx, %rdi
	callq	___lwp_heap_usrblockat
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	___lwp_heap_blockin
	movq	_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	%rbx, %rdi
	callq	___lwp_heap_blockfree
	testq	%rax, %rax
	je	LBB0_2
LBB0_14:
	callq	__CPU_ISR_Restore
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	___lwp_heap_blocksize
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	___lwp_heap_blockat
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	___lwp_heap_blockin
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movq	(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_14
## %bb.4:
	movq	%rbx, %rdi
	callq	___lwp_heap_prev_blockfree
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	___lwp_heap_prevblock
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	___lwp_heap_blockin
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movq	%r15, %rdi
	callq	___lwp_heap_blockfree
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	(%r15), %r12
	addq	%r12, (%rbx)
	movq	%rbx, %rdi
	callq	___lwp_heap_nextblock
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	16(%r15), %rax
	movq	24(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%r15), %rax
	movq	%rcx, 24(%rax)
	jmp	LBB0_13
LBB0_9:
	movq	%r15, %rdi
	callq	___lwp_heap_blockfree
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	addq	(%r15), %r12
	movq	%r12, (%rbx)
	movq	%rbx, %rdi
	callq	___lwp_heap_nextblock
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movups	16(%r15), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	16(%r15), %rax
	movq	%rbx, 24(%rax)
	movq	24(%r15), %rax
	movq	%rbx, 16(%rax)
	movq	_TRUE@GOTPCREL(%rip), %r13
	cmpq	%r15, (%r14)
	jne	LBB0_14
## %bb.11:
	movq	%rbx, (%r14)
	jmp	LBB0_14
LBB0_8:
	addq	(%rbx), %r12
	movq	%r12, 8(%r15)
	movq	%r12, (%rbx)
	jmp	LBB0_13
LBB0_12:
	movq	%r12, (%rbx)
	movq	%r12, 8(%r15)
	movq	%r14, %rdi
	callq	___lwp_heap_head
	movq	%rax, 16(%rbx)
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, (%r14)
	movq	%rbx, 16(%rax)
LBB0_13:
	movq	_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_heap_free                ; -- Begin function __lwp_heap_free
	.p2align	2
___lwp_heap_free:                       ; @__lwp_heap_free
	.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	x20, x1
	mov	x19, x0
	bl	__CPU_ISR_Disable
	mov	x0, x20
	bl	___lwp_heap_usrblockat
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	___lwp_heap_blockin
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	___lwp_heap_blockfree
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x19, _FALSE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
LBB0_3:
	bl	__CPU_ISR_Restore
	ldr	w0, [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
	ret
LBB0_4:
	mov	x0, x20
	bl	___lwp_heap_blocksize
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	___lwp_heap_blockat
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	___lwp_heap_blockin
	cbz	w0, LBB0_2
; %bb.5:
	ldr	x8, [x20]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.6:
	mov	x0, x20
	bl	___lwp_heap_prev_blockfree
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x20
	bl	___lwp_heap_prevblock
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	___lwp_heap_blockin
	cbz	w0, LBB0_2
; %bb.8:
	mov	x0, x21
	bl	___lwp_heap_blockfree
	cbz	x0, LBB0_13
; %bb.9:
	ldr	x8, [x21]
	ldr	x9, [x20]
	add	x8, x22, x8
	add	x8, x8, x9
	str	x8, [x20]
	mov	x0, x20
	bl	___lwp_heap_nextblock
	ldr	x8, [x20]
	str	x8, [x0, #8]
	ldp	x8, x9, [x21, #16]
	str	x8, [x9, #16]
	ldr	x8, [x21, #16]
	str	x9, [x8, #24]
	b	LBB0_15
LBB0_10:
	mov	x0, x21
	bl	___lwp_heap_blockfree
	cbz	x0, LBB0_14
; %bb.11:
	ldr	x8, [x21]
	add	x8, x22, x8
	str	x8, [x20]
	mov	x0, x20
	bl	___lwp_heap_nextblock
	ldr	x8, [x20]
	str	x8, [x0, #8]
	ldp	x9, x8, [x21, #16]
	stp	x9, x8, [x20, #16]
	ldr	x8, [x21, #16]
	str	x20, [x8, #24]
	ldr	x8, [x21, #24]
	str	x20, [x8, #16]
	ldr	x8, [x19]
	cmp	x8, x21
	b.ne	LBB0_15
; %bb.12:
	str	x20, [x19]
	b	LBB0_15
LBB0_13:
	ldr	x8, [x20]
	add	x8, x22, x8
	str	x8, [x21, #8]
	str	x8, [x20]
	b	LBB0_15
LBB0_14:
	str	x22, [x20]
	str	x22, [x21, #8]
	mov	x0, x19
	bl	___lwp_heap_head
	ldr	x8, [x19]
	stp	x0, x8, [x20, #16]
	str	x20, [x19]
	str	x20, [x8, #16]
LBB0_15:
Lloh2:
	adrp	x19, _TRUE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _TRUE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
