	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetSessionUserId
_SetSessionUserId:                      ## @SetSessionUserId
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_SecurityRestrictionContext@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_AssertState
	movq	%rbx, %rdi
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_AssertArg
	movq	_SessionUserId@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_SessionUserIsSuperuser@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_SetRoleIsActive@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_OuterUserId@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_CurrentUserId@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SecurityRestrictionContext,8,3 ## @SecurityRestrictionContext
	.comm	_SessionUserId,8,3              ## @SessionUserId
	.comm	_SessionUserIsSuperuser,4,2     ## @SessionUserIsSuperuser
	.comm	_SetRoleIsActive,4,2            ## @SetRoleIsActive
	.comm	_OuterUserId,8,3                ## @OuterUserId
	.comm	_CurrentUserId,8,3              ## @CurrentUserId
	.no_dead_strip	_SetSessionUserId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetSessionUserId
_SetSessionUserId:                      ; @SetSessionUserId
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SecurityRestrictionContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SecurityRestrictionContext@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_AssertState
	mov	x0, x20
	bl	_OidIsValid
	bl	_AssertArg
Lloh3:
	adrp	x8, _SessionUserId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SessionUserId@GOTPAGEOFF]
Lloh5:
	str	x20, [x8]
Lloh6:
	adrp	x8, _SessionUserIsSuperuser@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SessionUserIsSuperuser@GOTPAGEOFF]
Lloh8:
	str	w19, [x8]
Lloh9:
	adrp	x8, _SetRoleIsActive@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SetRoleIsActive@GOTPAGEOFF]
Lloh11:
	str	wzr, [x8]
Lloh12:
	adrp	x8, _OuterUserId@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OuterUserId@GOTPAGEOFF]
Lloh14:
	str	x20, [x8]
Lloh15:
	adrp	x8, _CurrentUserId@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CurrentUserId@GOTPAGEOFF]
Lloh17:
	str	x20, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SecurityRestrictionContext,8,3 ; @SecurityRestrictionContext
	.comm	_SessionUserId,8,3              ; @SessionUserId
	.comm	_SessionUserIsSuperuser,4,2     ; @SessionUserIsSuperuser
	.comm	_SetRoleIsActive,4,2            ; @SetRoleIsActive
	.comm	_OuterUserId,8,3                ; @OuterUserId
	.comm	_CurrentUserId,8,3              ; @CurrentUserId
	.no_dead_strip	_SetSessionUserId
.subsections_via_symbols
