	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phar_get_fp_offset
_phar_get_fp_offset:                    ## @phar_get_fp_offset
	.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	%rdi, %rbx
	cmpl	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	_cached_fp@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_PHAR_G
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rax
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	movq	_PHAR_FP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movl	(%r14), %edi
	callq	_PHAR_G
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rax
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %r15
	movl	(%r14), %edi
	callq	_PHAR_G
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rax
	shlq	$4, %rcx
	movq	%r15, 8(%rax,%rcx)
LBB0_5:
	movl	(%r14), %edi
	callq	_PHAR_G
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rax
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rbx
	addq	$8, %rbx
	jmp	LBB0_6
LBB0_1:
	addq	$16, %rbx
LBB0_6:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cached_fp,4,2                  ## @cached_fp
	.comm	_PHAR_FP,8,3                    ## @PHAR_FP
	.no_dead_strip	_phar_get_fp_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phar_get_fp_offset
_phar_get_fp_offset:                    ; @phar_get_fp_offset
	.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, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x20, _cached_fp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cached_fp@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PHAR_G
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
Lloh2:
	adrp	x9, _PHAR_FP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PHAR_FP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x20]
	bl	_PHAR_G
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x21, [x19, #16]
	ldr	w0, [x20]
	bl	_PHAR_G
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	add	x8, x8, x9, lsl #4
	str	x21, [x8, #8]
LBB0_4:
	ldr	w0, [x20]
	bl	_PHAR_G
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	add	x8, x8, x9, lsl #4
	add	x8, x8, #8
	b	LBB0_6
LBB0_5:
	add	x8, x19, #16
LBB0_6:
	ldr	x0, [x8]
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cached_fp,4,2                  ; @cached_fp
	.comm	_PHAR_FP,8,3                    ; @PHAR_FP
	.no_dead_strip	_phar_get_fp_offset
.subsections_via_symbols
