	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GenerationContextCreate        ## -- Begin function GenerationContextCreate
	.p2align	4, 0x90
_GenerationContextCreate:               ## @GenerationContextCreate
	.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	%edx, %r12d
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_Generation_CHUNKHDRSZ@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movl	%ebx, %edi
	callq	_MAXALIGN
	cltq
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_StaticAssertStmt
	movq	_GenerationChunk@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	$4, %rax
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_StaticAssertStmt
	movl	%r12d, %edi
	callq	_MAXALIGN
	cmpl	$1024, %r12d                    ## imm = 0x400
	jl	LBB0_3
## %bb.1:
	cmpl	%r12d, %eax
	jne	LBB0_3
## %bb.2:
	movl	%r12d, %edi
	callq	_AllocHugeSizeIsValid
	testl	%eax, %eax
	jne	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	callq	_elog
LBB0_4:
	movl	$16, %edi
	callq	_MAXALIGN
	movl	%eax, %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	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.3(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	callq	_errdetail
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movl	%r12d, (%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_dlist_init
	movq	_T_GenerationContext@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GenerationMethods@GOTPCREL(%rip), %rdx
	movl	%ebx, %edi
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_MemoryContextCreate
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Generation_CHUNKHDRSZ,8,3      ## @Generation_CHUNKHDRSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sizeof(GenerationChunk) is not maxaligned"

	.comm	_GenerationChunk,4,2            ## @GenerationChunk
	.comm	_context,4,2                    ## @context
L_.str.1:                               ## @.str.1
	.asciz	"padding calculation in GenerationChunk is wrong"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"invalid blockSize for memory context: %zu"

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

L_.str.4:                               ## @.str.4
	.asciz	"Failed while creating memory context \"%s\"."

	.comm	_T_GenerationContext,4,2        ## @T_GenerationContext
	.comm	_GenerationMethods,4,2          ## @GenerationMethods
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GenerationContextCreate        ; -- Begin function GenerationContextCreate
	.p2align	2
_GenerationContextCreate:               ; @GenerationContextCreate
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _Generation_CHUNKHDRSZ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _Generation_CHUNKHDRSZ@GOTPAGEOFF]
	ldr	x22, [x23]
	mov	x0, x22
	bl	_MAXALIGN
	cmp	x22, w0, sxtw
	cset	w0, eq
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_StaticAssertStmt
Lloh4:
	adrp	x8, _GenerationChunk@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GenerationChunk@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _context@GOTPAGE
Lloh8:
	ldr	x8, [x8, _context@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_offsetof
	add	x8, x0, #4
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, eq
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_StaticAssertStmt
	mov	x0, x21
	bl	_MAXALIGN
Lloh12:
	adrp	x23, _ERROR@GOTPAGE
Lloh13:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cmp	w21, #1024
	b.lt	LBB0_3
; %bb.1:
	cmp	w0, w21
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_AllocHugeSizeIsValid
	cbnz	w0, LBB0_4
LBB0_3:
	ldr	w0, [x23]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_4:
	mov	w0, #16
	bl	_MAXALIGN
	bl	_malloc
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_MemoryContextStats
	ldr	w23, [x23]
Lloh19:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_errcode
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_errdetail
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_6:
	str	w21, [x22]
	str	xzr, [x22, #8]
	add	x0, x22, #4
	bl	_dlist_init
Lloh26:
	adrp	x8, _T_GenerationContext@GOTPAGE
Lloh27:
	ldr	x8, [x8, _T_GenerationContext@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, _GenerationMethods@GOTPAGE
Lloh30:
	ldr	x2, [x2, _GenerationMethods@GOTPAGEOFF]
	mov	x0, x22
	mov	x3, x20
	mov	x4, x19
	bl	_MemoryContextCreate
	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	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_Generation_CHUNKHDRSZ,8,3      ; @Generation_CHUNKHDRSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sizeof(GenerationChunk) is not maxaligned"

	.comm	_GenerationChunk,4,2            ; @GenerationChunk
	.comm	_context,4,2                    ; @context
l_.str.1:                               ; @.str.1
	.asciz	"padding calculation in GenerationChunk is wrong"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"invalid blockSize for memory context: %zu"

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

l_.str.4:                               ; @.str.4
	.asciz	"Failed while creating memory context \"%s\"."

	.comm	_T_GenerationContext,4,2        ; @T_GenerationContext
	.comm	_GenerationMethods,4,2          ; @GenerationMethods
.subsections_via_symbols
