	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfree                          ## -- Begin function zfree
	.p2align	4, 0x90
_zfree:                                 ## @zfree
	.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	_MEMNODE_SIZE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %rdx
	movq	%rax, %r14
	notq	%r14
	andq	%rdx, %r14
	je	LBB0_26
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r12
	cmpq	%rsi, 24(%rdi)
	jbe	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_panic
	jmp	LBB0_5
LBB0_2:
	leaq	(%r14,%r13), %rcx
	cmpq	16(%r12), %rcx
	ja	LBB0_4
## %bb.3:
	andq	%r13, %rax
	jne	LBB0_4
LBB0_5:
	subq	%r14, (%r12)
	movq	8(%r12), %rbx
	addq	$8, %r12
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.6:
	cmpq	%r13, %rbx
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	addq	(%rbx), %rbx
	cmpq	%r13, %rbx
	jbe	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_panic
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%r13, %rbx
	jb	LBB0_18
## %bb.9:
	addq	$8, %r15
	jmp	LBB0_10
LBB0_7:
	movq	%r12, %r15
LBB0_10:
	leaq	(%r14,%r13), %rax
	cmpq	%rbx, %rax
	jbe	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_panic
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_12:
	cmpq	%rbx, %rax
	je	LBB0_13
## %bb.14:
	movq	%rbx, 8(%r13)
	jmp	LBB0_15
LBB0_13:
	movq	8(%rbx), %rax
	movq	%rax, 8(%r13)
	addq	(%rbx), %r14
LBB0_15:
	movq	%r14, (%r13)
	movq	%r13, (%r15)
	cmpq	%r12, %r15
	je	LBB0_26
## %bb.16:
	leaq	(%r15,%r13), %rax
	cmpq	%r13, %rax
	jne	LBB0_26
## %bb.17:
	movq	8(%r13), %rax
	movq	%rax, 8(%r15)
	addq	%r13, %r14
	movq	%r14, (%r15)
	jmp	LBB0_26
LBB0_21:
	addq	$8, %r15
	cmpq	%r12, %r15
	je	LBB0_23
## %bb.22:
	movq	(%r15), %rax
	leaq	(%r15,%rax), %rcx
	cmpq	%r13, %rcx
	je	LBB0_25
LBB0_23:
	movq	%r15, %r12
LBB0_24:
	movq	$0, 8(%r13)
	movq	%r14, (%r13)
	movq	%r13, (%r12)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	addq	%r14, %rax
	movq	%rax, (%r15)
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMNODE_SIZE_MASK,8,3          ## @MEMNODE_SIZE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zfree(%p,%ju): wild pointer"

L_.str.1:                               ## @.str.1
	.asciz	"zfree(%p,%ju): corrupt memlist1"

L_.str.2:                               ## @.str.2
	.asciz	"zfree(%p,%ju): corrupt memlist2"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfree                          ; -- Begin function zfree
	.p2align	2
_zfree:                                 ; @zfree
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _MEMNODE_SIZE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMNODE_SIZE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x8, x2
	bics	x20, x9, x8
	b.eq	LBB0_25
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x9, [x0, #24]
	cmp	x9, x1
	b.hi	LBB0_3
; %bb.2:
	ldr	x9, [x21, #16]
	and	x8, x8, x19
	add	x10, x19, x20
	cmp	x10, x9
	ccmp	x8, #0, #0, ls
	b.eq	LBB0_4
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_panic
LBB0_4:
	ldr	x8, [x21]
	sub	x8, x8, x20
	str	x8, [x21]
	ldr	x23, [x21, #8]!
	cbz	x23, LBB0_24
; %bb.5:
	cmp	x23, x19
	b.hs	LBB0_12
; %bb.6:
Lloh5:
	adrp	x22, l_.str.2@PAGE
Lloh6:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x23
	ldr	x8, [x23]
	add	x8, x23, x8
	cmp	x8, x19
	b.ls	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_panic
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x24, #8]
	cbz	x23, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x23, x19
	b.lo	LBB0_7
; %bb.11:
	add	x22, x24, #8
	b	LBB0_13
LBB0_12:
	mov	x22, x21
LBB0_13:
	add	x24, x19, x20
	cmp	x24, x23
	b.ls	LBB0_15
; %bb.14:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_panic
LBB0_15:
	cmp	x24, x23
	b.eq	LBB0_17
; %bb.16:
	str	x23, [x19, #8]
	b	LBB0_18
LBB0_17:
	ldp	x9, x8, [x23]
	str	x8, [x19, #8]
	add	x20, x9, x20
LBB0_18:
	str	x20, [x19]
	str	x19, [x22]
	cmp	x22, x21
	b.eq	LBB0_25
; %bb.19:
	add	x8, x22, x19
	cmp	x8, x19
	b.ne	LBB0_25
; %bb.20:
	ldr	x8, [x19, #8]
	add	x9, x20, x19
	stp	x9, x8, [x22]
	b	LBB0_25
LBB0_21:
	add	x8, x24, #8
	cmp	x8, x21
	b.eq	LBB0_23
; %bb.22:
	ldr	x9, [x8]
	add	x10, x8, x9
	cmp	x10, x19
	b.eq	LBB0_26
LBB0_23:
	mov	x21, x8
LBB0_24:
	stp	x20, xzr, [x19]
	str	x19, [x21]
LBB0_25:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_26:
	add	x9, x9, x20
	str	x9, [x8]
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMNODE_SIZE_MASK,8,3          ; @MEMNODE_SIZE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zfree(%p,%ju): wild pointer"

l_.str.1:                               ; @.str.1
	.asciz	"zfree(%p,%ju): corrupt memlist1"

l_.str.2:                               ; @.str.2
	.asciz	"zfree(%p,%ju): corrupt memlist2"

.subsections_via_symbols
