	.file	"extr_authzone.c_xfr_process_chunk_list.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"http from %s: could not store data"
	.align 8
.LC1:
	.string	"xfr from %s: could not store IXFR data"
	.align 8
.LC2:
	.string	"xfr from %s: could not store AXFR data"
	.align 8
.LC3:
	.string	"xfr from %s: no SOA in zone after update (or malformed RR)"
	.align 8
.LC4:
	.string	"auth zone %s updated to serial %u"
	.text
	.p2align 4
	.type	xfr_process_chunk_list, @function
xfr_process_chunk_list:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 48[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, r14
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	sub	rsp, 272
	.cfi_def_cfa_offset 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 264[rsp], rax
	xor	eax, eax
	call	lock_basic_unlock@PLT
	mov	rdi, QWORD PTR 16[r13]
	call	lock_rw_rdlock@PLT
	mov	ecx, DWORD PTR 52[rbp]
	mov	edx, DWORD PTR 56[rbp]
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 16[r13]
	call	auth_zone_find@PLT
	test	rax, rax
	je	.L13
	mov	rdi, rax
	mov	r12, rax
	call	lock_rw_wrlock@PLT
	mov	rdi, r14
	call	lock_basic_lock@PLT
	mov	rdi, QWORD PTR 16[r13]
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	cmp	QWORD PTR 8[rdx], 0
	mov	edx, DWORD PTR 8[r13]
	jne	.L14
	cmp	QWORD PTR 16[rax], 0
	je	.L6
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L15
.L6:
	call	apply_axfr@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L16
.L5:
	mov	QWORD PTR 40[rbp], 0
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 8[r12], 0
	call	xfr_find_soa@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L17
	cmp	QWORD PTR 16[rbp], 0
	je	.L8
	mov	rax, QWORD PTR 0[r13]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 24[rbp], eax
.L8:
	mov	rdi, r12
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR VERB_QUERY[rip]
	cmp	QWORD PTR verbosity[rip], rax
	jl	.L9
	cmp	QWORD PTR 16[rbp], 0
	jne	.L18
.L9:
	mov	rsi, r13
	mov	rdi, rbp
	mov	r14d, 1
	call	xfr_write_after_update@PLT
.L1:
	mov	rax, QWORD PTR 264[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 272
	.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
.L14:
	.cfi_restore_state
	call	apply_http@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	rdi, r12
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR 32[rbp]
	movsx	rdi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR [rax]
	movsx	rdx, DWORD PTR [rax]
	xor	eax, eax
	call	verbose@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR 8[rbp]
	mov	r12, rsp
	mov	rsi, r12
	call	dname_str@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	rdx, r12
	xor	eax, eax
	mov	rdi, QWORD PTR VERB_QUERY[rip]
	lea	rsi, .LC4[rip]
	call	verbose@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 16[r13]
	call	lock_rw_unlock@PLT
	mov	rdi, r14
	xor	r14d, r14d
	call	lock_basic_lock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r12
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR 32[rbp]
	movsx	rdi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC3[rip]
	mov	rax, QWORD PTR [rax]
	movsx	rdx, DWORD PTR [rax]
	xor	eax, eax
	call	verbose@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	call	apply_ixfr@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	rdi, r12
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR 32[rbp]
	movsx	rdi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC1[rip]
	mov	rax, QWORD PTR [rax]
	movsx	rdx, DWORD PTR [rax]
	xor	eax, eax
	call	verbose@PLT
	mov	DWORD PTR [rbx], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r12
	call	lock_rw_unlock@PLT
	mov	rax, QWORD PTR 32[rbp]
	movsx	rdi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC2[rip]
	mov	rax, QWORD PTR [rax]
	movsx	rdx, DWORD PTR [rax]
	xor	eax, eax
	call	verbose@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xfr_process_chunk_list, .-xfr_process_chunk_list
	.comm	verbosity,8,8
	.comm	VERB_QUERY,8,8
	.comm	VERB_ALGO,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_authzone.c_xfr_process_chunk_list.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"http from %s: could not store data\000"
	.align	2
.LC1:
	.ascii	"xfr from %s: could not store IXFR data\000"
	.align	2
.LC2:
	.ascii	"xfr from %s: could not store AXFR data\000"
	.align	2
.LC3:
	.ascii	"xfr from %s: no SOA in zone after update (or malfor"
	.ascii	"med RR)\000"
	.align	2
.LC4:
	.ascii	"auth zone %s updated to serial %u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfr_process_chunk_list, %function
xfr_process_chunk_list:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r3, .L29
	add	r6, r0, #24
	sub	sp, sp, #264
	mov	r0, r6
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #260]
	mov	r3,#0
	bl	lock_basic_unlock
	ldr	r0, [r5, #8]
	bl	lock_rw_rdlock
	ldr	r3, [r4, #28]
	ldr	r2, [r4, #32]
	ldr	r1, [r4, #4]
	ldr	r0, [r5, #8]
	bl	auth_zone_find
	subs	r7, r0, #0
	beq	.L22
	bl	lock_rw_wrlock
	mov	r0, r6
	bl	lock_basic_lock
	ldr	r0, [r5, #8]
	bl	lock_rw_unlock
	ldr	r3, [r4, #16]
	ldr	r2, [r3]
	ldr	r2, [r2, #4]
	cmp	r2, #0
	bne	.L23
	ldr	r1, [r3, #8]
	mov	r0, r4
	cmp	r1, #0
	ldr	r2, [r5, #4]
	mov	r1, r7
	beq	.L6
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L24
.L6:
	bl	apply_axfr
	subs	r6, r0, #0
	beq	.L25
.L5:
	mov	r3, #0
	mov	r1, r4
	str	r3, [r4, #20]
	mov	r0, r7
	str	r3, [r7, #4]
	bl	xfr_find_soa
	subs	r6, r0, #0
	beq	.L26
	ldr	r3, [r4, #8]
	mov	r0, r7
	cmp	r3, #0
	ldrne	r3, [r5]
	ldr	r6, .L29+4
	ldrne	r3, [r3]
	strne	r3, [r4, #12]
	bl	lock_rw_unlock
	ldr	r2, .L29+8
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L27
.L9:
	mov	r1, r5
	mov	r0, r4
	bl	xfr_write_after_update
	mov	r6, #1
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #260]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, r6
	add	sp, sp, #264
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	mov	r1, r7
	mov	r0, r4
	ldr	r2, [r5, #4]
	bl	apply_http
	subs	r6, r0, #0
	bne	.L5
	mov	r0, r7
	bl	lock_rw_unlock
	ldr	r3, [r4, #16]
	ldr	r2, .L29+12
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, .L29+16
	ldr	r2, [r3]
	bl	verbose
	b	.L1
.L27:
	add	r1, sp, #4
	ldr	r0, [r4, #4]
	bl	dname_str
	ldr	r0, [r6]
	ldr	r3, [r4]
	ldr	r1, .L29+20
	add	r2, sp, #4
	bl	verbose
	b	.L9
.L22:
	ldr	r0, [r5, #8]
	bl	lock_rw_unlock
	mov	r0, r6
	bl	lock_basic_lock
	mov	r6, r7
	b	.L1
.L26:
	mov	r0, r7
	bl	lock_rw_unlock
	ldr	r3, [r4, #16]
	ldr	r2, .L29+12
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, .L29+24
	ldr	r2, [r3]
	bl	verbose
	b	.L1
.L24:
	bl	apply_ixfr
	subs	r6, r0, #0
	bne	.L5
	mov	r0, r7
	bl	lock_rw_unlock
	ldr	r3, [r4, #16]
	ldr	r2, .L29+12
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, .L29+28
	ldr	r2, [r3]
	bl	verbose
	mov	r3, #1
	str	r3, [r8]
	b	.L1
.L25:
	mov	r0, r7
	bl	lock_rw_unlock
	ldr	r3, [r4, #16]
	ldr	r2, .L29+12
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, .L29+32
	ldr	r2, [r3]
	bl	verbose
	b	.L1
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC5
	.word	VERB_QUERY
	.word	verbosity
	.word	VERB_ALGO
	.word	.LC0
	.word	.LC4
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	xfr_process_chunk_list, .-xfr_process_chunk_list
	.comm	verbosity,4,4
	.comm	VERB_QUERY,4,4
	.comm	VERB_ALGO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
