	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expanded_record_fetch_tupdesc  ## -- Begin function expanded_record_fetch_tupdesc
	.p2align	4, 0x90
_expanded_record_fetch_tupdesc:         ## @expanded_record_fetch_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movl	36(%rdi), %esi
	movl	40(%rdi), %edi
	callq	_lookup_rowtype_tupdesc
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	cmpq	$0, 16(%r14)
	jne	LBB0_4
## %bb.3:
	leaq	16(%r14), %rsi
	movq	_ER_mc_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%r14, 16(%r14)
	movl	32(%r14), %edi
	callq	_MemoryContextRegisterResetCallback
	movq	(%rbx), %rax
LBB0_4:
	movq	%rbx, 8(%r14)
	incq	%rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_DecrTupleDescRefCount
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, 8(%r14)
LBB0_6:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_assign_record_type_identifier
	movl	%eax, (%r14)
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ER_mc_callback,4,2             ## @ER_mc_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expanded_record_fetch_tupdesc  ; -- Begin function expanded_record_fetch_tupdesc
	.p2align	2
_expanded_record_fetch_tupdesc:         ; @expanded_record_fetch_tupdesc
	.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
	ldr	x20, [x0, #8]
	cbnz	x20, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #40]
	ldr	w1, [x19, #36]
	bl	_lookup_rowtype_tupdesc
	mov	x20, x0
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_5
; %bb.2:
	mov	x1, x19
	ldr	x9, [x1, #16]!
	cbnz	x9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ER_mc_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ER_mc_callback@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	x19, [x19, #16]
	ldr	w0, [x19, #32]
	bl	_MemoryContextRegisterResetCallback
	ldr	x8, [x20]
LBB0_4:
	str	x20, [x19, #8]
	add	x8, x8, #1
	str	x8, [x20]
	mov	x0, x20
	bl	_DecrTupleDescRefCount
	b	LBB0_6
LBB0_5:
	str	x20, [x19, #8]
LBB0_6:
	ldp	w1, w0, [x20, #8]
	bl	_assign_record_type_identifier
	str	w0, [x19]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ER_mc_callback,4,2             ; @ER_mc_callback
.subsections_via_symbols
