	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collect_req_status
_collect_req_status:                    ## @collect_req_status
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$4096, -4136(%rbp)              ## imm = 0x1000
	movl	8(%rbx), %edi
	leaq	-4136(%rbp), %rdx
	leaq	-4128(%rbp), %r15
	movq	%r15, %rcx
	callq	_h2o_log_request
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpq	$0, -4136(%rbp)
	setne	%dil
	callq	_assert
	movq	-4136(%rbp), %rsi
	leaq	-1(%rsi), %rax
	movq	%rax, -4136(%rbp)
	addq	$2, %rsi
	movq	%rbx, %rdi
	callq	_h2o_buffer_try_reserve
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	8(%rax), %rdi
	movq	-4136(%rbp), %rdx
	movq	%r14, %rsi
	callq	_memcpy
	movq	-4136(%rbp), %rax
	movq	(%rbx), %rcx
	addq	%rax, (%rcx)
	xorl	%ebx, %ebx
	cmpq	%r15, %r14
	je	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_free
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %ebx
	cmpq	%r15, %r14
	jne	LBB0_4
	jmp	LBB0_5
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_collect_req_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collect_req_status
_collect_req_status:                    ; @collect_req_status
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	mov	x20, x1
	mov	x1, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w8, #4096
	str	x8, [sp, #-16]!
	ldr	w0, [x20, #8]
	add	x22, sp, #8
	mov	x2, sp
	add	x3, sp, #8
	bl	_h2o_log_request
	mov	x19, x0
	ldr	x8, [sp]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp]
	sub	x9, x8, #1
	str	x9, [sp]
	add	x1, x8, #2
	mov	x0, x20
	bl	_h2o_buffer_try_reserve
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	ldp	x8, x9, [x8]
	add	x0, x8, x9
	ldr	x2, [sp]
	mov	x1, x19
	bl	_memcpy
	mov	w21, #0
	ldr	x8, [sp]
	ldr	x9, [x20]
	ldr	x10, [x9]
	add	x8, x10, x8
	str	x8, [x9]
	cmp	x19, x22
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_free
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x21
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w21, #-1
	cmp	x19, x22
	b.ne	LBB0_2
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_collect_req_status
.subsections_via_symbols
