	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_rdf_reverse_a
_ldns_rdf_reverse_a:                    ## @ldns_rdf_reverse_a
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	_LDNS_IP4ADDRLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leal	(%rax,%rcx,4), %edi
	incl	%edi
	callq	_alloca
	movq	%rax, %rbx
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	movl	$-1, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_rdf_data
	movq	_LDNS_IP4ADDRLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%r15d, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,8), %edx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r12d
	incl	%r13d
	movslq	%r12d, %r12
	decl	%r15d
	movq	_LDNS_IP4ADDRLEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movq	%rbx, %rdi
	addq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ldns_dname_new_frm_str         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_IP4ADDRLEN,4,2            ## @LDNS_IP4ADDRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d."

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	_ldns_rdf_reverse_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_rdf_reverse_a
_ldns_rdf_reverse_a:                    ; @ldns_rdf_reverse_a
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_strlen
Lloh0:
	adrp	x24, _LDNS_IP4ADDRLEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LDNS_IP4ADDRLEN@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w0, w8, lsl #2
	add	w0, w8, #1
	bl	_alloca
	mov	x20, x0
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
	mov	w26, #0
	mov	w27, #-1
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x20, x25
	mov	x0, x21
	bl	_ldns_rdf_data
	ldr	w8, [x24]
	add	w8, w27, w8
	ldr	x8, [x0, w8, sxtw #3]
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x22
	bl	_sprintf
	add	w8, w0, w25
	add	w26, w26, #1
	sxtw	x25, w8
	ldr	w8, [x24]
	sub	w27, w27, #1
	cmp	w26, w8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x25, #0
LBB0_4:
	add	x0, x20, x25
	str	x19, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	mov	x0, x20
	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
	b	_ldns_dname_new_frm_str
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_IP4ADDRLEN,4,2            ; @LDNS_IP4ADDRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d."

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	_ldns_rdf_reverse_a
.subsections_via_symbols
