	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phpdbg_create_array_watchpoint
_phpdbg_create_array_watchpoint:        ## @phpdbg_create_array_watchpoint
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_ZVAL_DEREF
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	movq	_IS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	movq	_IS_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movl	$1, %edi
	movl	$32, %esi
	callq	_ecalloc
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	callq	_ZSTR_LEN
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	callq	_ZSTR_VAL
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_strpprintf
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	callq	_zend_string_release
	movq	%r12, 8(%rbx)
	movq	_PHPDBG_WATCH_IMPLICIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_phpdbg_add_bucket_watch_element
	movq	%r15, 24(%rbx)
	movq	_PHPDBG_WATCH_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r12, %rdi
	callq	_zend_string_copy
	movq	%rax, 8(%r15)
	movq	%rbx, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_phpdbg_add_ht_watch_element
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_ARRAY,8,3                   ## @IS_ARRAY
	.comm	_IS_OBJECT,8,3                  ## @IS_OBJECT
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s[]"

	.comm	_PHPDBG_WATCH_IMPLICIT,4,2      ## @PHPDBG_WATCH_IMPLICIT
	.comm	_PHPDBG_WATCH_SIMPLE,4,2        ## @PHPDBG_WATCH_SIMPLE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_phpdbg_create_array_watchpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phpdbg_create_array_watchpoint
_phpdbg_create_array_watchpoint:        ; @phpdbg_create_array_watchpoint
	.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	x20, x1
	mov	x19, x0
	bl	_ZVAL_DEREF
	mov	x0, x19
	bl	_Z_TYPE_P
Lloh0:
	adrp	x8, _IS_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_Z_TYPE_P
Lloh3:
	adrp	x8, _IS_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	mov	w1, #32
	bl	_ecalloc
	mov	x21, x0
	ldr	x0, [x20, #8]
	bl	_ZSTR_LEN
	mov	x22, x0
	ldr	x0, [x20, #8]
	bl	_ZSTR_VAL
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	x2, x22
	bl	_strpprintf
	mov	x22, x0
	ldr	x0, [x20, #8]
	bl	_zend_string_release
	str	x22, [x20, #8]
Lloh8:
	adrp	x8, _PHPDBG_WATCH_IMPLICIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHPDBG_WATCH_IMPLICIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_phpdbg_add_bucket_watch_element
	str	x21, [x20, #24]
Lloh11:
	adrp	x8, _PHPDBG_WATCH_SIMPLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PHPDBG_WATCH_SIMPLE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	mov	x0, x22
	bl	_zend_string_copy
	stp	x20, x0, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_phpdbg_add_ht_watch_element
Lloh14:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_ARRAY,8,3                   ; @IS_ARRAY
	.comm	_IS_OBJECT,8,3                  ; @IS_OBJECT
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s[]"

	.comm	_PHPDBG_WATCH_IMPLICIT,4,2      ; @PHPDBG_WATCH_IMPLICIT
	.comm	_PHPDBG_WATCH_SIMPLE,4,2        ; @PHPDBG_WATCH_SIMPLE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_phpdbg_create_array_watchpoint
.subsections_via_symbols
