	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtCleanup_Portals              ## -- Begin function AtCleanup_Portals
	.p2align	4, 0x90
_AtCleanup_Portals:                     ## @AtCleanup_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PortalHashTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hash_seq_init
	movq	%rbx, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	_PORTAL_ACTIVE@GOTPCREL(%rip), %r12
	leaq	-44(%rbp), %r15
	movq	_InvalidSubTransactionId@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, 40(%rbx)
	sete	%dil
	callq	_Assert
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 48(%rbx)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 16(%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	callq	_PointerIsValid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	movq	%r14, %rsi
	callq	_elog
	movq	$0, 24(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_PortalDrop
	jmp	LBB0_11
LBB0_12:
	addq	$8, %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	_InvalidSubTransactionId,8,3    ## @InvalidSubTransactionId
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skipping cleanup for portal \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtCleanup_Portals              ; -- Begin function AtCleanup_Portals
	.p2align	2
_AtCleanup_Portals:                     ; @AtCleanup_Portals
	.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
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_12
; %bb.1:
Lloh3:
	adrp	x21, _PORTAL_ACTIVE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PORTAL_ACTIVE@GOTPAGEOFF]
Lloh5:
	adrp	x22, _InvalidSubTransactionId@GOTPAGE
Lloh6:
	ldr	x22, [x22, _InvalidSubTransactionId@GOTPAGEOFF]
Lloh7:
	adrp	x19, l_.str@PAGE
Lloh8:
	add	x19, x19, l_.str@PAGEOFF
Lloh9:
	adrp	x23, _WARNING@GOTPAGE
Lloh10:
	ldr	x23, [x23, _WARNING@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_Assert
	ldr	x8, [x20, #40]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0]
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x20, #16]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #24]
	bl	_PointerIsValid
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23]
	ldr	w2, [x20, #32]
	mov	x1, x19
	bl	_elog
	str	xzr, [x20, #24]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_PortalDrop
	b	LBB0_3
LBB0_12:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	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	_InvalidSubTransactionId,8,3    ; @InvalidSubTransactionId
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skipping cleanup for portal \"%s\""

.subsections_via_symbols
