	.file	"extr_main.c_decode_quic_forwarded_header.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_quic_forwarded_header, @function
decode_quic_forwarded_header:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rcx, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, 0[0+rcx*4]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	rbx, 20
	jle	.L2
	lea	rax, 4[r8]
	cmp	DWORD PTR [r8], 128
	mov	rbp, r8
	mov	QWORD PTR [rsp], rax
	je	.L13
.L2:
	mov	rax, QWORD PTR SIZE_MAX[rip]
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	r15, rsp
	mov	r13, rdi
	mov	r14, rsi
	mov	r12, rdx
	mov	rdi, r15
	call	quicly_decode32@PLT
	cmp	rax, QWORD PTR H2O_QUIC_FORWARDED_VERSION[rip]
	jne	.L2
	add	rbx, rbp
	mov	rsi, r15
	mov	rdi, r13
	mov	rdx, rbx
	call	decode_quic_address@PLT
	test	eax, eax
	je	.L2
	mov	rdx, rbx
	mov	rsi, r15
	mov	rdi, r14
	call	decode_quic_address@PLT
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR [rsp]
	sub	rbx, rax
	test	rbx, rbx
	jle	.L2
	mov	edx, DWORD PTR [rax]
	add	rax, 4
	sub	rax, rbp
	mov	DWORD PTR [r12], edx
	sar	rax, 2
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_quic_forwarded_header, .-decode_quic_forwarded_header
	.comm	SIZE_MAX,8,8
	.comm	H2O_QUIC_FORWARDED_VERSION,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_main.c_decode_quic_forwarded_header.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_quic_forwarded_header, %function
decode_quic_forwarded_header:
	@ args = 12, pretend = 8, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	lsl	r4, r3, #2
	str	r3, [sp, #36]
	ldr	r3, .L15
	cmp	r4, #20
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ble	.L2
	ldr	r8, [sp, #40]
	mov	r5, r2
	ldr	r2, [r8]
	add	r3, r8, #4
	cmp	r2, #128
	str	r3, [sp]
	beq	.L13
.L2:
	ldr	r3, .L15+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	add	sp, sp, #8
	bx	lr
.L13:
	mov	r6, r0
	mov	r0, sp
	mov	r7, r1
	bl	quicly_decode32
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L2
	add	r4, r8, r4
	mov	r0, r6
	mov	r2, r4
	mov	r1, sp
	bl	decode_quic_address
	cmp	r0, #0
	beq	.L2
	mov	r1, sp
	mov	r0, r7
	mov	r2, r4
	bl	decode_quic_address
	cmp	r0, #0
	beq	.L2
	ldr	r0, [sp]
	sub	r4, r4, r0
	cmp	r4, #0
	ble	.L2
	ldr	r3, [r0], #4
	sub	r0, r0, r8
	asr	r0, r0, #2
	str	r3, [r5]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	SIZE_MAX
	.word	H2O_QUIC_FORWARDED_VERSION
	.size	decode_quic_forwarded_header, .-decode_quic_forwarded_header
	.comm	SIZE_MAX,4,4
	.comm	H2O_QUIC_FORWARDED_VERSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
