	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regfree                        ## -- Begin function regfree
	.p2align	4, 0x90
_regfree:                               ## @regfree
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_MAGIC1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.1:
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.2:
	movq	(%r14), %rax
	movq	_MAGIC2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.3:
	movq	$0, (%rdi)
	movq	$0, (%r14)
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_free
LBB0_5:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:
	cmpl	$0, 8(%r14)
	je	LBB0_11
## %bb.7:
	movl	$1, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rbx), %rdi
	callq	_free
	movq	40(%r14), %rax
	movq	8(%rax,%rbx), %rdi
	callq	_free
	movq	40(%r14), %rax
	movq	16(%rax,%rbx), %rdi
	callq	_free
	movl	8(%r14), %eax
	cmpq	%rax, %r15
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	40(%r14), %rdi
	addq	$24, %rbx
	incq	%r15
	jmp	LBB0_8
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	40(%r14), %rdi
LBB0_11:
	callq	_free
LBB0_12:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_free
LBB0_14:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	movq	_CHAR_MIN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_free
LBB0_16:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_free
LBB0_18:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAGIC1,8,3                     ## @MAGIC1
	.comm	_MAGIC2,8,3                     ## @MAGIC2
	.comm	_CHAR_MIN,8,3                   ## @CHAR_MIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regfree                        ; -- Begin function regfree
	.p2align	2
_regfree:                               ; @regfree
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAGIC1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAGIC1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_10
; %bb.2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MAGIC2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAGIC2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	str	xzr, [x0]
	str	xzr, [x19]
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free
LBB0_5:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_13
; %bb.6:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_12
; %bb.7:
	mov	x20, #0
	mov	w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x0, x20]
	bl	_free
	ldr	x8, [x19, #40]
	add	x8, x8, x20
	ldr	x0, [x8, #8]
	bl	_free
	ldr	x8, [x19, #40]
	add	x8, x8, x20
	ldr	x0, [x8, #16]
	bl	_free
	ldr	w8, [x19, #8]
	cmp	x21, x8
	b.hs	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x19, #40]
	add	x20, x20, #24
	add	x21, x21, #1
	b	LBB0_8
LBB0_10:
	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_11:
	ldr	x0, [x19, #40]
LBB0_12:
	bl	_free
LBB0_13:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_free
LBB0_15:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.16:
Lloh6:
	adrp	x9, _CHAR_MIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHAR_MIN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x8, x9
	bl	_free
LBB0_17:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_free
LBB0_19:
	mov	x0, 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
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAGIC1,8,3                     ; @MAGIC1
	.comm	_MAGIC2,8,3                     ; @MAGIC2
	.comm	_CHAR_MIN,8,3                   ; @CHAR_MIN
.subsections_via_symbols
