	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_body_until_close
_on_body_until_close:                   ## @on_body_until_close
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_h2o_timer_unlink
	testq	%r15, %r15
	je	LBB0_1
## %bb.5:
	movq	_STREAM_STATE_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_h2o_gettimeofday
	movl	%eax, 24(%rbx)
	movq	_h2o_httpclient_error_is_eos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close_response                 ## TAILCALL
LBB0_1:
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close_client                   ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_do_update_window
LBB0_4:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_timer_link                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STREAM_STATE_CLOSED,4,2        ## @STREAM_STATE_CLOSED
	.comm	_h2o_httpclient_error_is_eos,8,3 ## @h2o_httpclient_error_is_eos
	.no_dead_strip	_on_body_until_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_body_until_close
_on_body_until_close:                   ; @on_body_until_close
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_h2o_timer_unlink
	cbz	x21, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _STREAM_STATE_CLOSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STREAM_STATE_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_h2o_gettimeofday
	str	w0, [x19, #24]
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _h2o_httpclient_error_is_eos@GOTPAGE
Lloh4:
	ldr	x9, [x9, _h2o_httpclient_error_is_eos@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x9]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_close_response
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, #0
	blr	x8
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_close_client
LBB0_5:
	mov	x0, x19
	bl	_do_update_window
LBB0_6:
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_h2o_timer_link
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STREAM_STATE_CLOSED,4,2        ; @STREAM_STATE_CLOSED
	.comm	_h2o_httpclient_error_is_eos,8,3 ; @h2o_httpclient_error_is_eos
	.no_dead_strip	_on_body_until_close
.subsections_via_symbols
