	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht_khash_str                   ## -- Begin function ht_khash_str
	.p2align	4, 0x90
_ht_khash_str:                          ## @ht_khash_str
	.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	_str_data@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_str@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_kbtree_t
	movl	(%r15), %edi
	movq	_KB_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kb_init
	movl	%eax, %esi
	movq	_h@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movq	_data_size@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_kb_del
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	movl	(%r14), %esi
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	(%r13,%rbx,8), %rdx
	callq	_kb_get
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	(%r13,%rbx,8), %rdx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_kb_put
	jmp	LBB0_5
LBB0_6:
	movl	%esi, %edi
	callq	_kb_size
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___kb_destroy                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_str_data,8,3                   ## @str_data
	.comm	_str,4,2                        ## @str
	.comm	_h,4,2                          ## @h
	.comm	_KB_DEFAULT_SIZE,4,2            ## @KB_DEFAULT_SIZE
	.comm	_data_size,4,2                  ## @data_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[ht_khash_int] size: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht_khash_str                   ; -- Begin function ht_khash_str
	.p2align	2
_ht_khash_str:                          ; @ht_khash_str
	.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, _str_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _str_data@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x21, _str@GOTPAGE
Lloh4:
	ldr	x21, [x21, _str@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_kbtree_t
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _KB_DEFAULT_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KB_DEFAULT_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kb_init
	mov	x1, x0
Lloh8:
	adrp	x20, _h@GOTPAGE
Lloh9:
	ldr	x20, [x20, _h@GOTPAGEOFF]
	str	w0, [x20]
Lloh10:
	adrp	x22, _data_size@GOTPAGE
Lloh11:
	ldr	x22, [x22, _data_size@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_kb_del
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	ldr	w1, [x20]
	cmp	x23, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	lsl	x24, x23, #3
	ldr	x2, [x19, x24]
	bl	_kb_get
	mov	x8, x0
	ldr	w0, [x21]
	ldr	w1, [x20]
	ldr	x2, [x19, x24]
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_kb_put
	b	LBB0_3
LBB0_6:
	mov	x0, x1
	bl	_kb_size
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	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
	b	___kb_destroy
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_str_data,8,3                   ; @str_data
	.comm	_str,4,2                        ; @str
	.comm	_h,4,2                          ; @h
	.comm	_KB_DEFAULT_SIZE,4,2            ; @KB_DEFAULT_SIZE
	.comm	_data_size,4,2                  ; @data_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[ht_khash_int] size: %d\n"

.subsections_via_symbols
