	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advance_transition_function
_advance_transition_function:           ## @advance_transition_function
	.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
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	24(%rsi), %r14
	cmpq	$0, 16(%rsi)
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	8(%r14), %rcx
	shlq	$4, %rax
	addq	$16, %rax
	movl	$16, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%rdx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_4
LBB0_6:
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	movq	8(%r14), %rax
	movq	24(%rax), %rdi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	callq	_datumCopy
	movq	%rax, 8(%r12)
	movq	$0, (%r12)
	jmp	LBB0_24
LBB0_8:
	cmpl	$0, 4(%r12)
	je	LBB0_9
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	movq	%rbx, 8(%r15)
	movq	8(%r12), %rax
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	4(%r12), %eax
	movl	%eax, (%rcx)
	movl	$0, (%r14)
	movq	%r14, %rdi
	callq	_FunctionCallInvoke
	movq	$0, 8(%r15)
	cmpl	$0, 8(%rbx)
	jne	LBB0_23
## %bb.10:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_DatumGetPointer
	movq	%rax, %r13
	movq	8(%r12), %rdi
	callq	_DatumGetPointer
	cmpq	%rax, %r13
	jne	LBB0_12
## %bb.11:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_12:
	cmpl	$0, (%r14)
	je	LBB0_14
## %bb.13:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_14:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	4(%rbx), %edx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_DatumIsReadWriteExpandedObject
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%r15, %rdi
	callq	_DatumGetEOHP
	movl	(%rax), %edi
	callq	_MemoryContextGetParent
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	%r15, %rax
	jmp	LBB0_18
LBB0_17:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_datumCopy
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_18:
	cmpl	$0, 4(%r12)
	jne	LBB0_23
## %bb.19:
	movq	%rax, %r15
	movq	8(%r12), %rdi
	movl	4(%rbx), %edx
	xorl	%esi, %esi
	callq	_DatumIsReadWriteExpandedObject
	movq	8(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	callq	_DeleteExpandedObject
	jmp	LBB0_22
LBB0_21:
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_pfree
LBB0_22:
	movq	%r15, %rax
LBB0_23:
	movq	%rax, 8(%r12)
	movl	(%r14), %eax
	movl	%eax, 4(%r12)
LBB0_24:
	movl	%r13d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryContext,8,3       ## @CurrentMemoryContext
	.no_dead_strip	_advance_transition_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advance_transition_function
_advance_transition_function:           ; @advance_transition_function
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x22, x1
	mov	x24, x0
	ldp	x8, x20, [x1, #16]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x9, [x20, #8]
	add	x9, x9, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cbnz	w10, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.6:
	ldr	x8, [x24]
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #24]
	ldp	w2, w1, [x22, #4]
	bl	_datumCopy
	stp	xzr, x0, [x19]
	b	LBB0_20
LBB0_7:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_9
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x24, #16]
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	str	x22, [x24, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9, #8]
	ldr	w8, [x19, #4]
	str	w8, [x9]
	str	wzr, [x20]
	mov	x0, x20
	bl	_FunctionCallInvoke
	mov	x23, x0
	str	xzr, [x24, #8]
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_19
; %bb.10:
	mov	x0, x23
	bl	_DatumGetPointer
	mov	x25, x0
	ldr	x0, [x19, #8]
	bl	_DatumGetPointer
	cmp	x25, x0
	b.eq	LBB0_19
; %bb.11:
	ldr	w8, [x20]
	cbnz	w8, LBB0_15
; %bb.12:
	ldr	x8, [x24]
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	ldr	w2, [x22, #4]
	mov	x0, x23
	mov	w1, #0
	bl	_DatumIsReadWriteExpandedObject
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x23
	bl	_DatumGetEOHP
	ldr	w0, [x0]
	bl	_MemoryContextGetParent
Lloh0:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_15
LBB0_14:
	ldp	w2, w1, [x22, #4]
	mov	x0, x23
	bl	_datumCopy
	mov	x23, x0
LBB0_15:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_19
; %bb.16:
	ldr	x0, [x19, #8]
	ldr	w2, [x22, #4]
	mov	w1, #0
	bl	_DatumIsReadWriteExpandedObject
	mov	x8, x0
	ldr	x0, [x19, #8]
	cbz	x8, LBB0_18
; %bb.17:
	bl	_DeleteExpandedObject
	b	LBB0_19
LBB0_18:
	bl	_DatumGetPointer
	bl	_pfree
LBB0_19:
	str	x23, [x19, #8]
	ldr	w8, [x20]
	str	w8, [x19, #4]
LBB0_20:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_MemoryContextSwitchTo
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryContext,8,3       ; @CurrentMemoryContext
	.no_dead_strip	_advance_transition_function
.subsections_via_symbols
