	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_seek_efp                  ## -- Begin function phar_seek_efp
	.p2align	4, 0x90
_phar_seek_efp:                         ## @phar_seek_efp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	%r8d, %esi
	callq	_phar_get_efp
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r15
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_phar_get_link_source
	testq	%rax, %rax
	cmovneq	%rax, %rbx
LBB0_3:
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rbx)
	jne	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_phar_get_fp_offset
	cmpl	$128, %r13d
	je	LBB0_10
## %bb.5:
	cmpl	$130, %r13d
	je	LBB0_11
## %bb.6:
	cmpl	$129, %r13d
	jne	LBB0_14
## %bb.7:
	addq	%rax, %r14
	addq	(%rbx), %r14
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_12:
	addq	(%rbx), %rax
	movl	$-1, %ecx
	cmpq	%rax, %r14
	jg	LBB0_9
## %bb.13:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$128, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_stream_seek                ## TAILCALL
LBB0_10:
	addq	%rax, %r14
	cmpq	%rax, %r14
	jge	LBB0_12
LBB0_8:
	movl	$-1, %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	addq	%rax, %r14
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	cmpq	%rax, %r14
	jge	LBB0_12
	jmp	LBB0_8
LBB0_14:
	xorl	%r14d, %r14d
	cmpq	%rax, %r14
	jge	LBB0_12
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_seek_efp                  ; -- Begin function phar_seek_efp
	.p2align	2
_phar_seek_efp:                         ; @phar_seek_efp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	mov	x1, x4
	bl	_phar_get_efp
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	cbz	w24, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_phar_get_link_source
	cmp	x0, #0
	csel	x20, x20, x0, eq
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w8, #0
	b	LBB0_6
LBB0_5:
	mov	w8, #-1
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	bl	_phar_get_fp_offset
	cmp	w23, #128
	b.eq	LBB0_11
; %bb.8:
	cmp	w23, #130
	b.eq	LBB0_12
; %bb.9:
	cmp	w23, #129
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [x20]
	add	x9, x0, x21
	add	x1, x9, x8
	b	LBB0_14
LBB0_11:
	add	x1, x0, x21
	b	LBB0_14
LBB0_12:
	add	x8, x0, x21
	add	x1, x8, x22
	b	LBB0_14
LBB0_13:
	mov	x1, #0
LBB0_14:
	mov	w8, #-1
	cmp	x1, x0
	b.lt	LBB0_6
; %bb.15:
	ldr	x9, [x20]
	add	x9, x9, x0
	cmp	x1, x9
	b.gt	LBB0_6
; %bb.16:
	mov	x0, x19
	mov	w2, #128
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_php_stream_seek
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
