	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_b32_ext_scan    ## -- Begin function sldns_wire2str_b32_ext_scan
	.p2align	4, 0x90
_sldns_wire2str_b32_ext_scan:           ## @sldns_wire2str_b32_ext_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
	pushq	%rax
	.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_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rsi
	movq	(%rsi), %r12
	leaq	1(%r12), %r15
	cmpq	%r15, %rax
	jb	LBB0_6
## %bb.2:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rcx, %rbx
	callq	_sldns_b32_ntop_calculate_size
	movq	%rbx, %r8
	movq	%rax, %rbx
	movq	(%r8), %rcx
	movq	%rbx, %rax
	incq	%rax
	movq	(%r13), %rdi
	cmpq	%rax, %rcx
	jae	LBB0_4
## %bb.3:
	leaq	(%rdi,%r15,8), %rax
	movq	%rax, (%r13)
	jmp	LBB0_5
LBB0_4:
	addq	$8, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	%r12, %rsi
	movq	%r8, %r12
	callq	_sldns_b32_ntop_extended_hex
	leaq	(,%r15,8), %rax
	addq	%rax, (%r13)
	subq	%r15, (%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, (%rax)
	movq	%r12, %r14
	movq	%rbx, %r15
LBB0_5:
	subq	%r15, (%r14)
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_b32_ext_scan    ; -- Begin function sldns_wire2str_b32_ext_scan
	.p2align	2
_sldns_wire2str_b32_ext_scan:           ; @sldns_wire2str_b32_ext_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	x23, x0
	ldr	x9, [x0]
	ldr	x24, [x9]
	add	x25, x24, #1
	cmp	x8, x25
	b.hs	LBB0_3
LBB0_2:
	mov	w19, #-1
	b	LBB0_7
LBB0_3:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x0, x24
	bl	_sldns_b32_ntop_calculate_size
	mov	x19, x0
	ldr	x3, [x21]
	add	x9, x0, #1
	ldr	x8, [x23]
	cmp	x3, x9
	b.hs	LBB0_5
; %bb.4:
	add	x8, x8, x25, lsl #3
	str	x8, [x23]
	b	LBB0_6
LBB0_5:
	add	x0, x8, #8
	ldr	x2, [x22]
	mov	x1, x24
	bl	_sldns_b32_ntop_extended_hex
	ldr	x8, [x23]
	add	x8, x8, x25, lsl #3
	str	x8, [x23]
	ldr	x8, [x20]
	sub	x8, x8, x25
	str	x8, [x20]
	ldr	x8, [x22]
	add	x8, x8, x19
	str	x8, [x22]
	mov	x20, x21
	mov	x25, x19
LBB0_6:
	ldr	x8, [x20]
	sub	x8, x8, x25
	str	x8, [x20]
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
