	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_superuser_arg                  ## -- Begin function superuser_arg
	.p2align	4, 0x90
_superuser_arg:                         ## @superuser_arg
	.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
	movq	%rdi, %r14
	movq	_last_roleid@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%r14, (%r12)
	jne	LBB0_3
## %bb.2:
	movq	_last_roleid_is_super@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_BOOTSTRAP_SUPERUSERID@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	%r14, (%rax)
	je	LBB0_11
LBB0_5:
	movq	_AUTHOID@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%r15d, %edi
	callq	_GETSTRUCT
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_ReleaseSysCache
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movq	_roleid_callback_registered@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_10
## %bb.9:
	movl	(%r13), %edi
	movq	_RoleidCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_CacheRegisterSyscacheCallback
	movl	$1, (%r15)
LBB0_10:
	movq	%r14, (%r12)
	movq	_last_roleid_is_super@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_roleid,8,3                ## @last_roleid
	.comm	_last_roleid_is_super,4,2       ## @last_roleid_is_super
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_BOOTSTRAP_SUPERUSERID,8,3      ## @BOOTSTRAP_SUPERUSERID
	.comm	_AUTHOID,4,2                    ## @AUTHOID
	.comm	_roleid_callback_registered,4,2 ## @roleid_callback_registered
	.comm	_RoleidCallback,4,2             ## @RoleidCallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_superuser_arg                  ; -- Begin function superuser_arg
	.p2align	2
_superuser_arg:                         ; @superuser_arg
	.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, x0
Lloh0:
	adrp	x22, _last_roleid@GOTPAGE
Lloh1:
	ldr	x22, [x22, _last_roleid@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_OidIsValid
	ldr	x8, [x22]
	cmp	x0, #0
	ccmp	x8, x19, #0, ne
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _IsUnderPostmaster@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IsUnderPostmaster@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BOOTSTRAP_SUPERUSERID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BOOTSTRAP_SUPERUSERID@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, x19, #0, eq
	b.eq	LBB0_5
; %bb.2:
Lloh8:
	adrp	x23, _AUTHOID@GOTPAGE
Lloh9:
	ldr	x23, [x23, _AUTHOID@GOTPAGEOFF]
	ldr	w20, [x23]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x21, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	bl	_GETSTRUCT
	ldr	w20, [x0]
	mov	x0, x21
	bl	_ReleaseSysCache
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _last_roleid_is_super@GOTPAGE
Lloh11:
	ldr	x8, [x8, _last_roleid_is_super@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_5:
	mov	w20, #1
	b	LBB0_10
LBB0_6:
	mov	w20, #0
LBB0_7:
Lloh13:
	adrp	x21, _roleid_callback_registered@GOTPAGE
Lloh14:
	ldr	x21, [x21, _roleid_callback_registered@GOTPAGEOFF]
	ldr	w8, [x21]
	cbnz	w8, LBB0_9
; %bb.8:
	ldr	w0, [x23]
Lloh15:
	adrp	x8, _RoleidCallback@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RoleidCallback@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_CacheRegisterSyscacheCallback
	mov	w8, #1
	str	w8, [x21]
LBB0_9:
	str	x19, [x22]
Lloh18:
	adrp	x8, _last_roleid_is_super@GOTPAGE
Lloh19:
	ldr	x8, [x8, _last_roleid_is_super@GOTPAGEOFF]
Lloh20:
	str	w20, [x8]
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_last_roleid,8,3                ; @last_roleid
	.comm	_last_roleid_is_super,4,2       ; @last_roleid_is_super
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_BOOTSTRAP_SUPERUSERID,8,3      ; @BOOTSTRAP_SUPERUSERID
	.comm	_AUTHOID,4,2                    ; @AUTHOID
	.comm	_roleid_callback_registered,4,2 ; @roleid_callback_registered
	.comm	_RoleidCallback,4,2             ; @RoleidCallback
.subsections_via_symbols
