	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_buffer_safe
_verify_buffer_safe:                    ## @verify_buffer_safe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	8(%r14), %rbx
	cmpq	%rbx, %rdi
	je	LBB0_3
## %bb.1:
	leaq	-1(%rbx), %rsi
	callq	_find_start_of_record
	movq	%rbx, %rdx
	subq	%rax, %rdx
	cmpb	$10, -1(%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx), %rcx
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_3
LBB0_4:
	movq	16(%r14), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_die_invalid_line               ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.no_dead_strip	_verify_buffer_safe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_buffer_safe
_verify_buffer_safe:                    ; @verify_buffer_safe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x20, [x19, #8]
	cmp	x0, x20
	b.eq	LBB0_4
; %bb.1:
	sub	x1, x20, #1
	bl	_find_start_of_record
	mov	x1, x0
	ldurb	w8, [x20, #-1]
	sub	x2, x20, x0
	cmp	w8, #10
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	add	x8, x8, #2
	cmp	x2, x8
	b.ge	LBB0_4
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_die_invalid_line
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.no_dead_strip	_verify_buffer_safe
.subsections_via_symbols
