	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __check_shared_memory
___check_shared_memory:                 ## @__check_shared_memory
	.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	%rdi, %rbx
	movq	_shared_memory_amount@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	addq	(%rcx), %rbx
	jb	LBB0_2
## %bb.1:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	xorl	%eax, %eax
	callq	_totalram_pages
	movq	_DM_STATS_MEMORY_FACTOR@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movslq	%eax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	setbe	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shared_memory_amount,8,3       ## @shared_memory_amount
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_DM_STATS_MEMORY_FACTOR,4,2     ## @DM_STATS_MEMORY_FACTOR
	.comm	_DM_STATS_VMALLOC_FACTOR,8,3    ## @DM_STATS_VMALLOC_FACTOR
	.comm	_VMALLOC_END,8,3                ## @VMALLOC_END
	.comm	_VMALLOC_START,8,3              ## @VMALLOC_START
	.no_dead_strip	___check_shared_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __check_shared_memory
___check_shared_memory:                 ; @__check_shared_memory
	.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
Lloh0:
	adrp	x8, _shared_memory_amount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shared_memory_amount@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	adds	x8, x8, x0
	b.lo	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	x19, x8, x9
	bl	_totalram_pages
Lloh6:
	adrp	x8, _DM_STATS_MEMORY_FACTOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_STATS_MEMORY_FACTOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	cmp	x19, w8, sxtw
	cset	w0, ls
LBB0_3:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_shared_memory_amount,8,3       ; @shared_memory_amount
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_DM_STATS_MEMORY_FACTOR,4,2     ; @DM_STATS_MEMORY_FACTOR
	.comm	_DM_STATS_VMALLOC_FACTOR,8,3    ; @DM_STATS_VMALLOC_FACTOR
	.comm	_VMALLOC_END,8,3                ; @VMALLOC_END
	.comm	_VMALLOC_START,8,3              ; @VMALLOC_START
	.no_dead_strip	___check_shared_memory
.subsections_via_symbols
