	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_str_scan        ## -- Begin function sldns_wire2str_str_scan
	.p2align	4, 0x90
_sldns_wire2str_str_scan:               ## @sldns_wire2str_str_scan
	.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	(%rsi), %rax
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r9
	movq	(%rdi), %r8
	movq	(%r8), %r15
	leaq	1(%r15), %rdx
	cmpq	%rdx, %rax
	jb	LBB0_7
## %bb.2:
	addq	$8, %r8
	movq	%rdi, %r13
	movq	%r8, (%rdi)
	decq	%rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rsi)
	leaq	L_.str(%rip), %rdx
	movq	%r9, %r14
	movq	%r9, %rdi
	movq	%rcx, %r12
	movq	%rcx, %rsi
	callq	_sldns_str_print
	movq	%rax, %rbx
	movq	%r15, %rax
	testq	%r15, %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	xorl	%r15d, %r15d
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_str_char_print
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	incq	%r15
	cmpq	%r15, %r13
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movq	%rax, %r13
LBB0_6:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_sldns_str_print
	leaq	(,%r13,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, (%rdx)
	addl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	%r13, (%rax)
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_str_scan        ; -- Begin function sldns_wire2str_str_scan
	.p2align	2
_sldns_wire2str_str_scan:               ; @sldns_wire2str_str_scan
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x9, [x0]
	ldr	x24, [x9]
	add	x10, x24, #1
	cmp	x8, x10
	b.hs	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_7
LBB0_3:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	add	x9, x9, #8
	str	x9, [x20]
	sub	x8, x8, #1
	str	x8, [x1]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x3
	bl	_sldns_str_print
	mov	x23, x0
	cbz	x24, LBB0_6
; %bb.4:
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x2, [x8, x25, lsl #3]
	mov	x0, x22
	mov	x1, x21
	bl	_str_char_print
	add	x23, x0, w23, sxtw
	add	x25, x25, #1
	cmp	x24, x25
	b.ne	LBB0_5
LBB0_6:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_sldns_str_print
	add	w0, w0, w23
	ldr	x8, [x20]
	add	x8, x8, x24, lsl #3
	str	x8, [x20]
	ldr	x8, [x19]
	sub	x8, x8, x24
	str	x8, [x19]
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\""

.subsections_via_symbols
