	.file	"extr_xprepare.c_xdl_init_classifier.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xdl_init_classifier, @function
xdl_init_classifier:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	QWORD PTR [rdi], rdx
	mov	edi, esi
	lea	r12, 32[rbx]
	call	xdl_hashbits@PLT
	lea	rdx, 3[rbp]
	mov	esi, 4
	mov	rdi, r12
	mov	ecx, eax
	mov	DWORD PTR 8[rbx], eax
	mov	eax, 1
	sal	eax, cl
	test	rbp, rbp
	cmovns	rdx, rbp
	mov	DWORD PTR 12[rbx], eax
	sar	rdx, 2
	add	rdx, 1
	call	xdl_cha_init@PLT
	test	rax, rax
	js	.L5
	mov	eax, DWORD PTR 12[rbx]
	lea	edi, 0[0+rax*8]
	call	xdl_malloc@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR 12[rbx]
	xor	esi, esi
	lea	edx, 0[0+rax*8]
	call	memset@PLT
	mov	QWORD PTR 16[rbx], rbp
	lea	edi, 0[0+rbp*8]
	call	xdl_malloc@PLT
	mov	QWORD PTR 48[rbx], rax
	test	rax, rax
	je	.L9
	mov	QWORD PTR 24[rbx], 0
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L9:
	mov	rdi, QWORD PTR 40[rbx]
	call	xdl_free@PLT
.L7:
	mov	rdi, r12
	call	xdl_cha_free@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xdl_init_classifier, .-xdl_init_classifier
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_xprepare.c_xdl_init_classifier.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xdl_init_classifier, %function
xdl_init_classifier:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r0, r1
	str	r2, [r4]
	bl	xdl_hashbits
	cmp	r5, #0
	add	r2, r5, #3
	mov	r3, #1
	movge	r2, r5
	lsl	r3, r3, r0
	asr	r2, r2, #2
	add	r6, r4, #20
	stmib	r4, {r0, r3}
	mov	r1, #4
	mov	r0, r6
	add	r2, r2, #1
	bl	xdl_cha_init
	cmp	r0, #0
	blt	.L8
	ldr	r0, [r4, #8]
	lsl	r0, r0, #2
	bl	xdl_malloc
	cmp	r0, #0
	str	r0, [r4, #24]
	beq	.L7
	ldr	r2, [r4, #8]
	mov	r1, #0
	lsl	r2, r2, #2
	bl	memset
	str	r5, [r4, #12]
	lsl	r0, r5, #2
	bl	xdl_malloc
	cmp	r0, #0
	str	r0, [r4, #28]
	beq	.L10
	mov	r0, #0
	str	r0, [r4, #16]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, [r4, #24]
	bl	xdl_free
.L7:
	mov	r0, r6
	bl	xdl_cha_free
.L8:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
	.size	xdl_init_classifier, .-xdl_init_classifier
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
