	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetPGVariable                  ## -- Begin function SetPGVariable
	.p2align	4, 0x90
_SetPGVariable:                         ## @SetPGVariable
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %rbx
	callq	_flatten_set_variable_args
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_superuser
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_PGC_USERSET@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PGC_SUSET@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_PGC_S_SESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.5:
	movq	_GUC_ACTION_SET@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_GUC_ACTION_LOCAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	pushq	$0
	pushq	$0
	callq	_set_config_option
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGC_SUSET,4,2                  ## @PGC_SUSET
	.comm	_PGC_USERSET,4,2                ## @PGC_USERSET
	.comm	_PGC_S_SESSION,4,2              ## @PGC_S_SESSION
	.comm	_GUC_ACTION_LOCAL,4,2           ## @GUC_ACTION_LOCAL
	.comm	_GUC_ACTION_SET,4,2             ## @GUC_ACTION_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetPGVariable                  ; -- Begin function SetPGVariable
	.p2align	2
_SetPGVariable:                         ; @SetPGVariable
	.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	x19, x2
	mov	x20, x0
	bl	_flatten_set_variable_args
	mov	x21, x0
	bl	_superuser
Lloh0:
	adrp	x8, _PGC_SUSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGC_SUSET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PGC_USERSET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PGC_USERSET@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
Lloh4:
	adrp	x8, _PGC_S_SESSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PGC_S_SESSION@GOTPAGEOFF]
Lloh6:
	adrp	x9, _GUC_ACTION_LOCAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GUC_ACTION_LOCAL@GOTPAGEOFF]
Lloh8:
	adrp	x10, _GUC_ACTION_SET@GOTPAGE
Lloh9:
	ldr	x10, [x10, _GUC_ACTION_SET@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	cmp	w19, #0
	csel	x8, x10, x9, eq
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w5, #1
	mov	w6, #0
	mov	w7, #0
	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
	b	_set_config_option
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PGC_SUSET,4,2                  ; @PGC_SUSET
	.comm	_PGC_USERSET,4,2                ; @PGC_USERSET
	.comm	_PGC_S_SESSION,4,2              ; @PGC_S_SESSION
	.comm	_GUC_ACTION_LOCAL,4,2           ; @GUC_ACTION_LOCAL
	.comm	_GUC_ACTION_SET,4,2             ; @GUC_ACTION_SET
.subsections_via_symbols
