	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_mem                      ## -- Begin function write_mem
	.p2align	4, 0x90
_write_mem:                             ## @write_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	%ecx, -4(%rbp)
	leaq	-4(%rbp), %rax
	movq	%rax, -16(%rbp)
	movl	%r8d, -24(%rbp)
	movq	_MEM_F_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_rw_mem_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %r8
	callq	_access_memory
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_F_WRITE,4,2                ## @MEM_F_WRITE
	.comm	_rw_mem_cb,4,2                  ## @rw_mem_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_mem                      ; -- Begin function write_mem
	.p2align	2
_write_mem:                             ; @write_mem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w3, [x29, #-4]
	sub	x8, x29, #4
	str	x8, [sp, #16]
Lloh0:
	adrp	x8, _MEM_F_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEM_F_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w4, w8, [sp, #8]
Lloh3:
	adrp	x8, _rw_mem_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rw_mem_cb@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x4, sp, #8
	bl	_access_memory
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_F_WRITE,4,2                ; @MEM_F_WRITE
	.comm	_rw_mem_cb,4,2                  ; @rw_mem_cb
.subsections_via_symbols
