	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oreallocarrayxz                ## -- Begin function oreallocarrayxz
	.p2align	4, 0x90
_oreallocarrayxz:                       ## @oreallocarrayxz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	_MUL_NO_OVERFLOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_4
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	cmpq	%r8, %rax
	jbe	LBB0_5
	jmp	LBB0_3
LBB0_4:
	testq	%rsi, %rsi
	je	LBB0_3
LBB0_5:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:
	xorl	%edx, %edx
	divq	%rsi
	cmpq	%r8, %rax
	jb	LBB0_9
LBB0_3:
	imulq	%rsi, %r8
	addq	%rcx, %r8
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r8, %rsi
	xorl	%edx, %edx
	xorl	%eax, %eax
	popq	%rbp
	jmp	_ereallocz                      ## TAILCALL
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%r8, %rax
	jae	LBB0_3
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_msyslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_MUL_NO_OVERFLOW,8,3            ## @MUL_NO_OVERFLOW
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fatal allocation size overflow"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oreallocarrayxz                ; -- Begin function oreallocarrayxz
	.p2align	2
_oreallocarrayxz:                       ; @oreallocarrayxz
	.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	x8, _MUL_NO_OVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MUL_NO_OVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_3
; %bb.1:
	cbz	x1, LBB0_5
; %bb.2:
	cmp	x8, x2
	b.ls	LBB0_4
	b	LBB0_5
LBB0_3:
	cbz	x1, LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	udiv	x8, x8, x1
	cmp	x8, x2
	b.lo	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	madd	x1, x2, x1, x3
Lloh8:
	ldr	w3, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ereallocz
LBB0_6:
Lloh9:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MUL_NO_OVERFLOW,8,3            ; @MUL_NO_OVERFLOW
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fatal allocation size overflow"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
