	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wt_status_locate_end           ## -- Begin function wt_status_locate_end
	.p2align	4, 0x90
_wt_status_locate_end:                  ## @wt_status_locate_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_comment_line_char@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cut_line@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdi
	callq	_strbuf_addf
	movq	-24(%rbp), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_2:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	subq	%rbx, %rax
	incq	%rax
	movq	%rax, %r14
LBB0_4:
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n%c %s"

	.comm	_comment_line_char,4,2          ## @comment_line_char
	.comm	_cut_line,4,2                   ## @cut_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wt_status_locate_end           ; -- Begin function wt_status_locate_end
	.p2align	2
_wt_status_locate_end:                  ; @wt_status_locate_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _comment_line_char@GOTPAGE
Lloh4:
	ldr	x8, [x8, _comment_line_char@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _cut_line@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cut_line@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
	ldr	x8, [sp, #8]
	add	x1, x8, #1
	mov	x0, x20
	bl	_starts_with
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_strstr
	sub	x8, x0, x20
	cmp	x0, #0
	csinc	x19, x19, x8, eq
LBB0_3:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n%c %s"

	.comm	_comment_line_char,4,2          ; @comment_line_char
	.comm	_cut_line,4,2                   ; @cut_line
.subsections_via_symbols
