	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x2nrealloc_inline
_x2nrealloc_inline:                     ## @x2nrealloc_inline
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r12, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rbx, %rax
	jae	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_xalloc_die
LBB0_11:
	addq	%rbx, %rbx
	jmp	LBB0_12
LBB0_1:
	testq	%rbx, %rbx
	jne	LBB0_12
## %bb.2:
	cmpq	$64, %r12
	ja	LBB0_3
## %bb.4:
	movl	$64, %eax
	xorl	%edx, %edx
	divl	%r12d
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_7:
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%rbx, %rax
	jb	LBB0_10
	jmp	LBB0_11
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	cmpq	$65, %r12
	sbbq	$-1, %rbx
LBB0_12:
	movq	%rbx, (%r15)
	imulq	%rbx, %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xrealloc                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.no_dead_strip	_x2nrealloc_inline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x2nrealloc_inline
_x2nrealloc_inline:                     ; @x2nrealloc_inline
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x1]
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	sbfx	x8, x8, #1, #31
	udiv	x8, x8, x19
	cmp	x8, x22
	b.hs	LBB0_3
; %bb.2:
	bl	_xalloc_die
LBB0_3:
	lsl	x22, x22, #1
	b	LBB0_6
LBB0_4:
	cbnz	x22, LBB0_6
; %bb.5:
	mov	w8, #64
	udiv	x8, x8, x19
	cmp	x19, #64
	cinc	x22, x8, hi
LBB0_6:
	str	x22, [x21]
	mul	x1, x22, x19
	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	_xrealloc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.no_dead_strip	_x2nrealloc_inline
.subsections_via_symbols
