	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtSubAbort_Portals             ## -- Begin function AtSubAbort_Portals
	.p2align	4, 0x90
_AtSubAbort_Portals:                    ## @AtSubAbort_Portals
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_PortalHashTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hash_seq_init
	movq	%rbx, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	_PORTAL_READY@GOTPCREL(%rip), %r14
	movq	_PORTAL_ACTIVE@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_PortalReleaseCachedPlan
	movq	$0, 32(%rbx)
	movl	24(%rbx), %edi
	callq	_MemoryContextDeleteChildren
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rbx
	cmpq	%r13, (%rbx)
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r15), %rax
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_MarkPortalFailed
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rdi
	callq	_PointerIsValid
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	*40(%rbx)
	movq	$0, 40(%rbx)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, 8(%rbx)
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_MarkPortalFailed
	movq	16(%rbx), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PORTAL_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ResourceOwnerNewParent
	movq	$0, 32(%rbx)
	jmp	LBB0_15
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PortalHashTable,4,2            ## @PortalHashTable
	.comm	_PORTAL_ACTIVE,8,3              ## @PORTAL_ACTIVE
	.comm	_PORTAL_FAILED,8,3              ## @PORTAL_FAILED
	.comm	_PORTAL_READY,8,3               ## @PORTAL_READY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtSubAbort_Portals             ; -- Begin function AtSubAbort_Portals
	.p2align	2
_AtSubAbort_Portals:                    ; @AtSubAbort_Portals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PortalHashTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PortalHashTable@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_hash_seq_init
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_15
; %bb.1:
Lloh3:
	adrp	x23, _PORTAL_READY@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PORTAL_READY@GOTPAGEOFF]
Lloh5:
	adrp	x24, _PORTAL_ACTIVE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PORTAL_ACTIVE@GOTPAGEOFF]
Lloh7:
	adrp	x25, _PORTAL_FAILED@GOTPAGE
Lloh8:
	ldr	x25, [x25, _PORTAL_FAILED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_PortalReleaseCachedPlan
	str	xzr, [x22, #32]
	ldr	w0, [x22, #24]
	bl	_MemoryContextDeleteChildren
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x0]
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #16]
	ldr	x9, [x23]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_MarkPortalFailed
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #40]
	bl	_PointerIsValid
	cbz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #40]
	mov	x0, x22
	blr	x8
	str	xzr, [x22, #40]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #8]
	cmp	x8, x21
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x20, [x22, #8]
	ldr	x8, [x22, #16]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_MarkPortalFailed
	ldr	x8, [x22, #16]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #32]
	cbz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_ResourceOwnerNewParent
	str	xzr, [x22, #32]
	b	LBB0_3
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PortalHashTable,4,2            ; @PortalHashTable
	.comm	_PORTAL_ACTIVE,8,3              ; @PORTAL_ACTIVE
	.comm	_PORTAL_FAILED,8,3              ; @PORTAL_FAILED
	.comm	_PORTAL_READY,8,3               ; @PORTAL_READY
.subsections_via_symbols
