	.file	"extr_hpack.c_check_flatten.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	check_flatten, @function
check_flatten:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	lea	rsi, h2o_socket_buffer_prototype[rip]
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	h2o_buffer_init@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r9d, DWORD PTR 4[rbx]
	mov	rsi, r14
	mov	eax, DWORD PTR SIZE_MAX[rip]
	mov	r8d, DWORD PTR 8[rbx]
	mov	edx, 1
	mov	rdi, rbp
	mov	ecx, DWORD PTR H2O_HTTP2_SETTINGS_DEFAULT[rip]
	push	rax
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR [rbx]
	push	0
	.cfi_def_cfa_offset 104
	push	rax
	.cfi_def_cfa_offset 112
	call	h2o_hpack_flatten_response@PLT
	mov	rax, QWORD PTR 32[rsp]
	mov	ecx, DWORD PTR H2O_HTTP2_SETTINGS_DEFAULT[rip]
	add	rsp, 32
	.cfi_def_cfa_offset 80
	lea	r8, 8[rsp]
	lea	rdi, 16[rsp]
	mov	rsi, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	call	h2o_http2_decode_frame@PLT
	xor	edi, edi
	test	rax, rax
	setg	dil
	call	ok@PLT
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR 20[rsp]
	mov	rcx, r13
	mov	rdx, r12
	call	h2o_memis@PLT
	mov	edi, eax
	call	ok@PLT
	mov	rdi, rbp
	call	h2o_buffer_dispose@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	check_flatten, .-check_flatten
	.comm	h2o_socket_buffer_prototype,4,4
	.comm	SIZE_MAX,4,4
	.comm	H2O_HTTP2_SETTINGS_DEFAULT,4,4
	.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_hpack.c_check_flatten.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_flatten, %function
check_flatten:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	sub	sp, sp, #52
	mov	r6, r3
	ldr	r3, .L6
	mov	r7, r0
	ldr	r1, .L6+4
	add	r0, sp, #28
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	h2o_buffer_init
	mov	r3, #0
	ldr	ip, [r4, #4]
	ldr	r0, [r4, #8]
	ldr	r2, .L6+8
	ldr	lr, [r4]
	ldr	r2, [r2]
	stm	sp, {r0, ip}
	ldr	r4, .L6+12
	str	lr, [sp, #8]
	str	r2, [sp, #16]
	str	r3, [sp, #12]
	mov	r1, r7
	mov	r2, #1
	ldr	r3, [r4]
	add	r0, sp, #28
	bl	h2o_hpack_flatten_response
	ldr	r3, [sp, #28]
	add	r0, sp, #32
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, [r4]
	str	r0, [sp]
	add	r0, sp, #36
	bl	h2o_http2_decode_frame
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #1
	bl	ok
	mov	r3, r6
	mov	r2, r5
	ldr	r1, [sp, #36]
	ldr	r0, [sp, #40]
	bl	h2o_memis
	bl	ok
	add	r0, sp, #28
	bl	h2o_buffer_dispose
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	h2o_socket_buffer_prototype
	.word	SIZE_MAX
	.word	H2O_HTTP2_SETTINGS_DEFAULT
	.size	check_flatten, .-check_flatten
	.comm	h2o_socket_buffer_prototype,4,4
	.comm	SIZE_MAX,4,4
	.comm	H2O_HTTP2_SETTINGS_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
