	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_entry                   ## -- Begin function search_entry
	.p2align	4, 0x90
_search_entry:                          ## @search_entry
	.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	%rsi, %rbx
	movq	_kod_db_cnt@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_kod_db@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rcx, %r12
	callq	_strcmp
	movq	%r12, %rcx
	cmpl	$1, %eax
	adcl	$0, %r13d
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.3:
	testl	%r13d, %r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_4
## %bb.5:
	movl	%r13d, %edi
	movl	$4, %esi
	callq	_eallocarray
	movq	%rax, (%rbx)
	cmpl	$0, (%r14)
	jle	LBB0_10
## %bb.6:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	_kod_db_cnt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movq	(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%rbx,4)
	incl	%ebx
	jmp	LBB0_9
LBB0_4:
	movq	$0, (%rbx)
	xorl	%r13d, %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kod_db_cnt,4,2                 ## @kod_db_cnt
	.comm	_kod_db,8,3                     ## @kod_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_entry                   ; -- Begin function search_entry
	.p2align	2
_search_entry:                          ; @search_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
Lloh0:
	adrp	x22, _kod_db_cnt@GOTPAGE
Lloh1:
	ldr	x22, [x22, _kod_db_cnt@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x24, #0
	mov	w19, #0
Lloh2:
	adrp	x23, _kod_db@GOTPAGE
Lloh3:
	ldr	x23, [x23, _kod_db@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_strcmp
	cmp	w0, #0
	cinc	w19, w19, eq
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_2
; %bb.3:
	cbz	w19, LBB0_9
; %bb.4:
	mov	x0, x19
	mov	w1, #4
	bl	_eallocarray
	str	x0, [x20]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	mov	x24, #0
	mov	w25, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_strcmp
	cbnz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x23]
	ldr	x9, [x9, x24, lsl #3]
	ldr	w9, [x9]
	str	w9, [x8, w25, sxtw #2]
	add	w25, w25, #1
	b	LBB0_6
LBB0_9:
	mov	w19, #0
	str	xzr, [x20]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_kod_db_cnt,4,2                 ; @kod_db_cnt
	.comm	_kod_db,8,3                     ; @kod_db
.subsections_via_symbols
