	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_overflow2                      ## -- Begin function overflow2
	.p2align	4, 0x90
_overflow2:                             ## @overflow2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdx
	testl	%edi, %edi
	jle	LBB0_4
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_4
## %bb.2:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%edi, %ecx
	jge	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_php_error_docref
	movl	$1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
L_.str.1:                               ## @.str.1
	.asciz	"product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_overflow2                      ; -- Begin function overflow2
	.p2align	2
_overflow2:                             ; @overflow2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sdiv	w8, w8, w1
	cmp	w8, w0
	b.ge	LBB0_5
; %bb.3:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
Lloh7:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_php_error_docref
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
l_.str.1:                               ; @.str.1
	.asciz	"product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n"

.subsections_via_symbols
