	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function clean_mesh_builder_data
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_clean_mesh_builder_data:               ## @clean_mesh_builder_data
	.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, %r14
	addq	$112, %rdi
	xorl	%esi, %esi
	callq	_IDirect3DRMMeshBuilder3_SetName
	movq	104(%r14), %rdi
	callq	_heap_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r14)
	movq	$0, 104(%r14)
	movq	80(%r14), %rdi
	callq	_heap_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r14)
	movq	$0, 80(%r14)
	movq	56(%r14), %rdi
	callq	_heap_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movq	$0, 56(%r14)
	movq	32(%r14), %rdi
	callq	_heap_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	addq	$16, %rbx
	cmpq	(%r14), %r15
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	8(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_IDirect3DRMMaterial2_Release
	movq	16(%r14), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_IDirect3DRMTexture3_Release
	jmp	LBB0_6
LBB0_7:
	movq	$0, (%r14)
	movq	16(%r14), %rdi
	callq	_heap_free
	movq	$0, 16(%r14)
	movq	8(%r14), %rdi
	callq	_heap_free
	movq	$0, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clean_mesh_builder_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clean_mesh_builder_data
_clean_mesh_builder_data:               ; @clean_mesh_builder_data
	.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	x19, x0
	add	x0, x0, #112
	mov	x1, #0
	bl	_IDirect3DRMMeshBuilder3_SetName
	ldr	x0, [x19, #104]
	bl	_heap_free
	stp	xzr, xzr, [x19, #96]
	str	xzr, [x19, #88]
	ldr	x0, [x19, #80]
	bl	_heap_free
	stp	xzr, xzr, [x19, #72]
	str	xzr, [x19, #64]
	ldr	x0, [x19, #56]
	bl	_heap_free
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #40]
	ldr	x0, [x19, #32]
	bl	_heap_free
	stp	xzr, xzr, [x19, #24]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19]
	add	x20, x20, #16
	cmp	x21, x8
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x9, x8, x20
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_IDirect3DRMMaterial2_Release
	ldr	x8, [x19, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x8, x20]
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_IDirect3DRMTexture3_Release
	b	LBB0_2
LBB0_7:
	str	xzr, [x19]
	ldr	x0, [x19, #16]
	bl	_heap_free
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_heap_free
	str	xzr, [x19, #8]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clean_mesh_builder_data
.subsections_via_symbols
