	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function getpmem
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_getpmem:                               ## @getpmem
	.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	_nlistread@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	_getpmem.failure(%rip), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	callq	_donlist
	movl	%eax, _getpmem.failure(%rip)
LBB0_3:
	xorpd	%xmm0, %xmm0
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	movq	_P_INMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	xorps	%xmm0, %xmm0
	cvtsi2sdq	8(%rax), %xmm0
	movq	_mempages@GOTPCREL(%rip), %rax
	divsd	(%rax), %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getpmem.failure,4,2 ## @getpmem.failure
	.comm	_nlistread,4,2                  ## @nlistread
	.comm	_P_INMEM,4,2                    ## @P_INMEM
	.comm	_mempages,8,3                   ## @mempages
	.no_dead_strip	_getpmem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getpmem
_getpmem:                               ; @getpmem
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _nlistread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nlistread@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _getpmem.failure@PAGE
Lloh4:
	ldr	w0, [x8, _getpmem.failure@PAGEOFF]
	movi	d0, #0000000000000000
	cbnz	w0, LBB0_5
	b	LBB0_3
LBB0_2:
	bl	_donlist
	adrp	x8, _getpmem.failure@PAGE
	str	w0, [x8, _getpmem.failure@PAGEOFF]
	movi	d0, #0000000000000000
	cbnz	w0, LBB0_5
LBB0_3:
	ldr	x8, [x19]
	ldr	w9, [x8]
Lloh5:
	adrp	x10, _P_INMEM@GOTPAGE
Lloh6:
	ldr	x10, [x10, _P_INMEM@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
	ldr	d0, [x8, #8]
Lloh8:
	adrp	x8, _mempages@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mempages@GOTPAGEOFF]
	scvtf	d0, d0
Lloh10:
	ldr	d1, [x8]
	fdiv	d0, d0, d1
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
LBB0_5:
	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 AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getpmem.failure,4,2 ; @getpmem.failure
	.comm	_nlistread,4,2                  ; @nlistread
	.comm	_P_INMEM,4,2                    ; @P_INMEM
	.comm	_mempages,8,3                   ; @mempages
	.no_dead_strip	_getpmem
.subsections_via_symbols
