	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_replace_op2
_try_replace_op2:                       ## @try_replace_op2
	.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
	xorl	%r12d, %r12d
	cmpl	%ecx, (%rdx)
	jne	LBB0_9
## %bb.1:
	movq	%r8, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_can_replace_op2
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ZVAL_COPY
	movl	8(%r15), %edi
	movq	%r14, %rsi
	leaq	-44(%rbp), %rdx
	callq	_zend_optimizer_update_op2_const
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movl	$1, %r12d
	jmp	LBB0_9
LBB0_3:
	cmpl	$128, (%r14)
	jne	LBB0_8
## %bb.4:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	leaq	4(%r14), %rbx
	movl	4(%r14), %eax
	movq	_ZEND_INSTANCEOF@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_ZEND_ASSERT
	movl	4(%r13), %eax
	xorl	%edi, %edi
	cmpl	12(%r13), %eax
	sete	%dil
	callq	_ZEND_ASSERT
	movl	8(%r15), %edi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_zend_optimizer_update_op2_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	12(%r13), %rax
	movq	(%r15), %rdi
	movslq	(%rdi), %rcx
	negq	%rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	12(%r13), %edx
	callq	_zend_ssa_unlink_use_chain
	movl	$-1, 12(%r13)
	movl	$-1, 20(%r13)
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_zend_ssa_remove_result_def
	movq	%r14, %rdi
	callq	_MAKE_NOP
	jmp	LBB0_7
LBB0_8:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor_nogc
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_STRING,4,2                  ## @IS_STRING
	.comm	_ZEND_INSTANCEOF,4,2            ## @ZEND_INSTANCEOF
	.no_dead_strip	_try_replace_op2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_replace_op2
_try_replace_op2:                       ; @try_replace_op2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x2]
	cmp	w8, w3
	b.ne	LBB0_9
; %bb.1:
	mov	x22, x4
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_can_replace_op2
	cbz	x0, LBB0_10
; %bb.2:
	add	x0, sp, #12
	mov	x1, x22
	bl	_ZVAL_COPY
	ldr	w0, [x21, #8]
	add	x2, sp, #12
	mov	x1, x19
	bl	_zend_optimizer_update_op2_const
	cbz	x0, LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_10
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [sp, #12]
	bl	_Z_TYPE
Lloh0:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.6:
	mov	x22, x19
	ldr	w8, [x22, #4]!
Lloh3:
	adrp	x9, _ZEND_INSTANCEOF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZEND_INSTANCEOF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_ZEND_ASSERT
	mov	x23, x20
	ldr	w8, [x23, #12]!
	ldur	w9, [x23, #-8]
	cmp	w9, w8
	cset	w0, eq
	bl	_ZEND_ASSERT
	ldr	w0, [x21, #8]
	add	x2, sp, #12
	mov	x1, x22
	bl	_zend_optimizer_update_op2_const
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x21]
	ldrsw	x8, [x0]
	mov	w9, #12
	mneg	x8, x8, x9
	add	x1, x23, x8
	ldr	w2, [x20, #12]
	bl	_zend_ssa_unlink_use_chain
	mov	w8, #-1
	str	w8, [x20, #12]
	str	w8, [x20, #20]
	ldr	x0, [x21]
	mov	x1, x20
	bl	_zend_ssa_remove_result_def
	mov	x0, x19
	bl	_MAKE_NOP
	b	LBB0_3
LBB0_8:
	add	x0, sp, #12
	bl	_zval_ptr_dtor_nogc
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_STRING,4,2                  ; @IS_STRING
	.comm	_ZEND_INSTANCEOF,4,2            ; @ZEND_INSTANCEOF
	.no_dead_strip	_try_replace_op2
.subsections_via_symbols
