	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btmemr_init                    ## -- Begin function btmemr_init
	.p2align	4, 0x90
_btmemr_init:                           ## @btmemr_init
	.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	_ram_block@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_MEM_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	xorl	%esi, %esi
	callq	_MEMSET
	callq	__CPU_ISR_Disable
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	$0, 8(%rax)
	movl	$0, 16(%rax)
	movq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	_ram_end@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movl	$1, 16(%rax,%rcx,4)
	movq	%rcx, 8(%rax,%rcx,4)
	movq	(%rbx), %rdx
	movq	%rdx, (%rax,%rcx,4)
	movq	_ram_free@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__CPU_ISR_Restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ram_block,8,3                  ## @ram_block
	.comm	_MEM_SIZE,8,3                   ## @MEM_SIZE
	.comm	_ram_end,8,3                    ## @ram_end
	.comm	_ram_free,8,3                   ## @ram_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btmemr_init                    ; -- Begin function btmemr_init
	.p2align	2
_btmemr_init:                           ; @btmemr_init
	.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
Lloh0:
	adrp	x19, _ram_block@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ram_block@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x20, _MEM_SIZE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MEM_SIZE@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	w1, #0
	bl	_MEMSET
	bl	__CPU_ISR_Disable
	ldr	x8, [x19]
	ldr	x9, [x20]
	stp	x9, xzr, [x8]
	str	wzr, [x8, #16]
	ldr	x9, [x20]
	add	x10, x8, x9, lsl #2
Lloh4:
	adrp	x11, _ram_end@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ram_end@GOTPAGEOFF]
Lloh6:
	str	x10, [x11]
	mov	w11, #1
	str	w11, [x10, #16]
	str	x9, [x10, #8]
	ldr	x9, [x20]
	str	x9, [x10]
Lloh7:
	adrp	x9, _ram_free@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ram_free@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__CPU_ISR_Restore
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ram_block,8,3                  ; @ram_block
	.comm	_MEM_SIZE,8,3                   ; @MEM_SIZE
	.comm	_ram_end,8,3                    ; @ram_end
	.comm	_ram_free,8,3                   ; @ram_free
.subsections_via_symbols
