	.file	"extr_xfrm_user.c_build_spdinfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	build_spdinfo, @function
build_spdinfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r9d, r9d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r8d
	mov	r8d, 4
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	esi, edx
	mov	edx, ecx
	sub	rsp, 224
	.cfi_def_cfa_offset 272
	mov	ecx, DWORD PTR XFRM_MSG_NEWSPDINFO[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 216[rsp], rax
	xor	eax, eax
	call	nlmsg_put@PLT
	mov	r14d, DWORD PTR EMSGSIZE[rip]
	neg	r14d
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	r13, rax
	call	nlmsg_data@PLT
	mov	rsi, rsp
	mov	rdi, rbx
	mov	DWORD PTR [rax], ebp
	lea	rbp, 16[rbx]
	call	xfrm_spd_getinfo@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 88[rsp], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	read_seqbegin@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 128[rsp], rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 176[rsp], rax
	call	read_seqretry@PLT
	test	rax, rax
	jne	.L4
	mov	esi, DWORD PTR XFRMA_SPD_INFO[rip]
	lea	rcx, 32[rsp]
	mov	edx, 40
	mov	rdi, r12
	call	nla_put@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L11
.L5:
	mov	rsi, r13
	mov	rdi, r12
	call	nlmsg_cancel@PLT
.L1:
	mov	rax, QWORD PTR 216[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 224
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r14d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR XFRMA_SPD_HINFO[rip]
	lea	rcx, 80[rsp]
	mov	edx, 40
	mov	rdi, r12
	call	nla_put@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	esi, DWORD PTR XFRMA_SPD_IPV4_HTHRESH[rip]
	lea	rcx, 128[rsp]
	mov	edx, 40
	mov	rdi, r12
	call	nla_put@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	esi, DWORD PTR XFRMA_SPD_IPV6_HTHRESH[rip]
	lea	rcx, 176[rsp]
	mov	edx, 40
	mov	rdi, r12
	call	nla_put@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	rsi, r13
	mov	rdi, r12
	call	nlmsg_end@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_spdinfo, .-build_spdinfo
	.comm	XFRM_MSG_NEWSPDINFO,4,4
	.comm	XFRMA_SPD_IPV6_HTHRESH,4,4
	.comm	XFRMA_SPD_IPV4_HTHRESH,4,4
	.comm	XFRMA_SPD_INFO,4,4
	.comm	XFRMA_SPD_HINFO,4,4
	.comm	EMSGSIZE,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_xfrm_user.c_build_spdinfo.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_spdinfo, %function
build_spdinfo:
	@ args = 4, pretend = 0, frame = 200
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	ip, #4
	mov	lr, #0
	mov	r5, r2
	sub	sp, sp, #212
	mov	r2, r3
	ldr	r3, .L14
	str	ip, [sp]
	str	lr, [sp, #4]
	ldr	ip, .L14+4
	mov	r4, r1
	ldr	r3, [r3]
	mov	r1, r5
	ldr	ip, [ip]
	str	ip, [sp, #204]
	mov	ip,#0
	mov	r6, r0
	bl	nlmsg_put
	subs	r7, r0, #0
	beq	.L11
	bl	nlmsg_data
	ldr	r3, [sp, #232]
	add	r1, sp, #12
	str	r3, [r0]
	mov	r0, r4
	bl	xfrm_spd_getinfo
	ldr	r2, [sp, #40]
	ldr	r3, [sp, #36]
	ldr	r1, [sp, #32]
	str	r2, [sp, #80]
	str	r3, [sp, #76]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	str	r1, [sp, #72]
	str	r2, [sp, #68]
	ldr	r1, [sp, #20]
	ldr	r2, [sp, #16]
	str	r3, [sp, #64]
	ldr	r3, [sp, #12]
	str	r1, [sp, #60]
	str	r2, [sp, #96]
	str	r3, [sp, #92]
	add	r5, r4, #16
.L4:
	mov	r0, r5
	bl	read_seqbegin
	ldmib	r4, {r2, ip, lr}
	ldr	r3, [r4]
	mov	r1, r0
	mov	r0, r5
	str	lr, [sp, #128]
	str	ip, [sp, #124]
	str	r2, [sp, #168]
	str	r3, [sp, #164]
	bl	read_seqretry
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L14+8
	mov	r0, r6
	ldr	r1, [r2]
	add	r3, sp, #44
	mov	r2, #40
	bl	nla_put
	subs	r4, r0, #0
	beq	.L12
.L5:
	mov	r1, r7
	mov	r0, r6
	bl	nlmsg_cancel
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #204]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #212
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r2, .L14+12
	mov	r0, r6
	ldr	r1, [r2]
	add	r3, sp, #84
	mov	r2, #40
	bl	nla_put
	subs	r4, r0, #0
	bne	.L5
	ldr	r2, .L14+16
	mov	r0, r6
	ldr	r1, [r2]
	add	r3, sp, #124
	mov	r2, #40
	bl	nla_put
	subs	r4, r0, #0
	bne	.L5
	ldr	r2, .L14+20
	mov	r0, r6
	ldr	r1, [r2]
	add	r3, sp, #164
	mov	r2, #40
	bl	nla_put
	subs	r4, r0, #0
	bne	.L5
	mov	r1, r7
	mov	r0, r6
	bl	nlmsg_end
	b	.L1
.L11:
	ldr	r3, .L14+24
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	XFRM_MSG_NEWSPDINFO
	.word	.LC0
	.word	XFRMA_SPD_INFO
	.word	XFRMA_SPD_HINFO
	.word	XFRMA_SPD_IPV4_HTHRESH
	.word	XFRMA_SPD_IPV6_HTHRESH
	.word	EMSGSIZE
	.size	build_spdinfo, .-build_spdinfo
	.comm	XFRM_MSG_NEWSPDINFO,4,4
	.comm	XFRMA_SPD_IPV6_HTHRESH,4,4
	.comm	XFRMA_SPD_IPV4_HTHRESH,4,4
	.comm	XFRMA_SPD_INFO,4,4
	.comm	XFRMA_SPD_HINFO,4,4
	.comm	EMSGSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
