	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repalloc_huge                  ## -- Begin function repalloc_huge
	.p2align	4, 0x90
_repalloc_huge:                         ## @repalloc_huge
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_GetMemoryChunkContext
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_AllocHugeSizeIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_elog
LBB0_2:
	movq	%rbx, %rdi
	callq	_AssertNotInCriticalSection
	xorl	%edi, %edi
	cmpl	$0, 16(%rbx)
	sete	%dil
	callq	_Assert
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	*(%rax)
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextStats
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	callq	_errdetail
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_VALGRIND_MEMPOOL_CHANGE
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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 memory alloc request size %zu"

	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

L_.str.2:                               ## @.str.2
	.asciz	"Failed on request of size %zu in memory context \"%s\"."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repalloc_huge                  ; -- Begin function repalloc_huge
	.p2align	2
_repalloc_huge:                         ; @repalloc_huge
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_GetMemoryChunkContext
	mov	x21, x0
	mov	x0, x19
	bl	_AllocHugeSizeIsValid
Lloh0:
	adrp	x23, _ERROR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_2:
	mov	x0, x21
	bl	_AssertNotInCriticalSection
	ldr	w8, [x21, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_MemoryContextStats
	ldr	w23, [x23]
Lloh7:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	ldr	w2, [x21]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_errdetail
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	bl	_VALGRIND_MEMPOOL_CHANGE
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid memory alloc request size %zu"

	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

l_.str.2:                               ; @.str.2
	.asciz	"Failed on request of size %zu in memory context \"%s\"."

.subsections_via_symbols
