	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smi_data_read
_smi_data_read:                         ## @smi_data_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rcx, %rbx
	movl	%r8d, -28(%rbp)
	movq	_smi_data_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_smi_data_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_smi_data_buf_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memory_read_from_buffer
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smi_data_lock,4,2              ## @smi_data_lock
	.comm	_smi_data_buf,4,2               ## @smi_data_buf
	.comm	_smi_data_buf_size,4,2          ## @smi_data_buf_size
	.no_dead_strip	_smi_data_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smi_data_read
_smi_data_read:                         ; @smi_data_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x5
	mov	x20, x3
	str	w4, [sp, #12]
Lloh0:
	adrp	x21, _smi_data_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _smi_data_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
Lloh2:
	adrp	x8, _smi_data_buf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _smi_data_buf@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _smi_data_buf_size@GOTPAGE
Lloh6:
	ldr	x8, [x8, _smi_data_buf_size@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_memory_read_from_buffer
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_smi_data_lock,4,2              ; @smi_data_lock
	.comm	_smi_data_buf,4,2               ; @smi_data_buf
	.comm	_smi_data_buf_size,4,2          ; @smi_data_buf_size
	.no_dead_strip	_smi_data_read
.subsections_via_symbols
