	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_trace_get_long             ## -- Begin function fpm_trace_get_long
	.p2align	4, 0x90
_fpm_trace_get_long:                    ## @fpm_trace_get_long
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_fpm_pagesize@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r15
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
LBB0_3:
	subq	%r15, %rbx
	movq	_target_page_base@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_fpm_mach_vm_deallocate
	movq	%rbx, %rdi
	callq	_fpm_mach_vm_read_page
	testq	%rax, %rax
	js	LBB0_5
LBB0_6:
	movq	_local_page@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_pagesize,8,3               ## @fpm_pagesize
	.comm	_target_page_base,8,3           ## @target_page_base
	.comm	_local_page,8,3                 ## @local_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_trace_get_long             ; -- Begin function fpm_trace_get_long
	.p2align	2
_fpm_trace_get_long:                    ; @fpm_trace_get_long
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _fpm_pagesize@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpm_pagesize@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x9, x0, x8
	mul	x21, x9, x8
Lloh3:
	adrp	x8, _target_page_base@GOTPAGE
Lloh4:
	ldr	x8, [x8, _target_page_base@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_2
; %bb.1:
	bl	_fpm_mach_vm_deallocate
	mov	x0, x21
	bl	_fpm_mach_vm_read_page
	tbnz	x0, #63, LBB0_3
LBB0_2:
	mov	w0, #0
	sub	x8, x20, x21
Lloh6:
	adrp	x9, _local_page@GOTPAGE
Lloh7:
	ldr	x9, [x9, _local_page@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x9, x8]
	str	x8, [x19]
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_pagesize,8,3               ; @fpm_pagesize
	.comm	_target_page_base,8,3           ; @target_page_base
	.comm	_local_page,8,3                 ; @local_page
.subsections_via_symbols
