	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_map
_open_map:                              ## @open_map
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_RLD_CONTEXT_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-20(%rbp), %rsi
	movl	$4, %edx
	callq	_target_read_memory
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	-20(%rbp), %edi
	leaq	-32(%rbp), %rsi
	movl	$8, %edx
	callq	_target_read_memory
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r14)
	movl	-32(%rbp), %eax
	movl	%eax, (%r14)
	movl	$1, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RLD_CONTEXT_ADDRESS,4,2        ## @RLD_CONTEXT_ADDRESS
	.comm	_LDR_NULL_MODULE,4,2            ## @LDR_NULL_MODULE
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.no_dead_strip	_open_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_map
_open_map:                              ; @open_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _RLD_CONTEXT_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLD_CONTEXT_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	w2, #4
	bl	_target_read_memory
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	mov	x1, sp
	mov	w2, #8
	bl	_target_read_memory
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldr	d0, [sp]
	str	d0, [x19]
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RLD_CONTEXT_ADDRESS,4,2        ; @RLD_CONTEXT_ADDRESS
	.comm	_LDR_NULL_MODULE,4,2            ; @LDR_NULL_MODULE
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.no_dead_strip	_open_map
.subsections_via_symbols
