	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function define_custom_variable
_define_custom_variable:                ## @define_custom_variable
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	_guc_variables@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_num_guc_variables@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_guc_var_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %rdi
	movl	$8, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_GUC_CUSTOM_PLACEHOLDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-32(%rbp), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%r15), %rax
LBB0_4:
	movq	16(%rax), %rax
	movq	_PGC_STRING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	(%r15), %rbx
	movq	%r14, %rdi
	callq	_InitializeOneGUCOption
	movq	%r14, (%r15)
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	-32(%rbp), %rdi
	movl	44(%rbx), %ecx
	movl	48(%rbx), %edx
	movq	_GUC_ACTION_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r9d
	pushq	$0
	pushq	%rax
	callq	_set_config_option
	addq	$16, %rsp
LBB0_6:
	xorl	%edi, %edi
	cmpq	$0, 24(%r14)
	sete	%dil
	callq	_Assert
	movl	40(%rbx), %edx
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movl	36(%rbx), %r8d
	movl	32(%rbx), %r9d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_reapply_stacked_values
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rdi
	movl	16(%rbx), %edx
	callq	_set_config_sourcefile
LBB0_8:
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_set_string_field
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_set_string_field
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_1:
	movq	%r14, %rdi
	callq	_InitializeOneGUCOption
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_add_guc_variable
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_guc_variables,8,3              ## @guc_variables
	.comm	_num_guc_variables,4,2          ## @num_guc_variables
	.comm	_guc_var_compare,4,2            ## @guc_var_compare
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_GUC_CUSTOM_PLACEHOLDER,4,2     ## @GUC_CUSTOM_PLACEHOLDER
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ## @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attempt to redefine parameter \"%s\""

	.comm	_PGC_STRING,8,3                 ## @PGC_STRING
	.comm	_GUC_ACTION_SET,4,2             ## @GUC_ACTION_SET
	.comm	_WARNING,4,2                    ## @WARNING
	.no_dead_strip	_define_custom_variable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function define_custom_variable
_define_custom_variable:                ; @define_custom_variable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x9, [x0]
	add	x8, sp, #8
	stp	x8, x9, [sp]
Lloh0:
	adrp	x8, _guc_variables@GOTPAGE
Lloh1:
	ldr	x8, [x8, _guc_variables@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _num_guc_variables@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_guc_variables@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _guc_var_compare@GOTPAGE
Lloh7:
	ldr	x8, [x8, _guc_var_compare@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, sp
	mov	w3, #8
	bl	_bsearch
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	ldr	w9, [x8, #8]
Lloh9:
	adrp	x10, _GUC_CUSTOM_PLACEHOLDER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GUC_CUSTOM_PLACEHOLDER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _ERRCODE_INTERNAL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERRCODE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x1, [sp, #8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	x8, [x21]
LBB0_3:
	ldr	x8, [x8, #16]
Lloh20:
	adrp	x9, _PGC_STRING@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PGC_STRING@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x20, [x21]
	mov	x0, x19
	bl	_InitializeOneGUCOption
	str	x19, [x21]
	ldr	x1, [x20]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [sp, #8]
	ldp	w3, w2, [x20, #44]
Lloh23:
	adrp	x8, _GUC_ACTION_SET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GUC_ACTION_SET@GOTPAGEOFF]
Lloh25:
	ldr	w4, [x8]
Lloh26:
	adrp	x8, _WARNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh28:
	ldr	w6, [x8]
	mov	w5, #1
	mov	w7, #0
	bl	_set_config_option
LBB0_5:
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldp	w4, w2, [x20, #36]
	ldr	x8, [x20, #8]
	ldr	x3, [x8]
	ldr	w5, [x20, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_reapply_stacked_values
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_7
; %bb.6:
	ldr	x0, [sp, #8]
	ldr	w2, [x20, #16]
	bl	_set_config_sourcefile
LBB0_7:
	ldr	x1, [x20, #8]
	mov	x0, x20
	mov	x2, #0
	bl	_set_string_field
	mov	x0, x20
	mov	x1, x20
	mov	x2, #0
	bl	_set_string_field
	mov	x0, x20
	bl	_free
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_InitializeOneGUCOption
Lloh29:
	adrp	x8, _ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_add_guc_variable
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_guc_variables,8,3              ; @guc_variables
	.comm	_num_guc_variables,4,2          ; @num_guc_variables
	.comm	_guc_var_compare,4,2            ; @guc_var_compare
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_GUC_CUSTOM_PLACEHOLDER,4,2     ; @GUC_CUSTOM_PLACEHOLDER
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ; @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attempt to redefine parameter \"%s\""

	.comm	_PGC_STRING,8,3                 ; @PGC_STRING
	.comm	_GUC_ACTION_SET,4,2             ; @GUC_ACTION_SET
	.comm	_WARNING,4,2                    ; @WARNING
	.no_dead_strip	_define_custom_variable
.subsections_via_symbols
