	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EventTriggerBeginCompleteQuery ## -- Begin function EventTriggerBeginCompleteQuery
	.p2align	4, 0x90
_EventTriggerBeginCompleteQuery:        ## @EventTriggerBeginCompleteQuery
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_trackDroppedObjectsNeeded
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	$48, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %rbx
	movl	%r14d, 40(%rax)
	leaq	36(%rax), %rdi
	callq	_slist_init
	movl	$0, (%rbx)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_currentEventTriggerState@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movl	4(%rcx), %edx
	jmp	LBB0_4
LBB0_2:
	xorl	%edx, %edx
LBB0_4:
	movl	%edx, 4(%rbx)
	movq	$0, 24(%rbx)
	movq	_NIL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rbx, (%rax)
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event trigger state"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_currentEventTriggerState,8,3   ## @currentEventTriggerState
	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EventTriggerBeginCompleteQuery ; -- Begin function EventTriggerBeginCompleteQuery
	.p2align	2
_EventTriggerBeginCompleteQuery:        ; @EventTriggerBeginCompleteQuery
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_trackDroppedObjectsNeeded
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	mov	x20, x0
	mov	w1, #48
	bl	_MemoryContextAlloc
	mov	x19, x0
	str	w20, [x0, #40]
	add	x0, x0, #36
	bl	_slist_init
Lloh8:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
	str	wzr, [x19]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh11:
	adrp	x8, _currentEventTriggerState@GOTPAGE
Lloh12:
	ldr	x8, [x8, _currentEventTriggerState@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w10, [x9, #4]
	b	LBB0_4
LBB0_3:
	mov	w10, #0
LBB0_4:
	str	w10, [x19, #4]
Lloh13:
	adrp	x10, _NIL@GOTPAGE
Lloh14:
	ldr	x10, [x10, _NIL@GOTPAGEOFF]
	str	xzr, [x19, #24]
Lloh15:
	ldr	w10, [x10]
	str	w10, [x19, #16]
	str	x9, [x19, #8]
	str	x19, [x8]
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event trigger state"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_currentEventTriggerState,8,3   ; @currentEventTriggerState
	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
