	.file	"extr_flow_divert.c_flow_divert_send_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to create a close packet: %d"
	.align 8
.LC1:
	.string	"failed to add the error code TLV: %d"
	.align 8
.LC2:
	.string	"failed to add the how flag: %d"
	.text
	.p2align 4
	.type	flow_divert_send_close, @function
flow_divert_send_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], esi
	mov	esi, DWORD PTR FLOW_DIVERT_PKT_CLOSE[rip]
	lea	rdx, 32[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 28[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	call	flow_divert_packet_init@PLT
	test	eax, eax
	jne	.L16
	mov	esi, DWORD PTR FLOW_DIVERT_TLV_ERROR_CODE[rip]
	mov	rdi, QWORD PTR 32[rsp]
	lea	rcx, 28[rsp]
	mov	edx, 4
	call	flow_divert_packet_append_tlv@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	mov	edi, DWORD PTR 12[rsp]
	call	htonl@PLT
	mov	esi, DWORD PTR FLOW_DIVERT_TLV_HOW[rip]
	mov	rdi, QWORD PTR 32[rsp]
	lea	rcx, 12[rsp]
	mov	edx, 4
	mov	DWORD PTR 12[rsp], eax
	call	flow_divert_packet_append_tlv@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	mov	edx, DWORD PTR TRUE[rip]
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, rbp
	call	flow_divert_send_packet@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR LOG_ERR[rip]
	mov	ecx, eax
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	call	FDLOG@PLT
.L3:
	mov	rdi, QWORD PTR 32[rsp]
	test	rdi, rdi
	je	.L1
	call	mbuf_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR LOG_ERR[rip]
	mov	ecx, eax
	mov	rsi, rbp
	mov	r12d, eax
	lea	rdx, .LC0[rip]
	call	FDLOG@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR LOG_ERR[rip]
	mov	ecx, eax
	lea	rdx, .LC2[rip]
	mov	rsi, rbp
	call	FDLOG@PLT
	jmp	.L3
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	flow_divert_send_close, .-flow_divert_send_close
	.comm	TRUE,4,4
	.comm	LOG_ERR,4,4
	.comm	FLOW_DIVERT_TLV_HOW,4,4
	.comm	FLOW_DIVERT_TLV_ERROR_CODE,4,4
	.comm	FLOW_DIVERT_PKT_CLOSE,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_flow_divert.c_flow_divert_send_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to create a close packet: %d\000"
	.align	2
.LC1:
	.ascii	"failed to add the error code TLV: %d\000"
	.align	2
.LC2:
	.ascii	"failed to add the how flag: %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	flow_divert_send_close, %function
flow_divert_send_close:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	ip, .L20
	sub	sp, sp, #28
	str	r1, [sp, #4]
	ldr	r1, [ip]
	ldr	ip, .L20+4
	add	r2, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r5, r0
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	bl	flow_divert_packet_init
	subs	r4, r0, #0
	bne	.L16
	ldr	r2, .L20+8
	ldr	r0, [sp, #12]
	ldr	r1, [r2]
	add	r3, sp, #16
	mov	r2, #4
	bl	flow_divert_packet_append_tlv
	subs	r4, r0, #0
	bne	.L17
	ldr	r0, [sp, #4]
	bl	htonl
	mov	ip, r0
	ldr	r2, .L20+12
	ldr	r0, [sp, #12]
	ldr	r1, [r2]
	add	r3, sp, #4
	mov	r2, #4
	str	ip, [sp, #4]
	bl	flow_divert_packet_append_tlv
	subs	r4, r0, #0
	bne	.L18
	ldr	r3, .L20+16
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, [sp, #12]
	bl	flow_divert_send_packet
	subs	r4, r0, #0
	bne	.L3
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L17:
	ldr	r3, .L20+20
	mov	r1, r5
	ldr	r0, [r3]
	ldr	r2, .L20+24
	mov	r3, r4
	bl	FDLOG
.L3:
	ldr	r0, [sp, #12]
	cmp	r0, #0
	beq	.L1
	bl	mbuf_free
	b	.L1
.L16:
	ldr	r3, .L20+20
	mov	r1, r5
	ldr	r0, [r3]
	ldr	r2, .L20+28
	mov	r3, r4
	bl	FDLOG
	b	.L3
.L18:
	ldr	r3, .L20+20
	mov	r1, r5
	ldr	r0, [r3]
	ldr	r2, .L20+32
	mov	r3, r4
	bl	FDLOG
	b	.L3
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	FLOW_DIVERT_PKT_CLOSE
	.word	.LC3
	.word	FLOW_DIVERT_TLV_ERROR_CODE
	.word	FLOW_DIVERT_TLV_HOW
	.word	TRUE
	.word	LOG_ERR
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	flow_divert_send_close, .-flow_divert_send_close
	.comm	TRUE,4,4
	.comm	LOG_ERR,4,4
	.comm	FLOW_DIVERT_TLV_HOW,4,4
	.comm	FLOW_DIVERT_TLV_ERROR_CODE,4,4
	.comm	FLOW_DIVERT_PKT_CLOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
