	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_memory_device_init        ## -- Begin function mbfl_memory_device_init
	.p2align	4, 0x90
_mbfl_memory_device_init:               ## @mbfl_memory_device_init
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_mbfl_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, (%rbx)
LBB0_4:
	movq	$0, 24(%rbx)
	movq	_MBFL_MEMORY_DEVICE_ALLOC_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, %rax
	cmovaq	%rax, %r14
	movq	%r14, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_MEMORY_DEVICE_ALLOC_SIZE,8,3 ## @MBFL_MEMORY_DEVICE_ALLOC_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_memory_device_init        ; -- Begin function mbfl_memory_device_init
	.p2align	2
_mbfl_memory_device_init:               ; @mbfl_memory_device_init
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	stp	xzr, xzr, [x0]
	cbz	x1, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_mbfl_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	str	x21, [x19]
LBB0_4:
Lloh0:
	adrp	x8, _MBFL_MEMORY_DEVICE_ALLOC_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBFL_MEMORY_DEVICE_ALLOC_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	csel	x8, x8, x20, hi
	stp	x8, xzr, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_MEMORY_DEVICE_ALLOC_SIZE,8,3 ; @MBFL_MEMORY_DEVICE_ALLOC_SIZE
.subsections_via_symbols
