	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_object_address_usermapping
_get_object_address_usermapping:        ## @get_object_address_usermapping
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	_UserMappingRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_InvalidOid@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_ObjectAddressSet
	movq	%rbx, %rdi
	callq	_linitial
	movl	%eax, %edi
	callq	_strVal
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_lsecond
	movl	%eax, %edi
	callq	_strVal
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_AUTHNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_CStringGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	jmp	LBB0_6
LBB0_1:
	movl	(%r15), %r13d
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_GetForeignServerByName
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rax, %rbx
	movq	_USERMAPPINGUSERSERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_ObjectIdGetDatum
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_SearchSysCache2
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_3
## %bb.11:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	jmp	LBB0_12
LBB0_3:
                                        ## implicit-def: $r13d
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_9
LBB0_7:
                                        ## implicit-def: $r13d
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
LBB0_9:
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
                                        ## implicit-def: $r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UserMappingRelationId,4,2      ## @UserMappingRelationId
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"public"

	.comm	_AUTHNAME,4,2                   ## @AUTHNAME
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
L_.str.1:                               ## @.str.1
	.asciz	"user mapping for user \"%s\" on server \"%s\" does not exist"

L_.str.2:                               ## @.str.2
	.asciz	"server \"%s\" does not exist"

	.comm	_USERMAPPINGUSERSERVER,4,2      ## @USERMAPPINGUSERSERVER
	.no_dead_strip	_get_object_address_usermapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_object_address_usermapping
_get_object_address_usermapping:        ; @get_object_address_usermapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _UserMappingRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UserMappingRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x22, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x22, [x22, _InvalidOid@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, #0
	bl	_ObjectAddressSet
	mov	x0, x20
	bl	_linitial
	bl	_strVal
	mov	x19, x0
	mov	x0, x20
	bl	_lsecond
	bl	_strVal
	mov	x20, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _AUTHNAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AUTHNAME@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_CStringGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	w22, [x0]
	mov	x0, x23
	bl	_ReleaseSysCache
	b	LBB0_4
LBB0_3:
	ldr	w22, [x22]
LBB0_4:
	mov	x0, x20
	mov	w1, #1
	bl	_GetForeignServerByName
	cbz	x0, LBB0_9
; %bb.5:
	mov	x23, x0
Lloh10:
	adrp	x8, _USERMAPPINGUSERSERVER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _USERMAPPINGUSERSERVER@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_ObjectIdGetDatum
	mov	x22, x0
	ldr	w0, [x23]
	bl	_ObjectIdGetDatum
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	bl	_SearchSysCache2
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	w22, [x0]
	mov	x0, x23
	bl	_ReleaseSysCache
	b	LBB0_12
LBB0_7:
                                        ; implicit-def: $w22
	cbnz	w21, LBB0_12
; %bb.8:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
Lloh16:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_errcode
	str	x20, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	b	LBB0_11
LBB0_9:
                                        ; implicit-def: $w22
	cbnz	w21, LBB0_12
; %bb.10:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
Lloh24:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_errcode
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
LBB0_11:
	bl	_ereport
                                        ; implicit-def: $w22
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_UserMappingRelationId,4,2      ; @UserMappingRelationId
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"public"

	.comm	_AUTHNAME,4,2                   ; @AUTHNAME
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
l_.str.1:                               ; @.str.1
	.asciz	"user mapping for user \"%s\" on server \"%s\" does not exist"

l_.str.2:                               ; @.str.2
	.asciz	"server \"%s\" does not exist"

	.comm	_USERMAPPINGUSERSERVER,4,2      ; @USERMAPPINGUSERSERVER
	.no_dead_strip	_get_object_address_usermapping
.subsections_via_symbols
