	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_technique
_free_technique:                        ## @free_technique
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_TRACE
	testq	%r15, %r15
	je	LBB0_16
## %bb.1:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_IDirect3DStateBlock9_Release
	movq	$0, 32(%r15)
LBB0_3:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_free_parameter
	cmpl	$2, (%r15)
	jb	LBB0_8
## %bb.6:
	movl	$1, %r12d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rdi
	addq	%rbx, %rdi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_free_parameter
	incq	%r12
	movl	(%r15), %eax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jb	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	24(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, 24(%r15)
LBB0_9:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.10:
	cmpl	$0, 4(%r15)
	je	LBB0_14
## %bb.11:
	callq	_free_pass
	cmpl	$2, 4(%r15)
	jb	LBB0_14
## %bb.12:
	movl	$1, %r14d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	addq	%rbx, %rdi
	callq	_free_pass
	incq	%r14
	movl	4(%r15), %eax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jb	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	16(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, 16(%r15)
LBB0_15:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	8(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, 8(%r15)
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Free technique %p\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_free_technique
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_technique
_free_technique:                        ; @free_technique
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	cbz	x19, LBB0_16
; %bb.1:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_IDirect3DStateBlock9_Release
	str	xzr, [x19, #32]
LBB0_3:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.5:
Lloh2:
	adrp	x20, _FALSE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_free_parameter
	ldr	w8, [x19]
	cmp	w8, #2
	b.lo	LBB0_8
; %bb.6:
	mov	w21, #1
	mov	w22, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, x22
	ldr	w1, [x20]
	mov	x2, x1
	bl	_free_parameter
	add	x21, x21, #1
	ldr	w8, [x19]
	add	x22, x22, #4
	cmp	x21, x8
	b.lo	LBB0_7
LBB0_8:
	bl	_GetProcessHeap
	ldr	x2, [x19, #24]
	mov	w1, #0
	bl	_HeapFree
	str	xzr, [x19, #24]
LBB0_9:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_15
; %bb.10:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_14
; %bb.11:
	bl	_free_pass
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lo	LBB0_14
; %bb.12:
	mov	w20, #1
	mov	w21, #4
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_free_pass
	add	x20, x20, #1
	ldr	w8, [x19, #4]
	add	x21, x21, #4
	cmp	x20, x8
	b.lo	LBB0_13
LBB0_14:
	bl	_GetProcessHeap
	ldr	x2, [x19, #16]
	mov	w1, #0
	bl	_HeapFree
	str	xzr, [x19, #16]
LBB0_15:
	bl	_GetProcessHeap
	ldr	x2, [x19, #8]
	mov	w1, #0
	bl	_HeapFree
	str	xzr, [x19, #8]
LBB0_16:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Free technique %p\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_free_technique
.subsections_via_symbols
