	.file	"extr_qede_filter.c_qede_flow_build_ipv6_hdr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qede_flow_build_ipv6_hdr, @function
qede_flow_build_ipv6_hdr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movsx	rbp, DWORD PTR ETH_HLEN[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR 24[rdi]
	mov	rbx, rdi
	lea	r12, 32[rsi+rbp]
	add	rbp, rsi
	mov	DWORD PTR [rsi], eax
	lea	rsi, 20[rdi]
	lea	rdi, 24[rbp]
	call	memcpy@PLT
	lea	rsi, 16[rbx]
	lea	rdi, 20[rbp]
	mov	edx, 4
	call	memcpy@PLT
	mov	DWORD PTR 0[rbp], 6
	mov	rax, QWORD PTR IPPROTO_TCP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L6
	mov	eax, DWORD PTR NEXTHDR_UDP[rip]
	mov	edi, 4
	mov	DWORD PTR 16[rbp], eax
	call	cpu_to_be16@PLT
	mov	QWORD PTR 8[rbp], rax
.L3:
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR [r12], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 4[r12], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR NEXTHDR_TCP[rip]
	mov	edi, 4
	mov	DWORD PTR 16[rbp], eax
	call	cpu_to_be16@PLT
	mov	QWORD PTR 8[rbp], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	qede_flow_build_ipv6_hdr, .-qede_flow_build_ipv6_hdr
	.comm	NEXTHDR_UDP,4,4
	.comm	NEXTHDR_TCP,4,4
	.comm	IPPROTO_TCP,8,8
	.comm	ETH_HLEN,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_qede_filter.c_qede_flow_build_ipv6_hdr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qede_flow_build_ipv6_hdr, %function
qede_flow_build_ipv6_hdr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r2, .L7
	ldr	r3, [r0, #20]
	ldr	r7, [r2]
	add	r1, r0, #16
	add	r6, r5, r7
	str	r3, [r5]
	mov	r2, #4
	add	r0, r6, #16
	bl	memcpy
	mov	r2, #4
	add	r1, r4, #12
	add	r0, r6, #12
	bl	memcpy
	mov	r3, #6
	ldr	r2, .L7+4
	ldr	r1, [r4]
	ldr	r2, [r2]
	str	r3, [r5, r7]
	cmp	r1, r2
	ldreq	r3, .L7+8
	ldrne	r3, .L7+12
	mov	r0, #4
	ldr	r3, [r3]
	add	r8, r7, #20
	str	r3, [r6, #8]
	bl	cpu_to_be16
	ldr	r3, [r4, #8]
	str	r0, [r6, #4]
	str	r3, [r5, r8]
	ldr	r3, [r4, #4]
	add	r7, r5, r8
	str	r3, [r7, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	ETH_HLEN
	.word	IPPROTO_TCP
	.word	NEXTHDR_TCP
	.word	NEXTHDR_UDP
	.size	qede_flow_build_ipv6_hdr, .-qede_flow_build_ipv6_hdr
	.comm	NEXTHDR_UDP,4,4
	.comm	NEXTHDR_TCP,4,4
	.comm	IPPROTO_TCP,4,4
	.comm	ETH_HLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
