	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decompress_rr_into_buffer
_decompress_rr_into_buffer:             ## @decompress_rr_into_buffer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdi, %r14
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sldns_buffer_init_frm_data
	movq	%r14, %rdi
	callq	_sldns_buffer_clear
	movq	%rbx, %rdi
	callq	_sldns_buffer_current
	movq	%r12, %rsi
	subq	%rax, %rsi
	sarq	$2, %rsi
	movq	%rbx, %rdi
	callq	_sldns_buffer_set_position
	movq	%rbx, %rdi
	callq	_pkt_dname_len
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sldns_buffer_available
	testl	%eax, %eax
	je	LBB0_26
## %bb.2:
	movq	%r14, %rdi
	callq	_sldns_buffer_current
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_dname_pkt_copy
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_sldns_buffer_skip
	movl	$10, %esi
	movq	%r14, %rdi
	callq	_sldns_buffer_available
	testl	%eax, %eax
	je	LBB0_26
## %bb.3:
	movq	32(%rbp), %r15
	movq	24(%rbp), %r13
	movl	16(%rbp), %r12d
	movq	%r14, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sldns_buffer_write_u16
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_sldns_buffer_write_u16
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_sldns_buffer_write_u32
	movq	%r14, %rdi
	callq	_sldns_buffer_position
	movq	%rax, %r12
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u16
	movq	%rbx, %rdi
	callq	_sldns_rr_descript
	testq	%r15, %r15
	je	LBB0_20
## %bb.4:
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_22
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_22
## %bb.7:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%r12), %edi
	cmpl	$128, %edi
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$129, %edi
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_sldns_buffer_begin
	cltq
	shlq	$2, %rax
	movq	%r13, %rbx
	subq	%rax, %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_sldns_buffer_set_position
	movq	%r15, %rdi
	callq	_sldns_buffer_position
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_pkt_dname_len
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sldns_buffer_available
	testl	%eax, %eax
	je	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_sldns_buffer_current
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_dname_pkt_copy
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %r13
	callq	_sldns_buffer_skip
	movq	%r15, %rdi
	callq	_sldns_buffer_position
	subq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	leaq	(%rbx,%rax,4), %r13
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	subq	%rax, %r15
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	decl	%ecx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	(%r13), %rbx
	incq	%rbx
	testq	%rbx, %rbx
	jne	LBB0_15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, %rbx
	callq	_get_rdf_size
	movq	%rbx, %rcx
	movq	%rax, %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sldns_buffer_available
	testl	%eax, %eax
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_sldns_buffer_write
	leaq	(%r13,%rbx,4), %r13
	subq	%rbx, %r15
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	testq	%r15, %r15
	je	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %r12
	testl	%ecx, %ecx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_8
	jmp	LBB0_21
LBB0_20:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
LBB0_21:
	testq	%r15, %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_24
LBB0_22:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sldns_buffer_available
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_sldns_buffer_write
LBB0_24:
	movq	%r14, %rdi
	callq	_sldns_buffer_position
	subq	%r12, %rax
	leaq	-2(%rax), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_sldns_buffer_write_u16_at
	movq	%r14, %rdi
	callq	_sldns_buffer_flip
	movl	$1, %r15d
	jmp	LBB0_26
LBB0_25:
	xorl	%r15d, %r15d
LBB0_26:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decompress_rr_into_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decompress_rr_into_buffer
_decompress_rr_into_buffer:             ; @decompress_rr_into_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x22, x6
	mov	x24, x5
	mov	x23, x4
	mov	x21, x3
	mov	x19, x0
	add	x0, sp, #8
	bl	_sldns_buffer_init_frm_data
	mov	x0, x19
	bl	_sldns_buffer_clear
	add	x0, sp, #8
	bl	_sldns_buffer_current
	sub	x8, x21, x0
	asr	x1, x8, #2
	add	x0, sp, #8
	bl	_sldns_buffer_set_position
	add	x0, sp, #8
	bl	_pkt_dname_len
	cbz	x0, LBB0_23
; %bb.1:
	mov	x25, x0
	mov	x0, x19
	mov	x1, x25
	bl	_sldns_buffer_available
	cbz	w0, LBB0_23
; %bb.2:
	mov	x0, x19
	bl	_sldns_buffer_current
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x21
	bl	_dname_pkt_copy
	mov	x0, x19
	mov	x1, x25
	bl	_sldns_buffer_skip
	mov	x0, x19
	mov	w1, #10
	bl	_sldns_buffer_available
	cbz	w0, LBB0_23
; %bb.3:
	ldr	x21, [x29, #16]
	mov	x0, x19
	mov	x1, x23
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	mov	x1, x24
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	mov	x1, x22
	bl	_sldns_buffer_write_u32
	mov	x0, x19
	bl	_sldns_buffer_position
	mov	x22, x0
	mov	x0, x19
	mov	x1, #0
	bl	_sldns_buffer_write_u16
	mov	x0, x23
	bl	_sldns_rr_descript
	cbz	x21, LBB0_19
; %bb.4:
	mov	x23, x0
	cbz	x0, LBB0_19
; %bb.5:
	ldr	x26, [x23]
	cmp	x26, #1
	b.lt	LBB0_20
; %bb.6:
	cbz	w26, LBB0_20
; %bb.7:
	mov	x27, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	w0, [x8, x27]
	cmp	w0, #128
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #8
	bl	_sldns_buffer_begin
	sub	x1, x20, w0, sxtw #2
	add	x0, sp, #8
	bl	_sldns_buffer_set_position
	add	x0, sp, #8
	bl	_sldns_buffer_position
	mov	x24, x0
	add	x0, sp, #8
	bl	_pkt_dname_len
	cbz	x0, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	mov	x0, x19
	mov	x1, x25
	bl	_sldns_buffer_available
	cbz	w0, LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_sldns_buffer_current
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x20
	bl	_dname_pkt_copy
	mov	x0, x19
	mov	x1, x25
	bl	_sldns_buffer_skip
	add	x0, sp, #8
	bl	_sldns_buffer_position
	sub	x8, x0, x24
	sub	x21, x21, x8
	add	x20, x20, x8, lsl #2
	sub	w26, w26, #1
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x20]
	add	x24, x8, #1
	cbnz	x24, LBB0_15
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_get_rdf_size
	mov	x24, x0
	cbz	x24, LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_sldns_buffer_available
	cbz	w0, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_sldns_buffer_write
	add	x20, x20, x24, lsl #2
	sub	x21, x21, x24
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x21, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x27, x27, #4
	cbnz	w26, LBB0_8
LBB0_19:
	cbz	x21, LBB0_22
LBB0_20:
	mov	x0, x19
	mov	x1, x21
	bl	_sldns_buffer_available
	cbz	w0, LBB0_23
; %bb.21:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_sldns_buffer_write
LBB0_22:
	mov	x0, x19
	bl	_sldns_buffer_position
	sub	x8, x0, x22
	sub	x2, x8, #2
	mov	x0, x19
	mov	x1, x22
	bl	_sldns_buffer_write_u16_at
	mov	x0, x19
	bl	_sldns_buffer_flip
	mov	w0, #1
LBB0_23:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decompress_rr_into_buffer
.subsections_via_symbols
