	.file	"extr_normalize.c__wind_stringprep_normalize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_wind_stringprep_normalize
	.type	_wind_stringprep_normalize, @function
_wind_stringprep_normalize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L11
	mov	rax, QWORD PTR MAX_LENGTH_CANON[rip]
	mov	r12, rdi
	mov	rbp, rsi
	mov	r15, rdx
	lea	rdi, 0[0+rsi*4]
	mov	QWORD PTR [rsp], rdi
	cmp	rdi, rax
	jb	.L12
.L4:
	sal	rdi, 2
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L13
	mov	rdi, r12
	mov	rcx, rsp
	mov	rdx, rax
	mov	rsi, rbp
	call	compat_decomp@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r13
	call	canonical_reorder@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rcx, r14
	mov	rdx, r15
	mov	rdi, r13
	call	combine@PLT
	mov	r12d, eax
.L9:
	mov	rdi, r13
	call	free@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	QWORD PTR [rsp], rax
	mov	rdi, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	QWORD PTR [rcx], 0
	xor	r12d, r12d
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
.L13:
	mov	r12d, DWORD PTR ENOMEM[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_wind_stringprep_normalize, .-_wind_stringprep_normalize
	.comm	MAX_LENGTH_CANON,8,8
	.comm	ENOMEM,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__wind_stringprep_normalize.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	_wind_stringprep_normalize
	.syntax unified
	.arm
	.fpu softvfp
	.type	_wind_stringprep_normalize, %function
_wind_stringprep_normalize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	ldr	r3, .L12
	sub	sp, sp, #8
	subs	r4, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	streq	r4, [r7]
	beq	.L1
	ldr	r3, .L12+4
	mov	r8, r0
	ldr	r3, [r3]
	lsl	r0, r4, #2
	cmp	r0, r3
	str	r0, [sp]
	movcc	r0, r3
	lsl	r0, r0, #2
	strcc	r3, [sp]
	mov	r6, r2
	bl	malloc
	subs	r5, r0, #0
	ldreq	r3, .L12+8
	ldreq	r4, [r3]
	beq	.L1
	mov	r1, r4
	mov	r0, r8
	mov	r3, sp
	mov	r2, r5
	bl	compat_decomp
	subs	r4, r0, #0
	bne	.L9
	ldr	r1, [sp]
	mov	r0, r5
	bl	canonical_reorder
	mov	r3, r7
	mov	r2, r6
	mov	r0, r5
	ldr	r1, [sp]
	bl	combine
	mov	r4, r0
.L9:
	mov	r0, r5
	bl	free
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	MAX_LENGTH_CANON
	.word	ENOMEM
	.size	_wind_stringprep_normalize, .-_wind_stringprep_normalize
	.comm	MAX_LENGTH_CANON,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
