	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function control_stream_handle_input
_control_stream_handle_input:           ## @control_stream_handle_input
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	callq	_quicly_is_client
	movq	_H2O_HTTP3_STREAM_TYPE_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r15, %r9
	callq	_h2o_http3_read_frame
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_h2o_http3_has_received_settings
	movq	-56(%rbp), %rsi
	xorl	%ecx, %ecx
	movq	_H2O_HTTP3_FRAME_TYPE_SETTINGS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	sete	%cl
	cmpl	%ecx, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_H2O_HTTP3_FRAME_TYPE_DATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r15, %r8
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, (%r12)
	jne	LBB0_1
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movl	%eax, %ecx
	movq	_H2O_HTTP3_ERROR_INCOMPLETE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	cmovnel	%ecx, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_STREAM_TYPE_CONTROL,4,2 ## @H2O_HTTP3_STREAM_TYPE_CONTROL
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ## @H2O_HTTP3_ERROR_INCOMPLETE
	.comm	_H2O_HTTP3_FRAME_TYPE_SETTINGS,8,3 ## @H2O_HTTP3_FRAME_TYPE_SETTINGS
	.comm	_H2O_HTTP3_FRAME_TYPE_DATA,8,3  ## @H2O_HTTP3_FRAME_TYPE_DATA
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ## @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.no_dead_strip	_control_stream_handle_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function control_stream_handle_input
_control_stream_handle_input:           ; @control_stream_handle_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x23, _H2O_HTTP3_STREAM_TYPE_CONTROL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _H2O_HTTP3_STREAM_TYPE_CONTROL@GOTPAGEOFF]
Lloh2:
	adrp	x24, _H2O_HTTP3_FRAME_TYPE_SETTINGS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _H2O_HTTP3_FRAME_TYPE_SETTINGS@GOTPAGEOFF]
Lloh4:
	adrp	x25, _H2O_HTTP3_FRAME_TYPE_DATA@GOTPAGE
Lloh5:
	ldr	x25, [x25, _H2O_HTTP3_FRAME_TYPE_DATA@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #8]
	bl	_quicly_is_client
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, sp
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_h2o_http3_read_frame
	cbnz	w0, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_h2o_http3_has_received_settings
	ldr	x1, [sp]
	ldr	x8, [x24]
	cmp	x1, x8
	cset	w8, eq
	ldr	x9, [x25]
	cmp	w0, w8
	ccmp	x1, x9, #4, ne
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldp	w3, w2, [sp, #8]
	mov	x0, x22
	mov	x4, x19
	blr	x8
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21]
	cmp	x8, x20
	b.ne	LBB0_1
; %bb.5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_STREAM_TYPE_CONTROL,4,2 ; @H2O_HTTP3_STREAM_TYPE_CONTROL
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ; @H2O_HTTP3_ERROR_INCOMPLETE
	.comm	_H2O_HTTP3_FRAME_TYPE_SETTINGS,8,3 ; @H2O_HTTP3_FRAME_TYPE_SETTINGS
	.comm	_H2O_HTTP3_FRAME_TYPE_DATA,8,3  ; @H2O_HTTP3_FRAME_TYPE_DATA
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ; @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.no_dead_strip	_control_stream_handle_input
.subsections_via_symbols
