	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_cached_tupdesc
_update_cached_tupdesc:                 ## @update_cached_tupdesc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	movq	(%rbx), %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %rax
	movq	%rcx, %rdi
	cmpq	8(%rbx), %rax
	jne	LBB0_4
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rdi
LBB0_4:
	movq	8(%rbx), %rsi
	callq	_lookup_rowtype_tupdesc
	movl	%eax, %r15d
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_FreeTupleDesc
LBB0_6:
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_CreateTupleDescCopy
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReleaseTupleDesc               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_cached_tupdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_cached_tupdesc
_update_cached_tupdesc:                 ; @update_cached_tupdesc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x8]
	ldr	x0, [x19]
	cmp	x9, x0
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x8, #8]
	ldr	x10, [x19, #8]
	mov	x0, x9
	cmp	x8, x10
	b.ne	LBB0_5
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x19]
LBB0_5:
	ldr	x1, [x19, #8]
	bl	_lookup_rowtype_tupdesc
	mov	x21, x0
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_FreeTupleDesc
LBB0_7:
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	x0, x21
	bl	_CreateTupleDescCopy
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ReleaseTupleDesc
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_cached_tupdesc
.subsections_via_symbols
