	.file	"extr_wt-status.c_wt_status_locate_end.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n%c %s"
	.text
	.p2align 4
	.globl	wt_status_locate_end
	.type	wt_status_locate_end, @function
wt_status_locate_end:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR cut_line[rip]
	mov	edx, DWORD PTR comment_line_char[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	strbuf_addf@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdi, rbx
	lea	rsi, 1[rax]
	call	starts_with@PLT
	test	rax, rax
	je	.L9
.L2:
	mov	rdi, r13
	call	strbuf_release@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbx
	call	strstr@PLT
	mov	r12, rax
	sub	r12, rbx
	add	r12, 1
	test	rax, rax
	cmove	r12, rbp
	jmp	.L2
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wt_status_locate_end, .-wt_status_locate_end
	.comm	cut_line,4,4
	.comm	comment_line_char,4,4
	.comm	STRBUF_INIT,8,8
	.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_wt-status.c_wt_status_locate_end.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012%c %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wt_status_locate_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	wt_status_locate_end, %function
wt_status_locate_end:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r1, .L10
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	sub	sp, sp, #8
	ldr	lr, [r1]
	ldr	ip, .L10+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L10+16
	mov	r0, sp
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	str	lr, [sp]
	bl	strbuf_addf
	ldr	r1, [sp]
	mov	r0, r5
	add	r1, r1, #1
	bl	starts_with
	cmp	r0, #0
	movne	r4, #0
	beq	.L8
.L2:
	mov	r0, sp
	bl	strbuf_release
	ldr	r3, .L10+12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r5
	ldr	r1, [sp]
	bl	strstr
	cmp	r0, #0
	subne	r0, r0, r5
	addne	r4, r0, #1
	b	.L2
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	STRBUF_INIT
	.word	cut_line
	.word	comment_line_char
	.word	.LC1
	.word	.LC0
	.size	wt_status_locate_end, .-wt_status_locate_end
	.comm	cut_line,4,4
	.comm	comment_line_char,4,4
	.comm	STRBUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
