	.file	"extr_af_key.c_pfkey_spdflush.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pfkey_spdflush, @function
pfkey_spdflush:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	sock_net@PLT
	mov	edi, DWORD PTR current[rip]
	mov	rbx, rax
	call	audit_get_loginuid@PLT
	mov	edi, DWORD PTR current[rip]
	mov	DWORD PTR 12[rsp], eax
	call	audit_get_sessionid@PLT
	mov	esi, DWORD PTR XFRM_POLICY_TYPE_MAIN[rip]
	mov	rdx, rsp
	mov	rdi, rbx
	mov	DWORD PTR 8[rsp], eax
	mov	QWORD PTR [rsp], 0
	call	xfrm_policy_flush@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	unicast_flush_resp@PLT
	or	eax, r12d
	je	.L2
	mov	eax, r12d
	add	eax, DWORD PTR ESRCH[rip]
	mov	eax, 0
	cmove	r12d, eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR XFRM_POLICY_TYPE_MAIN[rip]
	lea	rdx, 16[rsp]
	xor	esi, esi
	xor	edi, edi
	mov	QWORD PTR 16[rsp], rbx
	xor	r12d, r12d
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR XFRM_MSG_FLUSHPOLICY[rip]
	mov	DWORD PTR 32[rsp], eax
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR 24[rsp], rax
	call	km_policy_notify@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pfkey_spdflush, .-pfkey_spdflush
	.comm	current,4,4
	.comm	XFRM_POLICY_TYPE_MAIN,4,4
	.comm	XFRM_MSG_FLUSHPOLICY,4,4
	.comm	ESRCH,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_af_key.c_pfkey_spdflush.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pfkey_spdflush, %function
pfkey_spdflush:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	sub	sp, sp, #40
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r7, r0
	bl	sock_net
	ldr	r4, .L9+4
	mov	r6, r0
	ldr	r0, [r4]
	bl	audit_get_loginuid
	mov	r3, r0
	ldr	r0, [r4]
	str	r3, [sp, #12]
	bl	audit_get_sessionid
	mov	r2, r0
	mov	r3, #0
	ldr	r8, .L9+8
	str	r2, [sp, #8]
	ldr	r1, [r8]
	add	r2, sp, #4
	mov	r0, r6
	str	r3, [sp, #4]
	bl	xfrm_policy_flush
	mov	r1, r5
	mov	r4, r0
	mov	r0, r7
	bl	unicast_flush_resp
	orrs	r1, r4, r0
	beq	.L2
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmn	r4, r3
	moveq	r4, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L9+16
	ldr	r2, [r8]
	ldr	r0, [r3]
	str	r2, [sp, #32]
	str	r0, [sp, #28]
	add	r2, sp, #16
	mov	r0, r1
	ldm	r5, {r3, ip}
	mov	r4, r1
	str	r6, [sp, #16]
	str	ip, [sp, #24]
	str	r3, [sp, #20]
	bl	km_policy_notify
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	current
	.word	XFRM_POLICY_TYPE_MAIN
	.word	ESRCH
	.word	XFRM_MSG_FLUSHPOLICY
	.size	pfkey_spdflush, .-pfkey_spdflush
	.comm	current,4,4
	.comm	XFRM_POLICY_TYPE_MAIN,4,4
	.comm	XFRM_MSG_FLUSHPOLICY,4,4
	.comm	ESRCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
