	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_status_line
_parse_status_line:                     ## @parse_status_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_SERF_LINEBUF_LIMIT@GOTPCREL(%rip), %rcx
	movq	_SERF_ERROR_BAD_HTTP_RESPONSE@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movb	$0, (%rcx,%rax)
	movq	8(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_apr_date_checkmask
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	movb	5(%rax), %cl
	movb	7(%rax), %al
	addb	$-48, %cl
	addb	$-48, %al
	movsbl	%cl, %edi
	movsbl	%al, %esi
	callq	_SERF_HTTP_VERSION
	movl	%eax, 24(%rbx)
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	leaq	-32(%rbp), %rsi
	movl	$10, %edx
	callq	_apr_strtoi64
	movl	%eax, 20(%rbx)
	movq	-32(%rbp), %rax
	movsbl	(%rax), %edi
	callq	_apr_isspace
	movq	-32(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	incq	%rsi
	movq	%rsi, -32(%rbp)
LBB0_4:
	movl	(%rbx), %edx
	subl	%esi, %edx
	addl	8(%rbx), %edx
	movq	%r14, %rdi
	callq	_serf_bstrmemdup
	movl	%eax, 16(%rbx)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERF_LINEBUF_LIMIT,8,3         ## @SERF_LINEBUF_LIMIT
	.comm	_SERF_ERROR_BAD_HTTP_RESPONSE,4,2 ## @SERF_ERROR_BAD_HTTP_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP/#.# ###*"

	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.no_dead_strip	_parse_status_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_status_line
_parse_status_line:                     ; @parse_status_line
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SERF_LINEBUF_LIMIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERF_LINEBUF_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
	strb	wzr, [x9, x8]
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_apr_date_checkmask
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldrb	w9, [x8, #5]
	sub	w9, w9, #48
	ldrb	w8, [x8, #7]
	sub	w8, w8, #48
	sxtb	w0, w9
	sxtb	w1, w8
	bl	_SERF_HTTP_VERSION
	str	w0, [x19, #24]
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	add	x1, sp, #8
	mov	w2, #10
	bl	_apr_strtoi64
	str	w0, [x19, #20]
	ldr	x8, [sp, #8]
	ldrsb	w0, [x8]
	bl	_apr_isspace
	ldr	x1, [sp, #8]
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, x1, #1
	str	x1, [sp, #8]
LBB0_4:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w8, w1
	add	w2, w8, w9
	mov	x0, x20
	bl	_serf_bstrmemdup
	str	w0, [x19, #16]
Lloh5:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _SERF_ERROR_BAD_HTTP_RESPONSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SERF_ERROR_BAD_HTTP_RESPONSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_LINEBUF_LIMIT,8,3         ; @SERF_LINEBUF_LIMIT
	.comm	_SERF_ERROR_BAD_HTTP_RESPONSE,4,2 ; @SERF_ERROR_BAD_HTTP_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP/#.# ###*"

	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.no_dead_strip	_parse_status_line
.subsections_via_symbols
