	.file	"extr_remote.c_perform_zone_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"error not a zone type. %s\n"
.LC1:
	.string	"error out of memory\n"
	.text
	.p2align 4
	.type	perform_zone_add, @function
perform_zone_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rsi, r12
	mov	rbp, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rdx, 32[rsp]
	call	find_arg2@PLT
	test	eax, eax
	jne	.L2
.L4:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
	lea	rcx, 24[rsp]
	lea	rdx, 16[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	lea	r8, 8[rsp]
	call	parse_arg_name@PLT
	test	eax, eax
	je	.L4
	mov	rdi, QWORD PTR 32[rsp]
	lea	rsi, 12[rsp]
	call	local_zone_str2type@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
	mov	rdi, r13
	call	lock_rw_wrlock@PLT
	mov	r8d, DWORD PTR LDNS_RR_CLASS_IN[rip]
	mov	ecx, DWORD PTR 8[rsp]
	mov	rdi, r13
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	call	local_zones_find@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	lea	rbp, 4[rax]
	mov	rdi, rbp
	call	lock_rw_wrlock@PLT
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, rbp
	mov	DWORD PTR [r12], eax
	mov	r12d, 1
	call	lock_rw_unlock@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	mov	rdi, r13
	call	lock_rw_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, QWORD PTR 32[rsp]
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	ssl_printf@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r9d, DWORD PTR 12[rsp]
	mov	r8d, DWORD PTR LDNS_RR_CLASS_IN[rip]
	mov	rdi, r13
	mov	ecx, DWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	call	local_zones_add_zone@PLT
	mov	rdi, r13
	mov	r12d, eax
	test	eax, eax
	je	.L16
	call	lock_rw_unlock@PLT
	mov	r12d, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	call	lock_rw_unlock@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ssl_printf@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	perform_zone_add, .-perform_zone_add
	.comm	LDNS_RR_CLASS_IN,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_remote.c_perform_zone_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error not a zone type. %s\012\000"
	.align	2
.LC1:
	.ascii	"error out of memory\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	perform_zone_add, %function
perform_zone_add:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	sub	sp, sp, #36
	mov	r4, r2
	mov	r6, r1
	mov	r1, r2
	add	r2, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	find_arg2
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r4, #0
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	add	r3, sp, #12
	str	r3, [sp]
	mov	r1, r4
	mov	r0, r5
	add	r3, sp, #16
	add	r2, sp, #8
	bl	parse_arg_name
	cmp	r0, #0
	beq	.L4
	ldr	r0, [sp, #20]
	add	r1, sp, #24
	bl	local_zone_str2type
	subs	r4, r0, #0
	beq	.L15
	ldr	r7, .L17+4
	mov	r0, r6
	bl	lock_rw_wrlock
	ldr	r2, [r7]
	mov	r0, r6
	str	r2, [sp]
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #8]
	bl	local_zones_find
	subs	r4, r0, #0
	beq	.L6
	add	r5, r4, #4
	mov	r0, r5
	bl	lock_rw_wrlock
	ldr	r3, [sp, #24]
	mov	r0, r5
	str	r3, [r4]
	bl	lock_rw_unlock
	ldr	r0, [sp, #8]
	bl	free
	mov	r0, r6
	bl	lock_rw_unlock
	mov	r4, #1
	b	.L1
.L15:
	mov	r0, r5
	ldr	r2, [sp, #20]
	ldr	r1, .L17+8
	bl	ssl_printf
	ldr	r0, [sp, #8]
	bl	free
	b	.L1
.L6:
	ldr	r2, [r7]
	ldr	r3, [sp, #24]
	mov	r0, r6
	stm	sp, {r2, r3}
	ldr	r1, [sp, #8]
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	bl	local_zones_add_zone
	subs	r4, r0, #0
	mov	r0, r6
	beq	.L16
	bl	lock_rw_unlock
	mov	r4, #1
	b	.L1
.L16:
	bl	lock_rw_unlock
	mov	r0, r5
	ldr	r1, .L17+12
	bl	ssl_printf
	b	.L1
.L14:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	LDNS_RR_CLASS_IN
	.word	.LC0
	.word	.LC1
	.size	perform_zone_add, .-perform_zone_add
	.comm	LDNS_RR_CLASS_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
