	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vax_buffer_read_memory
_vax_buffer_read_memory:                ## @vax_buffer_read_memory
	.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	_Offset@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movl	$-1, %eax
	js	LBB0_3
## %bb.1:
	cmpl	%edx, %edi
	jg	LBB0_3
## %bb.2:
	movq	%rsi, %r14
	movq	_bytes@GOTPCREL(%rip), %rax
	movl	%edi, %ebx
	addq	(%rax), %rbx
	movq	_bytes_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edx, %edi
	callq	_R_MIN
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Offset,4,2                     ## @Offset
	.comm	_bytes,8,3                      ## @bytes
	.comm	_bytes_size,4,2                 ## @bytes_size
	.no_dead_strip	_vax_buffer_read_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vax_buffer_read_memory
_vax_buffer_read_memory:                ; @vax_buffer_read_memory
	.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	x8, x0
Lloh0:
	adrp	x9, _Offset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Offset@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w0, #-1
	subs	w8, w8, w9
	b.mi	LBB0_3
; %bb.1:
	cmp	w8, w2
	b.gt	LBB0_3
; %bb.2:
	mov	x19, x1
Lloh3:
	adrp	x9, _bytes@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bytes@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x20, x9, w8, uxtw
Lloh6:
	adrp	x8, _bytes_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bytes_size@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_R_MIN
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_Offset,4,2                     ; @Offset
	.comm	_bytes,8,3                      ; @bytes
	.comm	_bytes_size,4,2                 ; @bytes_size
	.no_dead_strip	_vax_buffer_read_memory
.subsections_via_symbols
