	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_open
_mem_open:                              ## @mem_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mem_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	8(%rax), %rcx
	movq	%rcx, (%rdx)
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	__ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mem_devs,8,3                   ## @mem_devs
	.comm	__ENXIO,4,2                     ## @_ENXIO
	.no_dead_strip	_mem_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mem_open
_mem_open:                              ; @mem_open
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _mem_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mem_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w1, sxtw #3]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x3, [x8], #8
	str	x8, [x2]
	cbz	x3, LBB0_4
; %bb.2:
	br	x3
LBB0_3:
Lloh3:
	adrp	x8, __ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, __ENXIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mem_devs,8,3                   ; @mem_devs
	.comm	__ENXIO,4,2                     ; @_ENXIO
	.no_dead_strip	_mem_open
.subsections_via_symbols
