	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_get_efp                   ## -- Begin function phar_get_efp
	.p2align	4, 0x90
_phar_get_efp:                          ## @phar_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	testl	%esi, %esi
	sete	%cl
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	testb	$1, %cl
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_phar_get_link_source
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	cmpq	%rbx, %rax
	jne	LBB0_1
LBB0_5:
	movq	%rbx, %rdi
	callq	_phar_get_fp_type
	movq	_PHAR_FP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_phar_get_entrypfp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	20(%rbx), %edi
	callq	_phar_open_archive_fp
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phar_get_entrypfp              ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	callq	_phar_get_fp_type
	movq	_PHAR_UFP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.14:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phar_get_entrypufp             ## TAILCALL
LBB0_10:
	movq	_PHAR_MOD@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rdx
	movq	8(%rbx), %rax
	cmpq	(%rcx), %rdx
	je	LBB0_13
## %bb.11:
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	16(%rbx), %edi
	movq	_STREAM_MUST_SEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_php_stream_open_wrapper
	movq	%rax, 8(%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHAR_FP,8,3                    ## @PHAR_FP
	.comm	_PHAR_UFP,8,3                   ## @PHAR_UFP
	.comm	_PHAR_MOD,8,3                   ## @PHAR_MOD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_STREAM_MUST_SEEK,4,2           ## @STREAM_MUST_SEEK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_get_efp                   ; -- Begin function phar_get_efp
	.p2align	2
_phar_get_efp:                          ; @phar_get_efp
	.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
	cmp	w1, #0
	cset	w8, eq
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x0
	tbnz	w8, #0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_phar_get_link_source
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #0
	cmp	x0, x19
	b.ne	LBB0_1
LBB0_5:
	mov	x0, x19
	bl	_phar_get_fp_type
Lloh0:
	adrp	x8, _PHAR_FP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHAR_FP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_phar_get_entrypfp
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #20]
	bl	_phar_open_archive_fp
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phar_get_entrypfp
LBB0_9:
	mov	x0, x19
	bl	_phar_get_fp_type
Lloh3:
	adrp	x8, _PHAR_UFP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHAR_UFP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phar_get_entrypufp
LBB0_11:
Lloh6:
	adrp	x8, _PHAR_MOD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHAR_MOD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldp	x9, x0, [x19]
	cmp	x9, x8
	ccmp	x0, #0, #0, ne
	b.ne	LBB0_13
; %bb.12:
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x8, _STREAM_MUST_SEEK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STREAM_MUST_SEEK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, #0
	bl	_php_stream_open_wrapper
	str	x0, [x19, #8]
LBB0_13:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PHAR_FP,8,3                    ; @PHAR_FP
	.comm	_PHAR_UFP,8,3                   ; @PHAR_UFP
	.comm	_PHAR_MOD,8,3                   ; @PHAR_MOD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_STREAM_MUST_SEEK,4,2           ; @STREAM_MUST_SEEK
.subsections_via_symbols
