	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LookupExplicitNamespace        ## -- Begin function LookupExplicitNamespace
	.p2align	4, 0x90
_LookupExplicitNamespace:               ## @LookupExplicitNamespace
	.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	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_get_namespace_oid
	movl	%eax, %r15d
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.4:
	movl	%r15d, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_USAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pg_namespace_aclcheck
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_OBJECT_SCHEMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movq	%r14, %rdx
	callq	_aclcheck_error
LBB0_8:
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_InvokeNamespaceSearchHook
	jmp	LBB0_9
LBB0_1:
	movq	_myTempNamespace@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %r15d
	jmp	LBB0_9
LBB0_5:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pg_temp"

	.comm	_myTempNamespace,4,2            ## @myTempNamespace
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ACL_USAGE,4,2                  ## @ACL_USAGE
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_OBJECT_SCHEMA,4,2              ## @OBJECT_SCHEMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LookupExplicitNamespace        ; -- Begin function LookupExplicitNamespace
	.p2align	2
_LookupExplicitNamespace:               ; @LookupExplicitNamespace
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
LBB0_1:
	mov	x0, x19
	mov	x1, x21
	bl	_get_namespace_oid
	mov	x20, x0
	cbz	w21, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_OidIsValid
	cbz	x0, LBB0_8
LBB0_3:
	bl	_GetUserId
	mov	x1, x0
Lloh2:
	adrp	x8, _ACL_USAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACL_USAGE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_pg_namespace_aclcheck
Lloh5:
	adrp	x8, _ACLCHECK_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACLCHECK_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _OBJECT_SCHEMA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OBJECT_SCHEMA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_aclcheck_error
LBB0_5:
	mov	x0, x20
	mov	w1, #1
	bl	_InvokeNamespaceSearchHook
	b	LBB0_9
LBB0_6:
Lloh11:
	adrp	x20, _myTempNamespace@GOTPAGE
Lloh12:
	ldr	x20, [x20, _myTempNamespace@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_OidIsValid
	cbz	x0, LBB0_1
; %bb.7:
	ldr	w20, [x20]
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
LBB0_9:
	mov	x0, x20
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pg_temp"

	.comm	_myTempNamespace,4,2            ; @myTempNamespace
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ACL_USAGE,4,2                  ; @ACL_USAGE
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_OBJECT_SCHEMA,4,2              ; @OBJECT_SCHEMA
.subsections_via_symbols
