	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_rr_to_string            ## -- Begin function packed_rr_to_string
	.p2align	4, 0x90
_packed_rr_to_string:                   ## @packed_rr_to_string
	.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
	pushq	%rax
	movl	$262184, %eax                   ## imm = 0x40028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%r8, -262216(%rbp)              ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -262208(%rbp)             ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r12
	movslq	(%rdi), %rax
	movq	(%r12), %rcx
	movq	%rsi, -262200(%rbp)             ## 8-byte Spill
	movslq	(%rcx,%rsi,4), %rcx
	leaq	(%rax,%rcx), %r13
	addq	$8, %r13
	testq	%r8, %r8
	setne	%al
	testq	%r14, %r14
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_log_assert
	movq	%r13, -262224(%rbp)             ## 8-byte Spill
	cmpq	%rbx, %r13
	ja	LBB0_6
## %bb.1:
	movq	%r14, %rbx
	movq	16(%r15), %rsi
	movl	(%r15), %edx
	leaq	-262192(%rbp), %rdi
	callq	_memmove
	movslq	(%r15), %rax
	leaq	-262192(,%rax,4), %rdi
	addq	%rbp, %rdi
	movq	-262200(%rbp), %r14             ## 8-byte Reload
	cmpq	%r14, 8(%r12)
	jbe	LBB0_3
## %bb.2:
	leaq	8(%r15), %rsi
	movl	$2, %edx
	callq	_memmove
	jmp	LBB0_4
LBB0_3:
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sldns_write_uint16
LBB0_4:
	movslq	(%r15), %rax
	leaq	-262184(,%rax,4), %rdi
	addq	%rbp, %rdi
	leaq	4(%r15), %rsi
	movl	$2, %edx
	callq	_memmove
	movslq	(%r15), %rax
	leaq	-262176(,%rax,4), %rdi
	addq	%rbp, %rdi
	movq	24(%r12), %rax
	movl	(%rax,%r14,8), %esi
	subl	-262208(%rbp), %esi             ## 4-byte Folded Reload
	callq	_sldns_write_uint32
	movslq	(%r15), %rax
	leaq	-262160(,%rax,4), %rdi
	addq	%rbp, %rdi
	movq	(%r12), %rax
	movq	16(%r12), %rcx
	movq	(%rcx,%r14,8), %rsi
	movl	(%rax,%r14,4), %edx
	callq	_memmove
	leaq	-262192(%rbp), %rdi
	movq	-262224(%rbp), %rsi             ## 8-byte Reload
	movq	%rbx, %r15
	movq	%rbx, %rdx
	movq	-262216(%rbp), %rcx             ## 8-byte Reload
	callq	_sldns_wire2str_rr_buf
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$-1, %ecx
	jne	LBB0_7
## %bb.5:
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	callq	_log_info
	movq	%r15, %r14
LBB0_6:
	movb	$0, (%r14)
	xorl	%eax, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$262184, %rsp                   ## imm = 0x40028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ## @LDNS_RR_TYPE_RRSIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rrbuf failure %d %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_rr_to_string            ; -- Begin function packed_rr_to_string
	.p2align	2
_packed_rr_to_string:                   ; @packed_rr_to_string
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #16
	movk	w9, #4, lsl #16
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #64, lsl #12            ; =262144
	sub	sp, sp, #16
	mov	x21, x4
	mov	x19, x3
	mov	x24, x2
	mov	x20, x1
	mov	x23, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x25, [x0, #24]
	ldr	x8, [x25]
	ldrsw	x8, [x8, x1, lsl #2]
	ldrsw	x9, [x0]
	add	x8, x9, x8
	add	x22, x8, #8
	cmp	x3, #0
	ccmp	x4, #0, #4, ne
	cset	w0, ne
	bl	_log_assert
	cmp	x22, x21
	b.hi	LBB0_7
; %bb.1:
	ldr	x1, [x23, #16]
	ldr	w2, [x23]
	add	x26, sp, #12
	add	x0, sp, #12
	bl	_memmove
	ldr	x8, [x25, #8]
	ldrsw	x9, [x23]
	add	x0, x26, x9, lsl #2
	cmp	x8, x20
	b.ls	LBB0_3
; %bb.2:
	add	x1, x23, #8
	mov	w2, #2
	bl	_memmove
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_sldns_write_uint16
LBB0_4:
	ldrsw	x8, [x23]
	add	x26, sp, #12
	add	x8, x26, x8, lsl #2
	add	x0, x8, #8
	add	x1, x23, #4
	mov	w2, #2
	bl	_memmove
	ldrsw	x8, [x23]
	add	x8, x26, x8, lsl #2
	add	x0, x8, #16
	ldr	x8, [x25, #24]
	lsl	x27, x20, #3
	ldr	w8, [x8, x27]
	sub	w1, w8, w24
	bl	_sldns_write_uint32
	ldrsw	x8, [x23]
	add	x8, x26, x8, lsl #2
	add	x0, x8, #32
	ldr	x8, [x25, #16]
	ldr	x1, [x8, x27]
	ldr	x8, [x25]
	ldr	w2, [x8, x20, lsl #2]
	bl	_memmove
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_sldns_wire2str_rr_buf
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_8
LBB0_6:
	ldr	x8, [x25]
	ldr	w1, [x8, x20, lsl #2]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_log_info
LBB0_7:
	mov	w0, #0
	strb	wzr, [x19]
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #64, lsl #12            ; =262144
	add	sp, sp, #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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ; @LDNS_RR_TYPE_RRSIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rrbuf failure %d %s"

.subsections_via_symbols
