	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_option_array_item
_validate_option_array_item:            ## @validate_option_array_item
	.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, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_find_option
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	_GUC_CUSTOM_PLACEHOLDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	callq	_superuser
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.5:
	movl	$0, %ebx
	testl	%r15d, %r15d
	jne	LBB0_15
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	8(%r13), %rax
	movq	_PGC_USERSET@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_8
LBB0_12:
	xorl	%eax, %eax
	callq	_superuser
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_PGC_SUSET@GOTPCREL(%rip), %r13
LBB0_14:
	movq	(%r13), %rdx
	movq	_PGC_S_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GUC_ACTION_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_set_config_option
	addq	$16, %rsp
	movl	$1, %ebx
	jmp	LBB0_15
LBB0_1:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_2
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_PGC_SUSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_superuser
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.10:
	testq	%rax, %rax
	je	LBB0_15
	jmp	LBB0_12
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_3
LBB0_11:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	jne	LBB0_15
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized configuration parameter \"%s\""

	.comm	_GUC_CUSTOM_PLACEHOLDER,4,2     ## @GUC_CUSTOM_PLACEHOLDER
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ## @ERRCODE_INSUFFICIENT_PRIVILEGE
L_.str.1:                               ## @.str.1
	.asciz	"permission denied to set parameter \"%s\""

	.comm	_PGC_USERSET,8,3                ## @PGC_USERSET
	.comm	_PGC_SUSET,8,3                  ## @PGC_SUSET
	.comm	_PGC_S_TEST,4,2                 ## @PGC_S_TEST
	.comm	_GUC_ACTION_SET,4,2             ## @GUC_ACTION_SET
	.no_dead_strip	_validate_option_array_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_option_array_item
_validate_option_array_item:            ; @validate_option_array_item
	.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	x8, _WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_find_option
	mov	x22, x0
	cbz	x0, LBB0_8
LBB0_1:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _GUC_CUSTOM_PLACEHOLDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GUC_CUSTOM_PLACEHOLDER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	bl	_superuser
	cbnz	x0, LBB0_7
; %bb.3:
	cbnz	w21, LBB0_9
; %bb.4:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_5:
	ldr	x8, [x22, #8]
Lloh14:
	adrp	x22, _PGC_USERSET@GOTPAGE
Lloh15:
	ldr	x22, [x22, _PGC_USERSET@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh16:
	adrp	x23, _PGC_SUSET@GOTPAGE
Lloh17:
	ldr	x23, [x23, _PGC_SUSET@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_6:
	bl	_superuser
	cmp	x0, #0
	csel	x8, x22, x23, eq
	ldr	x2, [x8]
Lloh18:
	adrp	x8, _PGC_S_TEST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PGC_S_TEST@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _GUC_ACTION_SET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GUC_ACTION_SET@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_set_config_option
LBB0_7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
	cbz	w21, LBB0_14
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
LBB0_11:
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.12:
	bl	_superuser
	cbz	w21, LBB0_6
; %bb.13:
	cbz	x0, LBB0_10
	b	LBB0_6
LBB0_14:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w23, [x8]
Lloh27:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	b	LBB0_1
LBB0_15:
	cbnz	w21, LBB0_9
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized configuration parameter \"%s\""

	.comm	_GUC_CUSTOM_PLACEHOLDER,4,2     ; @GUC_CUSTOM_PLACEHOLDER
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ; @ERRCODE_INSUFFICIENT_PRIVILEGE
l_.str.1:                               ; @.str.1
	.asciz	"permission denied to set parameter \"%s\""

	.comm	_PGC_USERSET,8,3                ; @PGC_USERSET
	.comm	_PGC_SUSET,8,3                  ; @PGC_SUSET
	.comm	_PGC_S_TEST,4,2                 ; @PGC_S_TEST
	.comm	_GUC_ACTION_SET,4,2             ; @GUC_ACTION_SET
	.no_dead_strip	_validate_option_array_item
.subsections_via_symbols
