	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memory_read_skip
_memory_read_skip:                      ## @memory_read_skip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rsi)
	je	LBB0_3
## %bb.1:
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	jle	LBB0_4
## %bb.2:
	movq	%rdx, %rax
	cmpq	%rdx, %rcx
	cmovlq	%rcx, %rax
	subq	%rax, %rcx
	movq	%rcx, (%rsi)
	popq	%rbp
	retq
LBB0_3:
	movq	$0, 8(%rsi)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_memory_read_skip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memory_read_skip
_memory_read_skip:                      ; @memory_read_skip
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x1]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	cmp	x8, x2
	csel	x0, x8, x2, lt
	sub	x8, x8, x0
	str	x8, [x1]
	ret
LBB0_3:
	mov	x0, #0
	str	xzr, [x1, #8]
	ret
LBB0_4:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_memory_read_skip
.subsections_via_symbols
