	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_relation_policy_oid        ## -- Begin function get_relation_policy_oid
	.p2align	4, 0x90
_get_relation_policy_oid:               ## @get_relation_policy_oid
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PolicyRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_Anum_pg_policy_polrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	leaq	-52(%rbp), %r15
	movq	_Anum_pg_policy_polname@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_NAMEEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_CStringGetDatum
	movq	%r15, %rdi
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_PolicyPolrelidPolnameIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	leaq	-56(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	%rax, %r12
	jmp	LBB0_4
LBB0_1:
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	_InvalidOid@GOTPCREL(%rip), %r12
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r13d, %edi
	callq	_get_rel_name
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_errmsg
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movl	(%r12), %ebx
	movl	%r14d, %edi
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PolicyRelationId,4,2           ## @PolicyRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_policy_polrelid,4,2    ## @Anum_pg_policy_polrelid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_Anum_pg_policy_polname,4,2     ## @Anum_pg_policy_polname
	.comm	_F_NAMEEQ,4,2                   ## @F_NAMEEQ
	.comm	_PolicyPolrelidPolnameIndexId,4,2 ## @PolicyPolrelidPolnameIndexId
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"policy \"%s\" for table \"%s\" does not exist"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_relation_policy_oid        ; -- Begin function get_relation_policy_oid
	.p2align	2
_get_relation_policy_oid:               ; @get_relation_policy_oid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _PolicyRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PolicyRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x27, _AccessShareLock@GOTPAGE
Lloh7:
	ldr	x27, [x27, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_table_open
	mov	x19, x0
Lloh8:
	adrp	x8, _Anum_pg_policy_polrelid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Anum_pg_policy_polrelid@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
Lloh11:
	adrp	x26, _BTEqualStrategyNumber@GOTPAGE
Lloh12:
	ldr	x26, [x26, _BTEqualStrategyNumber@GOTPAGEOFF]
	ldr	w24, [x26]
Lloh13:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh15:
	ldr	w25, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x28, sp
	mov	x0, sp
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_ScanKeyInit
Lloh16:
	adrp	x8, _Anum_pg_policy_polname@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Anum_pg_policy_polname@GOTPAGEOFF]
	add	x23, x28, #4
Lloh18:
	ldr	w24, [x8]
	ldr	w25, [x26]
Lloh19:
	adrp	x8, _F_NAMEEQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _F_NAMEEQ@GOTPAGEOFF]
Lloh21:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_CStringGetDatum
	mov	x4, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	bl	_ScanKeyInit
Lloh22:
	adrp	x8, _PolicyPolrelidPolnameIndexId@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PolicyPolrelidPolnameIndexId@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x5, sp
	mov	x0, x19
	mov	w2, #1
	mov	x3, #0
	mov	w4, #2
	bl	_systable_beginscan
	mov	x23, x0
	bl	_systable_getnext
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_GETSTRUCT
	b	LBB0_5
LBB0_2:
	cbnz	w22, LBB0_4
; %bb.3:
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
Lloh28:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x21
	bl	_get_rel_name
	mov	x2, x0
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_4:
Lloh33:
	adrp	x0, _InvalidOid@GOTPAGE
Lloh34:
	ldr	x0, [x0, _InvalidOid@GOTPAGEOFF]
LBB0_5:
	ldr	w20, [x0]
	mov	x0, x23
	bl	_systable_endscan
	ldr	w1, [x27]
	mov	x0, x19
	bl	_table_close
	ldr	x8, [sp, #8]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_PolicyRelationId,4,2           ; @PolicyRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_policy_polrelid,4,2    ; @Anum_pg_policy_polrelid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_Anum_pg_policy_polname,4,2     ; @Anum_pg_policy_polname
	.comm	_F_NAMEEQ,4,2                   ; @F_NAMEEQ
	.comm	_PolicyPolrelidPolnameIndexId,4,2 ; @PolicyPolrelidPolnameIndexId
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"policy \"%s\" for table \"%s\" does not exist"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
.subsections_via_symbols
