	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfr_create_ixfr_packet
_xfr_create_ixfr_packet:                ## @xfr_create_ixfr_packet
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	24(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %r13d
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	20(%rbx), %eax
	movl	%eax, -56(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -60(%rbp)
	movq	8(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 32(%rax)
	movl	$1, (%rax)
	movq	_LDNS_RR_TYPE_IXFR@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rcx, -72(%rbp)
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	jne	LBB0_3
## %bb.2:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jne	LBB0_4
LBB0_3:
	movq	_LDNS_RR_TYPE_AXFR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movq	$0, 8(%rax)
	movl	$0, (%rax)
LBB0_4:
	movl	4(%rbx), %eax
	movl	%eax, -64(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_qinfo_query_encode
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_sldns_buffer_write_u16_at
	movq	-72(%rbp), %rax
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_sldns_buffer_limit
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_sldns_buffer_clear
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_sldns_buffer_set_position
	movq	_LDNS_NSCOUNT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_sldns_buffer_write_u16_at
	movq	%r12, %rdi
	movl	$192, %esi
	callq	_sldns_buffer_write_u8
	movq	%r12, %rdi
	movl	$12, %esi
	callq	_sldns_buffer_write_u8
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sldns_buffer_write_u16
	movl	-64(%rbp), %esi
	movq	%r12, %rdi
	callq	_sldns_buffer_write_u16
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	movl	$22, %esi
	callq	_sldns_buffer_write_u16
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u8
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u8
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u32
	movq	%r12, %rdi
	callq	_sldns_buffer_flip
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_IXFR,8,3          ## @LDNS_RR_TYPE_IXFR
	.comm	_LDNS_RR_TYPE_AXFR,8,3          ## @LDNS_RR_TYPE_AXFR
	.comm	_LDNS_NSCOUNT_OFF,4,2           ## @LDNS_NSCOUNT_OFF
	.comm	_LDNS_RR_TYPE_SOA,4,2           ## @LDNS_RR_TYPE_SOA
	.no_dead_strip	_xfr_create_ixfr_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfr_create_ixfr_packet
_xfr_create_ixfr_packet:                ; @xfr_create_ixfr_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w25, [x0]
	ldr	w20, [x0, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	d0, [x22, #16]
	stur	d0, [sp, #20]
	ldr	x8, [x22, #8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #16]
	mov	w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x24, _LDNS_RR_TYPE_IXFR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LDNS_RR_TYPE_IXFR@GOTPAGEOFF]
	ldr	x9, [x24]
	str	x9, [sp, #8]
	cbz	w25, LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_3
; %bb.2:
	ldr	w9, [x23]
	cbnz	w9, LBB0_4
LBB0_3:
Lloh2:
	adrp	x9, _LDNS_RR_TYPE_AXFR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LDNS_RR_TYPE_AXFR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [sp, #8]
	str	xzr, [x8, #8]
	str	wzr, [x8]
LBB0_4:
	ldr	w8, [x22, #4]
	str	w8, [sp, #16]
	add	x1, sp, #8
	mov	x0, x19
	bl	_qinfo_query_encode
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_sldns_buffer_write_u16_at
	ldr	x8, [sp, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_sldns_buffer_limit
	mov	x21, x0
	mov	x0, x19
	bl	_sldns_buffer_clear
	mov	x0, x19
	mov	x1, x21
	bl	_sldns_buffer_set_position
Lloh5:
	adrp	x8, _LDNS_NSCOUNT_OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_NSCOUNT_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_sldns_buffer_write_u16_at
	mov	x0, x19
	mov	w1, #192
	bl	_sldns_buffer_write_u8
	mov	x0, x19
	mov	w1, #12
	bl	_sldns_buffer_write_u8
Lloh8:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sldns_buffer_write_u16
	ldr	w1, [sp, #16]
	mov	x0, x19
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	mov	w1, #22
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u8
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u8
	mov	x0, x19
	mov	x1, x20
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	bl	_sldns_buffer_flip
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_IXFR,8,3          ; @LDNS_RR_TYPE_IXFR
	.comm	_LDNS_RR_TYPE_AXFR,8,3          ; @LDNS_RR_TYPE_AXFR
	.comm	_LDNS_NSCOUNT_OFF,4,2           ; @LDNS_NSCOUNT_OFF
	.comm	_LDNS_RR_TYPE_SOA,4,2           ; @LDNS_RR_TYPE_SOA
	.no_dead_strip	_xfr_create_ixfr_packet
.subsections_via_symbols
