	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_mem_read                 ## -- Begin function check_mem_read
	.p2align	4, 0x90
_check_mem_read:                        ## @check_mem_read
	.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	_breakpoints@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movslq	%edx, %r12
	addq	%rdi, %r12
	movq	_breakpoint_len@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%r13), %rdx
	addq	%rax, %rdx
	cmpq	%r15, %rdx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, %rax
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rax
	movq	%r15, %rcx
	cmovgq	%rax, %rcx
	cmpq	%r12, %rdx
	cmovgeq	%r12, %rdx
	subl	%ecx, %edx
	movl	%ecx, %esi
	subl	%eax, %esi
	subl	%r15d, %ecx
	movslq	%ecx, %rdi
	addq	%r14, %rdi
	movslq	%esi, %rsi
	addq	8(%rbx), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_breakpoints,8,3                ## @breakpoints
	.comm	_breakpoint_len,8,3             ## @breakpoint_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_mem_read                 ; -- Begin function check_mem_read
	.p2align	2
_check_mem_read:                        ; @check_mem_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _breakpoints@GOTPAGE
Lloh1:
	ldr	x8, [x8, _breakpoints@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cbz	x21, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x22, x0, w2, sxtw
Lloh3:
	adrp	x23, _breakpoint_len@GOTPAGE
Lloh4:
	ldr	x23, [x23, _breakpoint_len@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x23]
	add	x9, x9, x8
	cmp	x9, x20
	ccmp	x8, x22, #0, gt
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x20
	csel	x10, x8, x20, gt
	cmp	x9, x22
	csel	x9, x9, x22, lt
	sub	w2, w9, w10
	sub	w8, w10, w8
	sub	w9, w10, w20
	add	x0, x19, w9, sxtw
	ldr	x9, [x21, #8]
	add	x1, x9, w8, sxtw
	bl	_memcpy
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_breakpoints,8,3                ; @breakpoints
	.comm	_breakpoint_len,8,3             ; @breakpoint_len
.subsections_via_symbols
