	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function from_zval_integer_common
_from_zval_integer_common:              ## @from_zval_integer_common
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-28(%rbp), %r15
	movq	%r15, %rdi
	callq	_ZVAL_NULL
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	cmpl	$130, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %r15
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ZVAL_COPY
LBB0_3:
	movq	%r15, %rdi
	callq	_Z_TYPE_P
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.4:
	cmpl	$131, %eax
	je	LBB0_12
## %bb.5:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	jmp	LBB0_16
LBB0_7:
	leaq	-28(%rbp), %rdi
	callq	_try_convert_to_string
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	-28(%rbp), %edi
	callq	_Z_STRVAL
	movl	%eax, %ebx
	movl	-28(%rbp), %edi
	callq	_Z_STRLEN
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	callq	_is_numeric_string
	cmpl	$130, %eax
	je	LBB0_14
## %bb.10:
	cmpl	$131, %eax
	jne	LBB0_13
## %bb.11:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_zval_ptr_dtor_str
	movsd	-40(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	callq	_ZVAL_DOUBLE
LBB0_12:
	leaq	-28(%rbp), %rdi
	callq	_convert_to_long
	jmp	LBB0_6
LBB0_8:
	movl	$1, (%r14)
	jmp	LBB0_17
LBB0_14:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_zval_ptr_dtor_str
	movl	-32(%rbp), %esi
	movq	%rbx, %rdi
	callq	_ZVAL_LONG
LBB0_6:
	movq	%r15, %rdi
	callq	_Z_LVAL_P
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_13:
	movq	%r15, %rdi
	callq	_Z_STRVAL_P
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
LBB0_16:
	callq	_do_from_zval_err
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	leaq	-28(%rbp), %rdi
	callq	_zval_ptr_dtor
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected an integer, but got a non numeric string (possibly from a converted object): '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"expected an integer, either of a PHP integer type or of a convertible type"

	.no_dead_strip	_from_zval_integer_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function from_zval_integer_common
_from_zval_integer_common:              ; @from_zval_integer_common
	.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, x1
	mov	x19, x0
	add	x0, sp, #12
	bl	_ZVAL_NULL
	mov	x0, x19
	bl	_Z_TYPE_P
	cmp	w0, #130
	b.eq	LBB0_2
; %bb.1:
	add	x0, sp, #12
	mov	x1, x19
	bl	_ZVAL_COPY
	add	x19, sp, #12
LBB0_2:
	mov	x0, x19
	bl	_Z_TYPE_P
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.3:
	cmp	w0, #131
	b.eq	LBB0_10
; %bb.4:
	cmp	w0, #130
	b.eq	LBB0_13
; %bb.5:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_6:
	add	x0, sp, #12
	bl	_try_convert_to_string
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w0, [sp, #12]
	bl	_Z_STRVAL
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_Z_STRLEN
	mov	x1, x0
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	mov	w4, #0
	bl	_is_numeric_string
	cmp	w0, #130
	b.eq	LBB0_12
; %bb.8:
	cmp	w0, #131
	b.ne	LBB0_14
; %bb.9:
	add	x0, sp, #12
	bl	_zval_ptr_dtor_str
	ldr	d0, [sp]
	add	x0, sp, #12
	bl	_ZVAL_DOUBLE
LBB0_10:
	add	x0, sp, #12
	bl	_convert_to_long
	b	LBB0_13
LBB0_11:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_16
LBB0_12:
	add	x0, sp, #12
	bl	_zval_ptr_dtor_str
	ldr	w1, [sp, #8]
	add	x0, sp, #12
	bl	_ZVAL_LONG
LBB0_13:
	mov	x0, x19
	bl	_Z_LVAL_P
	mov	x19, x0
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	bl	_Z_STRVAL_P
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
LBB0_15:
	mov	x0, x20
	bl	_do_from_zval_err
LBB0_16:
	mov	w19, #0
LBB0_17:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	mov	x0, x19
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected an integer, but got a non numeric string (possibly from a converted object): '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"expected an integer, either of a PHP integer type or of a convertible type"

	.no_dead_strip	_from_zval_integer_common
.subsections_via_symbols
