	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_map_file_read
_elf_map_file_read:                     ## @elf_map_file_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rdi), %edi
	movq	%rdx, %rsi
	movq	%rbx, %rdx
	movq	%r8, %rcx
	callq	_pread
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rbx, %rcx
	sete	%al
	jmp	LBB0_5
LBB0_3:
	movl	16(%rsi), %edi
	addq	8(%rsi), %r8
	leaq	-16(%rbp), %rax
	movq	%r8, %rsi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_ReadProcessMemory
	testl	%eax, %eax
	setne	%al
	cmpq	%rbx, -16(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_5
LBB0_4:
	xorl	%edi, %edi
	callq	_assert
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_elf_map_file_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_map_file_read
_elf_map_file_read:                     ; @elf_map_file_read
	.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, x3
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x0]
	mov	x1, x2
	mov	x2, x19
	mov	x3, x4
	bl	_pread
	cmp	x0, x19
	cset	w0, eq
	b	LBB0_5
LBB0_3:
	ldr	w0, [x1, #16]
	ldr	x8, [x1, #8]
	add	x1, x8, x4
	add	x4, sp, #8
	mov	x3, x19
	bl	_ReadProcessMemory
	cmp	w0, #0
	ldr	x8, [sp, #8]
	ccmp	x8, x19, #0, ne
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	bl	_assert
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_elf_map_file_read
.subsections_via_symbols
