	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_open_archive_fp           ## -- Begin function phar_open_archive_fp
	.p2align	4, 0x90
_phar_open_archive_fp:                  ## @phar_open_archive_fp
	.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
	callq	_phar_get_pharfp
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	(%rbx), %edi
	callq	_php_check_open_basedir
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	movq	_IGNORE_URL@GOTPCREL(%rip), %rax
	movq	_STREAM_MUST_SEEK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_php_stream_open_wrapper
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_phar_set_pharfp
	movq	%rbx, %rdi
	callq	_phar_get_pharfp
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_IGNORE_URL,4,2                 ## @IGNORE_URL
	.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_open_archive_fp           ; -- Begin function phar_open_archive_fp
	.p2align	2
_phar_open_archive_fp:                  ; @phar_open_archive_fp
	.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
	bl	_phar_get_pharfp
Lloh0:
	adrp	x20, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SUCCESS@GOTPAGEOFF]
	mov	x21, x20
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_php_check_open_basedir
Lloh2:
	adrp	x21, _FAILURE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FAILURE@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _IGNORE_URL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IGNORE_URL@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _STREAM_MUST_SEEK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _STREAM_MUST_SEEK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, #0
	bl	_php_stream_open_wrapper
	mov	x1, x0
	mov	x0, x19
	bl	_phar_set_pharfp
	mov	x0, x19
	bl	_phar_get_pharfp
	cmp	x0, #0
	csel	x21, x21, x20, eq
LBB0_3:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

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