	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdata_copy
_rdata_copy:                            ## @rdata_copy
	.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	%r9, %rbx
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rdi
	callq	_sldns_read_uint32
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovgl	%eax, %r14d
	movl	%r14d, (%r15)
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	16(%rbp), %rax
	movq	_LDNS_SECTION_AUTHORITY@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_7
## %bb.2:
	movq	%r12, %rdi
	callq	_soa_find_minttl
	cmpl	%eax, %r14d
	jle	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_soa_find_minttl
	movl	%eax, %r14d
	movl	%eax, (%r15)
	jmp	LBB0_5
LBB0_3:
	movl	(%r15), %r14d
LBB0_5:
	movq	_MAX_NEG_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jle	LBB0_7
## %bb.6:
	movl	%eax, (%r15)
	movl	%eax, %r14d
LBB0_7:
	movq	_MIN_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jge	LBB0_9
## %bb.8:
	movl	%eax, (%r15)
	movl	%eax, %r14d
LBB0_9:
	movq	_MAX_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jle	LBB0_11
## %bb.10:
	movl	%eax, (%r15)
	movl	%eax, %r14d
LBB0_11:
	cmpl	(%r13), %r14d
	jge	LBB0_13
## %bb.12:
	movl	%r14d, (%r13)
LBB0_13:
	cmpq	$0, 16(%r12)
	movq	(%r12), %rbx
	je	LBB0_15
## %bb.14:
	addq	$32, %rbx
	movq	8(%r12), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
LBB0_34:
	callq	_memmove
LBB0_35:
	movl	$1, %eax
LBB0_36:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_sldns_buffer_begin
	subq	%rax, %rbx
	sarq	$3, %rbx
	addq	$4, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sldns_buffer_set_position
	movq	8(%r12), %rdi
	addq	$-2, %rdi
	callq	_htons
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_memmove
	movq	%r15, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, -48(%rbp)
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	-48(%rbp), %rcx
	jl	LBB0_36
## %bb.16:
	addq	$8, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_sldns_rr_descript
	movq	-48(%rbp), %r14
	testq	%r14, %r14
	jle	LBB0_32
## %bb.17:
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_32
## %bb.18:
	movq	(%rcx), %r12
	testq	%r12, %r12
	jle	LBB0_33
## %bb.19:
	testl	%r12d, %r12d
	je	LBB0_33
## %bb.20:
	xorl	%r13d, %r13d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rax
	movl	(%rax,%r13), %edi
	cmpl	$128, %edi
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$129, %edi
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_sldns_buffer_position
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_sldns_buffer_current
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_dname_pkt_copy
	movq	%r15, %rdi
	callq	_pkt_dname_len
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movq	%r15, %rdi
	callq	_sldns_buffer_position
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %r14
	addq	-48(%rbp), %r14
	movq	%r14, -48(%rbp)
	decl	%r12d
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sldns_buffer_current
	movq	(%rax), %r15
	incq	%r15
	testq	%r15, %r15
	je	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_sldns_buffer_current
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_memmove
	leaq	(%rbx,%r15,4), %rbx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sldns_buffer_skip
	xorl	%edi, %edi
	cmpq	-48(%rbp), %r15
	setbe	%dil
	callq	_log_assert
	movq	-48(%rbp), %r14
	subq	%r15, %r14
	movq	%r14, -48(%rbp)
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	callq	_get_rdf_size
	movq	%rax, %r15
	testq	%r15, %r15
	jne	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-48(%rbp), %r14
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	testq	%r14, %r14
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=1
	addq	$4, %r13
	testl	%r12d, %r12d
	jne	LBB0_21
LBB0_32:
	testq	%r14, %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_35
LBB0_33:
	movq	%r15, %rdi
	callq	_sldns_buffer_current
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_SOA,8,3           ## @LDNS_RR_TYPE_SOA
	.comm	_LDNS_SECTION_AUTHORITY,8,3     ## @LDNS_SECTION_AUTHORITY
	.comm	_MAX_NEG_TTL,4,2                ## @MAX_NEG_TTL
	.comm	_MIN_TTL,4,2                    ## @MIN_TTL
	.comm	_MAX_TTL,4,2                    ## @MAX_TTL
	.no_dead_strip	_rdata_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdata_copy
_rdata_copy:                            ; @rdata_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x26, x6
	mov	x21, x5
	mov	x24, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x0, [x3]
	bl	_sldns_read_uint32
	cmp	w0, #0
	csel	w25, w0, wzr, gt
	str	w25, [x24]
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _LDNS_SECTION_AUTHORITY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDNS_SECTION_AUTHORITY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x21
	ccmp	x9, x26, #0, eq
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x22
	bl	_soa_find_minttl
	cmp	w25, w0
	b.le	LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_soa_find_minttl
	mov	x25, x0
	str	w0, [x24]
	b	LBB0_4
