	.file	"extr_bwstring.c_bwsncmp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bwsncmp
	.type	bwsncmp, @function
bwsncmp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13, QWORD PTR [rdi]
	mov	r12, QWORD PTR [rsi]
	cmp	r13, rdx
	jbe	.L10
	mov	eax, 1
	cmp	r12, rdx
	jbe	.L1
	sub	r12, rdx
	sub	r13, rdx
	cmp	r12, rcx
	cmovbe	rcx, r12
	cmp	rcx, r13
	mov	rbx, rcx
	cmova	rbx, r13
	cmp	DWORD PTR MB_CUR_MAX[rip], 1
	jne	.L4
	mov	rax, QWORD PTR 8[rsi]
	add	rax, rdx
	add	rdx, QWORD PTR 8[rdi]
	mov	rdi, rdx
	mov	rsi, rax
	mov	rdx, rbx
	call	memcmp@PLT
.L5:
	test	eax, eax
	jne	.L1
	cmp	rbx, r12
	mov	rax, r12
	cmovbe	rax, rbx
	cmp	rax, r13
	ja	.L7
	cmp	rbx, r13
	cmova	rbx, r13
	xor	eax, eax
	cmp	r12, rbx
	setb	al
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	eax, eax
	cmp	r12, rdx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	seta	al
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	neg	eax
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r14, QWORD PTR 16[rdi]
	mov	rdi, rbx
	add	r14, rdx
	add	rdx, QWORD PTR 16[rsi]
	mov	rbp, rdx
	call	SIZEOF_WCHAR_STRING@PLT
	mov	rsi, rbp
	mov	rdi, r14
	mov	rdx, rax
	call	memcmp@PLT
	jmp	.L5
.L7:
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bwsncmp, .-bwsncmp
	.comm	MB_CUR_MAX,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_bwstring.c_bwsncmp.c"
	.text
	.align	2
	.global	bwsncmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	bwsncmp, %function
bwsncmp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	ldr	ip, [r1]
	cmp	r4, r2
	bls	.L10
	cmp	ip, r2
	bls	.L6
	sub	r5, ip, r2
	cmp	r5, r3
	movcc	r3, r5
	ldr	ip, .L12
	sub	r6, r4, r2
	ldr	ip, [ip]
	cmp	r3, r6
	movcc	r4, r3
	movcs	r4, r6
	cmp	ip, #1
	bne	.L4
	ldr	r1, [r1, #4]
	ldr	r0, [r0, #4]
	add	r1, r1, r2
	add	r0, r0, r2
	mov	r2, r4
	bl	memcmp
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
.L11:
	cmp	r4, r5
	movcc	r3, r4
	movcs	r3, r5
	cmp	r3, r6
	bhi	.L7
	cmp	r4, r6
	movcc	r0, r4
	movcs	r0, r6
	cmp	r5, r0
	movcs	r0, #0
	movcc	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	cmp	ip, r2
	movls	r0, #0
	mvnhi	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r7, [r0, #8]
	ldr	r8, [r1, #8]
	mov	r0, r4
	add	r7, r7, r2
	add	r8, r8, r2
	bl	SIZEOF_WCHAR_STRING
	mov	r1, r8
	mov	r2, r0
	mov	r0, r7
	bl	memcmp
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	b	.L11
.L7:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	MB_CUR_MAX
	.size	bwsncmp, .-bwsncmp
	.comm	MB_CUR_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
