	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cli_register_file_handles
_cli_register_file_handles:             ## @cli_register_file_handles
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_open_wrapper_ex
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_open_wrapper_ex
	movq	%rax, %r15
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_open_wrapper_ex
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.9:
	movq	_s_in_process@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_to_zval
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_php_stream_to_zval
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_php_stream_to_zval
	movq	_CONST_CS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZEND_CONSTANT_SET_FLAGS
	leaq	L_.str.5(%rip), %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_zend_string_init_interned
	movq	%rax, -72(%rbp)
	movq	%rbx, %rdi
	callq	_zend_register_constant
	movl	(%r14), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZEND_CONSTANT_SET_FLAGS
	leaq	L_.str.6(%rip), %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_zend_string_init_interned
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_zend_register_constant
	movl	(%r14), %esi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZEND_CONSTANT_SET_FLAGS
	leaq	L_.str.7(%rip), %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_zend_string_init_interned
	movq	%rax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_zend_register_constant
	jmp	LBB0_10
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_php_stream_close
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_php_stream_close
LBB0_7:
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_stream_close               ## TAILCALL
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php://stdin"

L_.str.1:                               ## @.str.1
	.asciz	"rb"

L_.str.2:                               ## @.str.2
	.asciz	"php://stdout"

L_.str.3:                               ## @.str.3
	.asciz	"wb"

L_.str.4:                               ## @.str.4
	.asciz	"php://stderr"

	.comm	_s_in_process,8,3               ## @s_in_process
	.comm	_CONST_CS,4,2                   ## @CONST_CS
L_.str.5:                               ## @.str.5
	.asciz	"STDIN"

L_.str.6:                               ## @.str.6
	.asciz	"STDOUT"

L_.str.7:                               ## @.str.7
	.asciz	"STDERR"

	.comm	_PHP_STREAM_FLAG_NO_CLOSE,4,2   ## @PHP_STREAM_FLAG_NO_CLOSE
	.no_dead_strip	_cli_register_file_handles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cli_register_file_handles
_cli_register_file_handles:             ; @cli_register_file_handles
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_php_stream_open_wrapper_ex
	mov	x21, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x19, l_.str.3@PAGE
Lloh7:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_php_stream_open_wrapper_ex
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_php_stream_open_wrapper_ex
	mov	x19, x0
	cbz	x21, LBB0_4
; %bb.1:
	cbz	x20, LBB0_4
; %bb.2:
	cbz	x19, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _s_in_process@GOTPAGE
Lloh11:
	ldr	x8, [x8, _s_in_process@GOTPAGEOFF]
Lloh12:
	str	x21, [x8]
	add	x8, sp, #32
	add	x1, x8, #8
	mov	x0, x21
	bl	_php_stream_to_zval
	add	x8, sp, #16
	add	x1, x8, #8
	mov	x0, x20
	bl	_php_stream_to_zval
	mov	x8, sp
	add	x1, x8, #8
	mov	x0, x19
	bl	_php_stream_to_zval
Lloh13:
	adrp	x19, _CONST_CS@GOTPAGE
Lloh14:
	ldr	x19, [x19, _CONST_CS@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #32
	mov	w2, #0
	bl	_ZEND_CONSTANT_SET_FLAGS
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #5
	mov	w2, #0
	bl	_zend_string_init_interned
	str	x0, [sp, #32]
	add	x0, sp, #32
	bl	_zend_register_constant
	ldr	w1, [x19]
	add	x0, sp, #16
	mov	w2, #0
	bl	_ZEND_CONSTANT_SET_FLAGS
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #6
	mov	w2, #0
	bl	_zend_string_init_interned
	str	x0, [sp, #16]
	add	x0, sp, #16
	bl	_zend_register_constant
	ldr	w1, [x19]
	mov	x0, sp
	mov	w2, #0
	bl	_ZEND_CONSTANT_SET_FLAGS
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #6
	mov	w2, #0
	bl	_zend_string_init_interned
	str	x0, [sp]
	mov	x0, sp
	bl	_zend_register_constant
	b	LBB0_10
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_php_stream_close
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_php_stream_close
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_php_stream_close
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php://stdin"

l_.str.1:                               ; @.str.1
	.asciz	"rb"

l_.str.2:                               ; @.str.2
	.asciz	"php://stdout"

l_.str.3:                               ; @.str.3
	.asciz	"wb"

l_.str.4:                               ; @.str.4
	.asciz	"php://stderr"

	.comm	_s_in_process,8,3               ; @s_in_process
	.comm	_CONST_CS,4,2                   ; @CONST_CS
l_.str.5:                               ; @.str.5
	.asciz	"STDIN"

l_.str.6:                               ; @.str.6
	.asciz	"STDOUT"

l_.str.7:                               ; @.str.7
	.asciz	"STDERR"

	.comm	_PHP_STREAM_FLAG_NO_CLOSE,4,2   ; @PHP_STREAM_FLAG_NO_CLOSE
	.no_dead_strip	_cli_register_file_handles
.subsections_via_symbols