LBB0_3:
	ldr	w25, [x24]
LBB0_4:
Lloh6:
	adrp	x8, _MAX_NEG_TTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_NEG_TTL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w25, w8
	b.le	LBB0_6
; %bb.5:
	str	w8, [x24]
	mov	x25, x8
LBB0_6:
Lloh9:
	adrp	x8, _MIN_TTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MIN_TTL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ge	LBB0_8
; %bb.7:
	str	w8, [x24]
	mov	x25, x8
LBB0_8:
Lloh12:
	adrp	x8, _MAX_TTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_TTL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w25, w8
	b.le	LBB0_10
; %bb.9:
	str	w8, [x24]
	mov	x25, x8
LBB0_10:
	ldr	w8, [x23]
	cmp	w25, w8
	b.ge	LBB0_12
; %bb.11:
	str	w25, [x23]
LBB0_12:
	ldr	x8, [x22, #16]
	ldr	x23, [x22]
	cbz	x8, LBB0_17
; %bb.13:
	add	x1, x23, #32
	ldr	x2, [x22, #8]
LBB0_14:
	mov	x0, x20
	bl	_memmove
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	mov	x0, x19
	bl	_sldns_buffer_begin
	sub	x8, x23, x0
	asr	x8, x8, #3
	add	x1, x8, #4
	mov	x0, x19
	bl	_sldns_buffer_set_position
	ldr	x8, [x22, #8]
	sub	x0, x8, #2
	bl	_htons
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #8
	bl	_memmove
	mov	x0, x19
	bl	_sldns_buffer_read_u16
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_sldns_buffer_remaining
	ldr	x8, [sp, #8]
	cmp	x0, x8
	b.ge	LBB0_19
; %bb.18:
	mov	w0, #0
	b	LBB0_16
LBB0_19:
	add	x20, x20, #8
	mov	x0, x21
	bl	_sldns_rr_descript
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_32
; %bb.20:
	mov	x21, x0
	cbz	x0, LBB0_32
; %bb.21:
	ldr	x23, [x21]
	cmp	x23, #1
	b.lt	LBB0_33
; %bb.22:
	cbz	w23, LBB0_33
; %bb.23:
	mov	x24, #0
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x24]
	cmp	w0, #128
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	cmp	w0, #129
	b.ne	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x19
	bl	_sldns_buffer_position
	mov	x22, x0
	mov	x0, x19
	bl	_sldns_buffer_current
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_dname_pkt_copy
	mov	x0, x19
	bl	_pkt_dname_len
	add	x20, x20, w0, sxtw #2
	mov	x0, x19
	bl	_sldns_buffer_position
	ldr	x8, [sp, #8]
	sub	x9, x22, x0
	add	x8, x9, x8
	str	x8, [sp, #8]
	sub	w23, w23, #1
	cmp	x8, #1
	b.ge	LBB0_31
	b	LBB0_32
LBB0_27:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x19
	bl	_sldns_buffer_current
	ldr	x8, [x0]
	add	x22, x8, #1
	cbz	x22, LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x19
	bl	_sldns_buffer_current
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_memmove
	add	x20, x20, x22, lsl #2
	mov	x0, x19
	mov	x1, x22
	bl	_sldns_buffer_skip
	ldr	x8, [sp, #8]
	cmp	x22, x8
	cset	w0, ls
	bl	_log_assert
	ldr	x8, [sp, #8]
	sub	x8, x8, x22
	str	x8, [sp, #8]
	cmp	x8, #1
	b.ge	LBB0_31
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_24 Depth=1
	bl	_get_rdf_size
	mov	x22, x0
	cbnz	x22, LBB0_28
LBB0_30:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x24, x24, #4
	cbnz	w23, LBB0_24
LBB0_32:
	cmp	x8, #1
	b.lt	LBB0_15
LBB0_33:
	mov	x0, x19
	bl	_sldns_buffer_current
	mov	x1, x0
	ldr	x2, [sp, #8]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_SOA,8,3           ; @LDNS_RR_TYPE_SOA
	.comm	_LDNS_SECTION_AUTHORITY,8,3     ; @LDNS_SECTION_AUTHORITY
	.comm	_MAX_NEG_TTL,4,2                ; @MAX_NEG_TTL
	.comm	_MIN_TTL,4,2                    ; @MIN_TTL
	.comm	_MAX_TTL,4,2                    ; @MAX_TTL
	.no_dead_strip	_rdata_copy
.subsections_via_symbols
