	.file	"extr_val_kentry.c_key_entry_create_rrset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	key_entry_create_rrset
	.type	key_entry_create_rrset, @function
key_entry_create_rrset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 8[r8]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r9, 16[rsp]
	lea	r8, 8[rsp]
	call	key_entry_setup@PLT
	test	eax, eax
	je	.L4
	mov	r14, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 80[rsp]
	add	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 40[r14], rax
	mov	QWORD PTR 32[r14], 0
	mov	QWORD PTR 24[r14], 0
	call	ntohs@PLT
	mov	rdi, r13
	mov	DWORD PTR 16[r14], eax
	call	packed_rrset_sizeof@PLT
	mov	rdi, rbp
	mov	rsi, r13
	mov	edx, eax
	call	regional_alloc_init@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, rax
	mov	QWORD PTR [rdx], rax
	test	rax, rax
	je	.L4
	test	r12, r12
	je	.L5
	mov	rsi, r12
	mov	rdi, rbp
	call	regional_strdup@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rdx], rax
	test	rax, rax
	je	.L4
	mov	rdi, QWORD PTR [rdx]
.L6:
	call	packed_rrset_ptr_fixup@PLT
	mov	rax, QWORD PTR 8[rsp]
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
.L5:
	.cfi_restore_state
	mov	QWORD PTR 8[rdx], 0
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	key_entry_create_rrset, .-key_entry_create_rrset
	.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_val_kentry.c_key_entry_create_rrset.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	key_entry_create_rrset
	.syntax unified
	.arm
	.fpu softvfp
	.type	key_entry_create_rrset, %function
key_entry_create_rrset:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #24
	add	lr, sp, #16
	add	ip, sp, #12
	stm	sp, {ip, lr}
	ldr	r8, [sp, #48]
	ldr	ip, .L17
	mov	r4, r0
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	ldr	r6, [r8, #4]
	ldr	r7, [sp, #52]
	bl	key_entry_setup
	cmp	r0, #0
	beq	.L4
	mov	r2, #0
	ldr	r3, [r6]
	ldr	r1, [sp, #56]
	ldr	r5, [sp, #16]
	add	r3, r3, r1
	ldr	r0, [r8]
	str	r2, [r5, #16]
	str	r2, [r5, #12]
	str	r3, [r5, #20]
	bl	ntohs
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #8]
	bl	packed_rrset_sizeof
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	regional_alloc_init
	ldr	r3, [sp, #16]
	cmp	r0, #0
	str	r0, [r3]
	beq	.L4
	cmp	r7, #0
	beq	.L5
	mov	r1, r7
	mov	r0, r4
	bl	regional_strdup
	ldr	r3, [sp, #16]
	cmp	r0, #0
	str	r0, [r3, #4]
	beq	.L4
	ldr	r0, [r3]
.L6:
	bl	packed_rrset_ptr_fixup
	ldr	r0, [sp, #12]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	str	r7, [r3, #4]
	b	.L6
.L4:
	mov	r0, #0
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	key_entry_create_rrset, .-key_entry_create_rrset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
