	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function from_zval_write_sun_path
_from_zval_write_sun_path:              ## @from_zval_write_sun_path
	.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	%rdx, %r15
	movq	%rsi, %r14
	leaq	-32(%rbp), %rsi
	callq	_zval_get_tmp_string
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ZSTR_LEN
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_ZSTR_LEN
	cmpq	$8, %rax
	jb	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edx
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_do_from_zval_err
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_ZSTR_VAL
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_ZSTR_LEN
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_memcpy
	movq	(%r14), %r14
	movq	%rbx, %rdi
	callq	_ZSTR_LEN
	movb	$0, (%r14,%rax)
LBB0_6:
	movq	-32(%rbp), %rdi
	callq	_zend_tmp_string_release
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"the path is cannot be empty"

L_.str.2:                               ## @.str.2
	.asciz	"the path is too long, the maximum permitted length is %zd"

	.no_dead_strip	_from_zval_write_sun_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function from_zval_write_sun_path
_from_zval_write_sun_path:              ; @from_zval_write_sun_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x1
	add	x1, sp, #8
	bl	_zval_get_tmp_string
	mov	x21, x0
	bl	_ZSTR_LEN
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_ZSTR_LEN
	cmp	x0, #8
	b.lo	LBB0_5
; %bb.2:
	mov	w8, #7
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_do_from_zval_err
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_ZSTR_VAL
	mov	x20, x0
	mov	x0, x21
	bl	_ZSTR_LEN
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	ldr	x19, [x19]
	mov	x0, x21
	bl	_ZSTR_LEN
	strb	wzr, [x19, x0]
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_zend_tmp_string_release
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"the path is cannot be empty"

l_.str.2:                               ; @.str.2
	.asciz	"the path is too long, the maximum permitted length is %zd"

	.no_dead_strip	_from_zval_write_sun_path
.subsections_via_symbols
