	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http3_handle_settings_frame ## -- Begin function h2o_http3_handle_settings_frame
	.p2align	4, 0x90
_h2o_http3_handle_settings_frame:       ## @h2o_http3_handle_settings_frame
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, -64(%rbp)
	movq	_H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_h2o_http3_has_received_settings
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	testq	%r14, %r14
	je	LBB0_12
## %bb.1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r14,4), %rbx
	leaq	-64(%rbp), %r13
	movq	_UINT64_MAX@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, -64(%rbp)
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_quicly_decodev
	cmpl	(%r12), %eax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_quicly_decodev
	cmpl	(%r12), %eax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	cmpl	$128, %r14d
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %r14d
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %r14d
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 4(%rax)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	callq	_quicly_is_client
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 8(%rax)
	jmp	LBB0_11
LBB0_12:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$100, %esi
	callq	_h2o_qpack_create_encoder
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_H2O_HTTP3_ERROR_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE,4,2 ## @H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malformed SETTINGS frame"

	.comm	_H2O_HTTP3_ERROR_FRAME,4,2      ## @H2O_HTTP3_ERROR_FRAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http3_handle_settings_frame ; -- Begin function h2o_http3_handle_settings_frame
	.p2align	2
_h2o_http3_handle_settings_frame:       ; @h2o_http3_handle_settings_frame
	.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	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_h2o_http3_has_received_settings
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	cbz	x22, LBB0_12
; %bb.1:
	add	x22, x23, x22, lsl #2
Lloh3:
	adrp	x25, _UINT64_MAX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _UINT64_MAX@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x23
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, x22
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x22
	bl	_quicly_decodev
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	add	x0, sp, #8
	mov	x1, x22
	bl	_quicly_decodev
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	cmp	w24, #128
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #130
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #129
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x19, #4]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #12]
	bl	_quicly_is_client
	cbz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x19, #8]
	b	LBB0_3
LBB0_12:
	mov	x0, x21
	mov	w1, #100
	bl	_h2o_qpack_create_encoder
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_14
LBB0_13:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
Lloh7:
	adrp	x8, _H2O_HTTP3_ERROR_FRAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_FRAME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_14:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE,4,2 ; @H2O_HTTP3_DEFAULT_HEADER_TABLE_SIZE
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malformed SETTINGS frame"

	.comm	_H2O_HTTP3_ERROR_FRAME,4,2      ; @H2O_HTTP3_ERROR_FRAME
.subsections_via_symbols
