	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlargeStringInfo              ## -- Begin function enlargeStringInfo
	.p2align	4, 0x90
_enlargeStringInfo:                     ## @enlargeStringInfo
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	jns	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
LBB0_2:
	movslq	%ebx, %rcx
	movq	_MaxAllocSize@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movslq	(%r14), %rax
	subq	%rax, %rdx
	cmpq	%rcx, %rdx
	jg	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %edx
	callq	_errdetail
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	(%r14), %eax
LBB0_4:
	leal	(%rbx,%rax), %ecx
	incl	%ecx
	movl	4(%r14), %eax
	cmpl	%eax, %ecx
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	cmpl	%eax, %ecx
	jg	LBB0_5
## %bb.6:
	movl	(%r12), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_repalloc
	movq	%rax, 8(%r14)
	movl	%ebx, 4(%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid string enlargement request size: %d"

	.comm	_MaxAllocSize,8,3               ## @MaxAllocSize
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot enlarge string buffer containing %d bytes by %d more bytes."

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlargeStringInfo              ; -- Begin function enlargeStringInfo
	.p2align	2
_enlargeStringInfo:                     ; @enlargeStringInfo
	.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	x20, x1
	mov	x19, x0
	tbz	w1, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
Lloh5:
	adrp	x22, _MaxAllocSize@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MaxAllocSize@GOTPAGEOFF]
	ldr	x9, [x22]
	ldrsw	x8, [x19]
	sub	x9, x9, x8
	cmp	x9, w20, sxtw
	b.gt	LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
Lloh10:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_errcode
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	ldr	w1, [x19]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	ldr	w8, [x19]
LBB0_4:
	add	w8, w20, w8
	add	w9, w8, #1
	ldr	w8, [x19, #4]
	cmp	w9, w8
	b.le	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w8, #1
	cmp	w9, w8
	b.gt	LBB0_5
; %bb.6:
	ldr	w9, [x22]
	cmp	w8, w9
	csel	w20, w8, w9, lt
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_repalloc
	str	x0, [x19, #8]
	str	w20, [x19, #4]
LBB0_7:
	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
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid string enlargement request size: %d"

	.comm	_MaxAllocSize,8,3               ; @MaxAllocSize
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot enlarge string buffer containing %d bytes by %d more bytes."

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
