	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_stream_properties
_init_stream_properties:                ## @init_stream_properties
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	84(%rdi), %edi
	callq	_quicly_is_client
	movl	%eax, %r12d
	movl	76(%rbx), %esi
	movl	%eax, %edi
	callq	_quicly_stream_has_send_side
	leaq	80(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_quicly_sendstate_init
	jmp	LBB0_3
LBB0_2:
	callq	_quicly_sendstate_init_closed
LBB0_3:
	movl	76(%rbx), %esi
	movl	%r12d, %edi
	callq	_quicly_stream_has_receive_side
	leaq	72(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	_quicly_recvstate_init
	jmp	LBB0_6
LBB0_5:
	callq	_quicly_recvstate_init_closed
LBB0_6:
	movq	$0, 64(%rbx)
	leaq	8(%rbx), %r12
	movl	%r15d, 56(%rbx)
	movq	_QUICLY_SENDER_STATE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movq	$0, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
	leaq	16(%rbx), %rdi
	movl	%r14d, %esi
	callq	_quicly_maxsender_init
	leaq	12(%rbx), %rdi
	callq	_quicly_linklist_init
	movq	%r12, %rdi
	callq	_quicly_linklist_init
	movl	%r14d, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ## @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_init_stream_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_stream_properties
_init_stream_properties:                ; @init_stream_properties
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #84]
	bl	_quicly_is_client
	mov	x22, x0
	ldr	w1, [x20, #76]
	bl	_quicly_stream_has_send_side
	mov	x8, x0
	add	x0, x20, #80
	cbz	x8, LBB0_2
; %bb.1:
	bl	_quicly_sendstate_init
	b	LBB0_3
LBB0_2:
	bl	_quicly_sendstate_init_closed
LBB0_3:
	ldr	w1, [x20, #76]
	mov	x0, x22
	bl	_quicly_stream_has_receive_side
	mov	x8, x0
	add	x0, x20, #72
	cbz	x8, LBB0_5
; %bb.4:
	bl	_quicly_recvstate_init
	b	LBB0_6
LBB0_5:
	bl	_quicly_recvstate_init_closed
LBB0_6:
	str	xzr, [x20, #64]
	add	x22, x20, #8
	str	w21, [x20, #56]
Lloh0:
	adrp	x8, _QUICLY_SENDER_STATE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUICLY_SENDER_STATE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	xzr, x8, [x20, #40]
	stp	xzr, x8, [x20, #24]
	add	x0, x20, #16
	mov	x1, x19
	bl	_quicly_maxsender_init
	add	x0, x20, #12
	bl	_quicly_linklist_init
	mov	x0, x22
	bl	_quicly_linklist_init
	str	w19, [x20]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ; @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_init_stream_properties
.subsections_via_symbols
