	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveSubscriptionRel          ## -- Begin function RemoveSubscriptionRel
	.p2align	4, 0x90
_RemoveSubscriptionRel:                 ## @RemoveSubscriptionRel
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SubscriptionRelRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_Anum_pg_subscription_rel_srsubid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	%r14d, %r15d
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r14d
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movl	$1, %r15d
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movl	%r14d, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %eax
	incl	%r15d
	leaq	-56(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_Anum_pg_subscription_rel_srrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	%r14d, %edi
	movl	(%rax), %r14d
	callq	_ObjectIdGetDatum
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
LBB0_5:
	leaq	-56(%rbp), %rdx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_table_beginscan_catalog
	movl	%eax, %r14d
	movq	_ForwardScanDirection@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	callq	_heap_getnext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_CatalogTupleDelete
	movl	(%r15), %esi
	movl	%r14d, %edi
	jmp	LBB0_7
LBB0_8:
	movl	%r14d, %edi
	callq	_table_endscan
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SubscriptionRelRelationId,4,2  ## @SubscriptionRelRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_Anum_pg_subscription_rel_srsubid,4,2 ## @Anum_pg_subscription_rel_srsubid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_Anum_pg_subscription_rel_srrelid,4,2 ## @Anum_pg_subscription_rel_srrelid
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveSubscriptionRel          ; -- Begin function RemoveSubscriptionRel
	.p2align	2
_RemoveSubscriptionRel:                 ; @RemoveSubscriptionRel
	.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	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, _SubscriptionRelRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SubscriptionRelRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x25, _RowExclusiveLock@GOTPAGE
Lloh7:
	ldr	x25, [x25, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_table_open
	mov	x19, x0
	mov	x0, x21
	bl	_OidIsValid
Lloh8:
	adrp	x26, _BTEqualStrategyNumber@GOTPAGE
Lloh9:
	ldr	x26, [x26, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh10:
	adrp	x27, _F_OIDEQ@GOTPAGE
Lloh11:
	ldr	x27, [x27, _F_OIDEQ@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _Anum_pg_subscription_rel_srsubid@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Anum_pg_subscription_rel_srsubid@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	ldr	w23, [x26]
	ldr	w24, [x27]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x0, sp
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
	mov	w21, #1
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	mov	x0, x20
	bl	_OidIsValid
	cbz	x0, LBB0_5
; %bb.4:
	add	w28, w21, #1
	mov	x8, sp
	add	x21, x8, w21, uxtw #2
Lloh15:
	adrp	x8, _Anum_pg_subscription_rel_srrelid@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Anum_pg_subscription_rel_srrelid@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	ldr	w23, [x26]
	ldr	w24, [x27]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
	mov	x21, x28
LBB0_5:
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	bl	_table_beginscan_catalog
	mov	x20, x0
Lloh18:
	adrp	x22, _ForwardScanDirection@GOTPAGE
Lloh19:
	ldr	x22, [x22, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x22]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_heap_getnext
	mov	x21, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_CatalogTupleDelete
	ldr	w1, [x22]
	mov	x0, x20
	b	LBB0_6
LBB0_8:
	mov	x0, x20
	bl	_table_endscan
	ldr	w1, [x25]
	mov	x0, x19
	bl	_table_close
	ldr	x8, [sp, #8]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SubscriptionRelRelationId,4,2  ; @SubscriptionRelRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_Anum_pg_subscription_rel_srsubid,4,2 ; @Anum_pg_subscription_rel_srsubid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_Anum_pg_subscription_rel_srrelid,4,2 ; @Anum_pg_subscription_rel_srrelid
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
.subsections_via_symbols
