	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_stream_timeout
_do_stream_timeout:                     ## @do_stream_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	_STREAM_STATE_HEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_h2o_httpclient_error_first_byte_timeout@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_h2o_httpclient_error_connect_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_on_connect_error               ## TAILCALL
LBB0_2:
	movq	_h2o_httpclient_error_io_timeout@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_call_callback_with_error
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_close_stream                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_h2o_httpclient_error_connect_timeout,4,2 ## @h2o_httpclient_error_connect_timeout
	.comm	_STREAM_STATE_HEAD,8,3          ## @STREAM_STATE_HEAD
	.comm	_h2o_httpclient_error_first_byte_timeout,8,3 ## @h2o_httpclient_error_first_byte_timeout
	.comm	_h2o_httpclient_error_io_timeout,8,3 ## @h2o_httpclient_error_io_timeout
	.no_dead_strip	_do_stream_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_stream_timeout
_do_stream_timeout:                     ; @do_stream_timeout
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STREAM_STATE_HEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STREAM_STATE_HEAD@GOTPAGEOFF]
Lloh2:
	adrp	x10, _h2o_httpclient_error_first_byte_timeout@GOTPAGE
Lloh3:
	ldr	x10, [x10, _h2o_httpclient_error_first_byte_timeout@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _h2o_httpclient_error_io_timeout@GOTPAGE
Lloh6:
	ldr	x11, [x11, _h2o_httpclient_error_io_timeout@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x1, [x8]
	mov	x0, x19
	bl	_call_callback_with_error
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_close_stream
LBB0_2:
Lloh7:
	adrp	x8, _h2o_httpclient_error_connect_timeout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _h2o_httpclient_error_connect_timeout@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_on_connect_error
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_h2o_httpclient_error_connect_timeout,4,2 ; @h2o_httpclient_error_connect_timeout
	.comm	_STREAM_STATE_HEAD,8,3          ; @STREAM_STATE_HEAD
	.comm	_h2o_httpclient_error_first_byte_timeout,8,3 ; @h2o_httpclient_error_first_byte_timeout
	.comm	_h2o_httpclient_error_io_timeout,8,3 ; @h2o_httpclient_error_io_timeout
	.no_dead_strip	_do_stream_timeout
.subsections_via_symbols
