	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_rr2buffer_str_rfc3597
_ldns_rr2buffer_str_rfc3597:            ## @ldns_rr2buffer_str_rfc3597
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ldns_rr_get_type
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ldns_buffer_printf
	movq	%r13, %rdi
	callq	_ldns_rr_rd_count
	leaq	L_.str.1(%rip), %r15
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf_size
	addq	%rax, %r12
	incq	%rbx
	movq	%r13, %rdi
	callq	_ldns_rr_rd_count
	cmpq	%rax, %rbx
	jb	LBB0_2
## %bb.3:
	testq	%r12, %r12
	je	LBB0_11
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_ldns_buffer_printf
	movq	%r13, %rdi
	callq	_ldns_rr_rd_count
	leaq	L_.str.4(%rip), %r15
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	leaq	L_.str.3(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_ldns_rr_rd_count
	cmpq	%rax, %rbx
	jae	LBB0_10
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf_size
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf_data
	movl	(%rax,%r15,4), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_ldns_buffer_printf
	incq	%r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf_size
	cmpq	%rax, %r15
	jb	LBB0_8
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str.4(%rip), %r15
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_ldns_buffer_printf
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ldns_buffer_status             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TYPE%u\t"

L_.str.1:                               ## @.str.1
	.asciz	"\\# 0\n"

L_.str.2:                               ## @.str.2
	.asciz	"\\# %d "

L_.str.3:                               ## @.str.3
	.asciz	"%.2x"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_ldns_rr2buffer_str_rfc3597
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_rr2buffer_str_rfc3597
_ldns_rr2buffer_str_rfc3597:            ; @ldns_rr2buffer_str_rfc3597
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ldns_rr_get_type
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ldns_buffer_printf
	mov	x0, x20
	bl	_ldns_rr_rd_count
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ldns_rr_rdf
	bl	_ldns_rdf_size
	add	x22, x0, x22
	add	x21, x21, #1
	mov	x0, x20
	bl	_ldns_rr_rd_count
	cmp	x21, x0
	b.lo	LBB0_2
; %bb.3:
	cbz	x22, LBB0_10
; %bb.4:
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ldns_buffer_printf
	mov	x0, x20
	bl	_ldns_rr_rd_count
	cbz	x0, LBB0_11
; %bb.5:
	mov	x22, #0
Lloh4:
	adrp	x21, l_.str.4@PAGE
Lloh5:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_ldns_rr_rd_count
	cmp	x22, x0
	b.hs	LBB0_12
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x20
	mov	x1, x22
	bl	_ldns_rr_rdf
	bl	_ldns_rdf_size
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, #0
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x22
	bl	_ldns_rr_rdf
	bl	_ldns_rdf_data
	ldr	w8, [x0, x24, lsl #2]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_ldns_buffer_printf
	add	x24, x24, #1
	mov	x0, x20
	mov	x1, x22
	bl	_ldns_rr_rdf
	bl	_ldns_rdf_size
	cmp	x24, x0
	b.lo	LBB0_9
	b	LBB0_6
LBB0_10:
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh10:
	adrp	x21, l_.str.4@PAGE
Lloh11:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_ldns_buffer_printf
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ldns_buffer_status
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TYPE%u\t"

l_.str.1:                               ; @.str.1
	.asciz	"\\# 0\n"

l_.str.2:                               ; @.str.2
	.asciz	"\\# %d "

l_.str.3:                               ; @.str.3
	.asciz	"%.2x"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_ldns_rr2buffer_str_rfc3597
.subsections_via_symbols
