	.file	"extr_tutil.c_strtolower.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	strtolower
	.type	strtolower, @function
strtolower:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L8
	lea	rcx, 1[rbx]
	mov	rdx, r12
	xor	edi, edi
	xor	esi, esi
	xor	r9d, r9d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	test	dil, dil
	je	.L4
	cmp	al, 92
	je	.L10
	cmp	dil, al
	cmove	edi, r9d
	.p2align 4,,10
	.p2align 3
.L3:
	add	rcx, 1
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	movzx	eax, BYTE PTR -1[rcx]
	test	al, al
	je	.L2
.L7:
	test	esi, esi
	je	.L18
	xor	esi, esi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	lea	r8d, -65[rax]
	cmp	r8b, 25
	ja	.L5
	add	eax, 32
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	al, 39
	je	.L11
	cmp	al, 34
	jne	.L3
.L11:
	mov	edi, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, r12
.L2:
	mov	BYTE PTR [rdx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	strtolower, .-strtolower
	.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_tutil.c_strtolower.c"
	.text
	.align	2
	.global	strtolower
	.syntax unified
	.arm
	.fpu softvfp
	.type	strtolower, %function
strtolower:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r1, r4
	ldrb	r3, [r1], #1	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	mov	lr, #0
	mov	r2, r5
	mov	ip, lr
	b	.L6
.L15:
	cmp	r3, #92
	moveq	ip, #1
	beq	.L3
	cmp	r3, lr
	moveq	lr, #0
.L3:
	strb	r3, [r2], #1
	ldrb	r3, [r1], #1	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
.L6:
	cmp	ip, #0
	movne	ip, #0
	bne	.L3
	cmp	lr, #0
	sub	r4, r3, #65
	bne	.L15
	cmp	r4, #25
	add	r0, r3, #32
	andls	r3, r0, #255
	bls	.L3
	cmp	r3, #34
	cmpne	r3, #39
	strb	r3, [r2], #1
	moveq	lr, r3
	ldrb	r3, [r1], #1	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
.L2:
	mov	r3, #0
	mov	r0, r5
	strb	r3, [r2]
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, r5
	b	.L2
	.size	strtolower, .-strtolower
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
