	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_hip_scan        ## -- Begin function sldns_wire2str_hip_scan
	.p2align	4, 0x90
_sldns_wire2str_hip_scan:               ## @sldns_wire2str_hip_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	cmpq	$4, (%rsi)
	jb	LBB0_3
## %bb.1:
	movq	%rcx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdi
	movq	(%rdi), %r13
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$16, %rdi
	callq	_sldns_read_uint16
	movq	%rax, %r8
	addq	%r13, %rax
	addq	$4, %rax
	cmpq	%rax, (%rbx)
	jb	LBB0_3
## %bb.2:
	leaq	4(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_sldns_str_print
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdx
	addq	$32, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	callq	_print_hex_buf
	movq	%rax, %r13
	addl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	movq	%r15, %rcx
	movl	%eax, %r15d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	(,%rdx,8), %rax
	addq	%rax, (%r12)
	addl	%r13d, %r15d
	subq	%rdx, (%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_sldns_wire2str_b64_scan_num
	movq	%rax, %r14
	addl	%r15d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$40, %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	"%u "

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_hip_scan        ; -- Begin function sldns_wire2str_hip_scan
	.p2align	2
_sldns_wire2str_hip_scan:               ; @sldns_wire2str_hip_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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]
	cmp	x8, #4
	b.lo	LBB0_2
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0]
	ldp	x24, x25, [x8]
	add	x0, x8, #16
	bl	_sldns_read_uint16
	ldr	x8, [x21]
	add	x26, x24, #4
	add	x9, x0, x26
	cmp	x8, x9
	b.hs	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_4
LBB0_3:
	mov	x23, x0
	str	x25, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	mov	x25, x0
	ldr	x8, [x22]
	add	x2, x8, #32
	mov	x0, x20
	mov	x1, x19
	mov	x3, x24
	bl	_print_hex_buf
	add	w24, w25, w0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	w24, w24, w0
	ldr	x8, [x22]
	add	x8, x8, x26, lsl #3
	str	x8, [x22]
	ldr	x8, [x21]
	sub	x8, x8, x26
	str	x8, [x21]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x23
	bl	_sldns_wire2str_b64_scan_num
	add	w0, w24, w0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u "

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

.subsections_via_symbols
