	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function overlay_is_mapped
_overlay_is_mapped:                     ## @overlay_is_mapped
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_section_is_overlay
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	_overlay_debugging@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_9
## %bb.4:
	movq	_overlay_cache_invalid@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_overlay_invalidate_all
	movl	$0, (%rbx)
LBB0_6:
	cmpl	$-1, (%r14)
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_target_overlay_update
LBB0_8:
	xorl	%ebx, %ebx
	cmpl	$1, (%r14)
	sete	%bl
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_overlay_debugging,4,2          ## @overlay_debugging
	.comm	_overlay_cache_invalid,4,2      ## @overlay_cache_invalid
	.no_dead_strip	_overlay_is_mapped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function overlay_is_mapped
_overlay_is_mapped:                     ; @overlay_is_mapped
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_section_is_overlay
	cbz	w0, LBB0_10
; %bb.2:
Lloh0:
	adrp	x8, _overlay_debugging@GOTPAGE
Lloh1:
	ldr	x8, [x8, _overlay_debugging@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #130
	b.ne	LBB0_9
; %bb.4:
Lloh3:
	adrp	x20, _overlay_cache_invalid@GOTPAGE
Lloh4:
	ldr	x20, [x20, _overlay_cache_invalid@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.5:
	bl	_overlay_invalidate_all
	str	wzr, [x20]
LBB0_6:
	ldr	w8, [x19]
	cmn	w8, #1
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_target_overlay_update
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, #1
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_overlay_debugging,4,2          ; @overlay_debugging
	.comm	_overlay_cache_invalid,4,2      ; @overlay_cache_invalid
	.no_dead_strip	_overlay_is_mapped
.subsections_via_symbols
