	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginFreeScanKeys                ## -- Begin function ginFreeScanKeys
	.p2align	4, 0x90
_ginFreeScanKeys:                       ## @ginFreeScanKeys
	.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
	cmpq	$0, 24(%rdi)
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_12
## %bb.2:
	xorl	%ebx, %ebx
	movq	_InvalidBuffer@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jae	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %r12
	movq	(%r12), %rdi
	cmpq	(%r15), %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_ReleaseBuffer
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_pfree
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_tbm_end_iterate
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_tbm_free
	jmp	LBB0_11
LBB0_12:
	movl	32(%r14), %edi
	callq	_MemoryContextResetAndDeleteChildren
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movups	%xmm0, 16(%r14)
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginFreeScanKeys                ; -- Begin function ginFreeScanKeys
	.p2align	2
_ginFreeScanKeys:                       ; @ginFreeScanKeys
	.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, #24]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x21, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x21, [x21, _InvalidBuffer@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x20, lsl #3]
	ldr	x0, [x22]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_ReleaseBuffer
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_pfree
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_tbm_end_iterate
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_tbm_free
	b	LBB0_3
LBB0_12:
	ldr	w0, [x19, #32]
	bl	_MemoryContextResetAndDeleteChildren
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
LBB0_13:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
.subsections_via_symbols
