	.file	"extr_normalize.c_hangul_decomp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hangul_decomp, @function
hangul_decomp:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rdi
	mov	rdi, rdx
	mov	rdx, QWORD PTR s_base[rip]
	mov	rax, QWORD PTR [r8]
	xor	r8d, r8d
	cmp	rdx, rax
	jg	.L1
	mov	rsi, QWORD PTR s_count[rip]
	add	rsi, rdx
	cmp	rsi, rax
	jle	.L1
	mov	esi, eax
	mov	r9d, DWORD PTR t_count[rip]
	mov	r10d, DWORD PTR t_base[rip]
	sub	esi, edx
	xor	edx, edx
	mov	eax, esi
	div	DWORD PTR n_count[rip]
	add	eax, DWORD PTR l_base[rip]
	mov	r11d, eax
	mov	eax, edx
	xor	edx, edx
	div	r9d
	xor	edx, edx
	add	eax, DWORD PTR v_base[rip]
	mov	r8d, eax
	mov	eax, esi
	mov	rsi, QWORD PTR [rcx]
	div	r9d
	add	edx, r10d
	cmp	r10d, edx
	je	.L15
	cmp	rsi, 2
	jbe	.L6
	mov	eax, r11d
	mov	QWORD PTR [rdi], rax
	mov	eax, r8d
	mov	QWORD PTR 8[rdi], rax
	mov	eax, edx
	mov	QWORD PTR 16[rdi], rax
	mov	eax, 3
.L5:
	mov	QWORD PTR [rcx], rax
	mov	r8d, 1
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r8d, DWORD PTR WIND_ERR_OVERRUN[rip]
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	rsi, 1
	jbe	.L6
	mov	eax, r11d
	mov	QWORD PTR [rdi], rax
	mov	eax, r8d
	mov	QWORD PTR 8[rdi], rax
	mov	eax, 2
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	hangul_decomp, .-hangul_decomp
	.comm	v_base,4,4
	.comm	t_count,4,4
	.comm	t_base,4,4
	.comm	s_count,8,8
	.comm	s_base,8,8
	.comm	n_count,4,4
	.comm	l_base,4,4
	.comm	WIND_ERR_OVERRUN,4,4
	.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_normalize.c_hangul_decomp.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hangul_decomp, %function
hangul_decomp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L20
	ldr	r0, [r0]
	ldr	r1, [r1]
	cmp	r1, r0
	bgt	.L9
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	ldr	r3, .L20+4
	ldr	ip, [r3]
	add	ip, r1, ip
	cmp	ip, r0
	ble	.L10
	ldr	r3, .L20+8
	sub	r4, r0, r1
	mov	r0, r4
	ldr	r1, [r3]
	mov	r6, r2
	bl	__aeabi_uidivmod
	mov	r7, r0
	ldr	r2, .L20+12
	ldr	r3, .L20+16
	ldr	r8, [r2]
	ldr	r3, [r3]
	mov	r0, r1
	mov	r1, r8
	add	r7, r7, r3
	bl	__aeabi_uidiv
	mov	ip, r0
	ldr	r2, .L20+20
	ldr	r3, .L20+24
	ldr	r2, [r2]
	mov	r1, r8
	mov	r0, r4
	ldr	r8, [r3]
	add	r4, ip, r2
	bl	__aeabi_uidivmod
	add	r1, r1, r8
	cmp	r8, r1
	ldr	r3, [r5]
	beq	.L19
	cmp	r3, #2
	bls	.L6
	mov	r3, #3
	str	r7, [r6]
	str	r4, [r6, #4]
	str	r1, [r6, #8]
.L5:
	mov	r0, #1
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, #0
	bx	lr
.L19:
	cmp	r3, #1
	movhi	r3, #2
	strhi	r7, [r6]
	strhi	r4, [r6, #4]
	bhi	.L5
.L6:
	ldr	r3, .L20+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	.align	2
.L20:
	.word	s_base
	.word	s_count
	.word	n_count
	.word	t_count
	.word	l_base
	.word	v_base
	.word	t_base
	.word	WIND_ERR_OVERRUN
	.size	hangul_decomp, .-hangul_decomp
	.comm	v_base,4,4
	.comm	t_count,4,4
	.comm	t_base,4,4
	.comm	s_count,4,4
	.comm	s_base,4,4
	.comm	n_count,4,4
	.comm	l_base,4,4
	.comm	WIND_ERR_OVERRUN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
