	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_axfr
_apply_axfr:                            ## @apply_axfr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_auth_data_del@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_traverse_postorder
	movq	_auth_data_cmp@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_rbtree_init
	movq	$0, (%r15)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	movq	%r15, %rdi
	callq	_chunk_rrlist_start
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi
	callq	_chunk_rrlist_end
	testl	%eax, %eax
	je	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi
	movq	-104(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-120(%rbp), %r9
	leaq	-112(%rbp), %rax
	pushq	%rax
	leaq	-88(%rbp), %rax
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	leaq	-68(%rbp), %rax
	pushq	%rax
	callq	_chunk_rrlist_get_current
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$7, (%rax)
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	-96(%rbp), %rdx
	movq	-64(%rbp), %rcx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %r8
	callq	_log_rrlist_position
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %r9
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r9
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rax
	cmpq	$22, %rax
	jl	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rcx
	leaq	(%rcx,%rax,4), %rdi
	addq	$-80, %rdi
	callq	_sldns_read_uint32
	movl	%eax, %r14d
	movq	-64(%rbp), %r9
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	-96(%rbp), %r8
	movl	-68(%rbp), %eax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r12, %rcx
	pushq	$0
	pushq	-80(%rbp)
	pushq	-88(%rbp)
	pushq	%rax
	pushq	-120(%rbp)
	callq	_az_insert_rr_decompress
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	-112(%rbp), %rcx
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	callq	_chunk_rrlist_gonext
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi
	callq	_chunk_rrlist_end
	testl	%eax, %eax
	je	LBB0_5
	jmp	LBB0_1
LBB0_16:
	movl	%r14d, 4(%r15)
	movl	$1, (%r15)
	movl	$1, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_auth_data_del,4,2              ## @auth_data_del
	.comm	_auth_data_cmp,4,2              ## @auth_data_cmp
	.comm	_verbosity,4,2                  ## @verbosity
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"apply_axfr"

	.comm	_LDNS_RR_TYPE_SOA,8,3           ## @LDNS_RR_TYPE_SOA
L_.str.1:                               ## @.str.1
	.asciz	"no end SOA record for AXFR"

	.no_dead_strip	_apply_axfr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_axfr
_apply_axfr:                            ; @apply_axfr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _auth_data_del@GOTPAGE
Lloh1:
	ldr	x8, [x8, _auth_data_del@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_traverse_postorder
Lloh3:
	adrp	x1, _auth_data_cmp@GOTPAGE
Lloh4:
	ldr	x1, [x1, _auth_data_cmp@GOTPAGEOFF]
	mov	x0, x21
	bl	_rbtree_init
	str	xzr, [x19]
	sub	x1, x29, #88
	sub	x2, x29, #92
	add	x3, sp, #88
	mov	x0, x19
	bl	_chunk_rrlist_start
	ldur	x0, [x29, #-88]
	ldur	w1, [x29, #-92]
	bl	_chunk_rrlist_end
	cbz	w0, LBB0_4
LBB0_1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_4:
	mov	x22, #0
	mov	w23, #0
	add	x25, sp, #32
	add	x26, sp, #72
Lloh7:
	adrp	x27, _verbosity@GOTPAGE
Lloh8:
	ldr	x27, [x27, _verbosity@GOTPAGEOFF]
Lloh9:
	adrp	x28, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh10:
	ldr	x28, [x28, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh11:
	adrp	x24, l_.str@PAGE
Lloh12:
	add	x24, x24, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x29, #-88]
	ldur	w1, [x29, #-92]
	ldr	x2, [sp, #88]
	stp	x26, x25, [sp]
	add	x3, sp, #80
	add	x4, sp, #64
	add	x5, sp, #56
	add	x6, sp, #44
	add	x7, sp, #48
	bl	_chunk_rrlist_get_current
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	cmp	w8, #7
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x1, [x29, #-88]
	ldr	x2, [sp, #80]
	ldr	x3, [sp, #64]
	mov	x0, x24
	mov	x4, x22
	bl	_log_rrlist_position
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x5, [sp, #64]
	ldr	x8, [x28]
	cmp	x5, x8
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x22, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #48]
	cmp	x8, #22
	b.lt	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #72]
	add	x8, x9, x8, lsl #2
	sub	x0, x8, #80
	bl	_sldns_read_uint32
	mov	x23, x0
	ldr	x5, [sp, #64]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x29, #-88]
	ldp	w2, w1, [x8]
	ldp	x8, x4, [sp, #72]
	ldp	x9, x6, [sp, #48]
	ldr	w7, [sp, #44]
	stp	x9, xzr, [sp, #8]
	str	x8, [sp]
	mov	x0, x21
	mov	x3, x20
	bl	_az_insert_rr_decompress
	cbz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	x3, [sp, #32]
	sub	x0, x29, #88
	sub	x1, x29, #92
	add	x2, sp, #88
	bl	_chunk_rrlist_gonext
	ldur	x0, [x29, #-88]
	ldur	w1, [x29, #-92]
	bl	_chunk_rrlist_end
	cbz	w0, LBB0_5
	b	LBB0_1
LBB0_14:
	mov	w0, #1
	stp	w0, w23, [x19]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_auth_data_del,4,2              ; @auth_data_del
	.comm	_auth_data_cmp,4,2              ; @auth_data_cmp
	.comm	_verbosity,4,2                  ; @verbosity
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"apply_axfr"

	.comm	_LDNS_RR_TYPE_SOA,8,3           ; @LDNS_RR_TYPE_SOA
l_.str.1:                               ; @.str.1
	.asciz	"no end SOA record for AXFR"

	.no_dead_strip	_apply_axfr
.subsections_via_symbols
