	.file	"extr_af_key.c_dump_sa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dump_sa, @function
dump_sa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 16[rdx]
	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
	mov	r12, rdi
	mov	rdi, r15
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	pfkey_can_dump@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR ENOBUFS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	pfkey_xfrm_state2msg@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	r14, QWORD PTR 0[r13]
	mov	eax, DWORD PTR 12[rbx]
	add	ebp, 1
	mov	edi, DWORD PTR [r12]
	mov	DWORD PTR 32[r14], eax
	mov	eax, DWORD PTR SADB_DUMP[rip]
	mov	DWORD PTR 28[r14], eax
	call	pfkey_proto2satype@PLT
	cmp	QWORD PTR [rbx], 0
	mov	QWORD PTR 16[r14], 0
	mov	DWORD PTR 24[r14], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	QWORD PTR 8[r14], 0
	mov	DWORD PTR [r14], ebp
	mov	DWORD PTR 4[r14], eax
	je	.L5
	mov	rdi, r15
	call	sock_net@PLT
	mov	edx, DWORD PTR BROADCAST_ONE[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	rcx, r15
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	r8d, eax
	call	pfkey_broadcast@PLT
.L5:
	mov	QWORD PTR [rbx], r13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L8:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	dump_sa, .-dump_sa
	.comm	SADB_DUMP,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOBUFS,4,4
	.comm	BROADCAST_ONE,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_dump_sa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_sa, %function
dump_sa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	add	r9, r2, #12
	mov	r8, r0
	sub	sp, sp, #8
	mov	r0, r9
	mov	r4, r2
	mov	r10, r1
	bl	pfkey_can_dump
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L12
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r8
	bl	pfkey_xfrm_state2msg
	mov	r7, r0
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L11
	ldr	r3, .L12+4
	ldr	r6, [r7]
	ldr	r2, [r3]
	ldr	r3, [r4, #8]
	ldr	r0, [r8]
	str	r3, [r6, #24]
	str	r2, [r6, #20]
	bl	pfkey_proto2satype
	ldr	r8, [r4]
	ldr	r3, [r4, #4]
	add	r1, r10, #1
	cmp	r8, #0
	stm	r6, {r1, r3}
	str	r5, [r6, #12]
	str	r5, [r6, #8]
	str	r0, [r6, #16]
	beq	.L5
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	mov	r0, r9
	ldr	r6, [r2]
	ldr	r10, [r3]
	bl	sock_net
	mov	r2, r10
	str	r0, [sp]
	mov	r1, r6
	mov	r3, r9
	mov	r0, r8
	bl	pfkey_broadcast
.L5:
	mov	r0, r5
	str	r7, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r0, r7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L13:
	.align	2
.L12:
	.word	ENOBUFS
	.word	SADB_DUMP
	.word	GFP_ATOMIC
	.word	BROADCAST_ONE
	.size	dump_sa, .-dump_sa
	.comm	SADB_DUMP,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOBUFS,4,4
	.comm	BROADCAST_ONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
