	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function browscap_zval_copy_ctor
_browscap_zval_copy_ctor:               ## @browscap_zval_copy_ctor
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_Z_REFCOUNTED_P
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ZEND_ASSERT
	movq	%r14, %rdi
	callq	_Z_STR_P
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GC_FLAGS
	movq	_GC_PERSISTENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_ZSTR_VAL
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_ZSTR_LEN
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_zend_string_init
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ZVAL_NEW_STR                   ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GC_ADDREF                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_GC_PERSISTENT,4,2              ## @GC_PERSISTENT
	.no_dead_strip	_browscap_zval_copy_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function browscap_zval_copy_ctor
_browscap_zval_copy_ctor:               ; @browscap_zval_copy_ctor
	.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	_Z_REFCOUNTED_P
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_Z_TYPE_P
Lloh0:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_ZEND_ASSERT
	mov	x0, x19
	bl	_Z_STR_P
	mov	x20, x0
	bl	_GC_FLAGS
Lloh3:
	adrp	x8, _GC_PERSISTENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GC_PERSISTENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_ZSTR_VAL
	mov	x21, x0
	mov	x0, x20
	bl	_ZSTR_LEN
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	bl	_zend_string_init
	mov	x1, x0
	mov	x0, x19
	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
	b	_ZVAL_NEW_STR
LBB0_3:
	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
LBB0_4:
	mov	x0, x20
	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
	b	_GC_ADDREF
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_GC_PERSISTENT,4,2              ; @GC_PERSISTENT
	.no_dead_strip	_browscap_zval_copy_ctor
.subsections_via_symbols
