	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_buf                     ## -- Begin function verify_buf
	.p2align	4, 0x90
_verify_buf:                            ## @verify_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movl	%esi, %eax
	movq	_verify_buf.total_bytes(%rip), %rsi
	movq	_verify_buf.data(%rip), %rcx
	leal	-1(%rax), %edx
	leaq	(%rcx,%rdx), %r8
	incq	%r8
	movl	%eax, %eax
	shlq	$3, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdi,%rdx), %rcx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movq	%rsi, _verify_buf.total_bytes(%rip)
	addq	$8, %rdx
	incq	%rcx
	cmpq	%rdx, %rax
	jne	LBB0_2
## %bb.5:
	movq	%r8, _verify_buf.data(%rip)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	incq	%rcx
	movq	%rcx, _verify_buf.data(%rip)
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_verify_buf.total_bytes,8,3 ## @verify_buf.total_bytes
.zerofill __DATA,__bss,_verify_buf.data,8,3 ## @verify_buf.data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data verification failed byte %lld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_buf                     ; -- Begin function verify_buf
	.p2align	2
_verify_buf:                            ; @verify_buf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	subs	w12, w1, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x1
	adrp	x10, _verify_buf.total_bytes@PAGE
	ldr	x1, [x10, _verify_buf.total_bytes@PAGEOFF]
	adrp	x9, _verify_buf.data@PAGE
	ldr	x11, [x9, _verify_buf.data@PAGEOFF]
	add	x12, x11, x12
	add	x12, x12, #1
	mov	w8, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x0]
	cmp	x11, x13
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x1, #1
	str	x1, [x10, _verify_buf.total_bytes@PAGEOFF]
	add	x0, x0, #8
	add	x11, x11, #1
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.4:
	mov	w0, #0
	str	x12, [x9, _verify_buf.data@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	add	x8, x11, #1
	str	x8, [x9, _verify_buf.data@PAGEOFF]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_verify_buf.total_bytes,8,3 ; @verify_buf.total_bytes
.zerofill __DATA,__bss,_verify_buf.data,8,3 ; @verify_buf.data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data verification failed byte %lld\n"

.subsections_via_symbols
