	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EstimateParamListSpace         ## -- Begin function EstimateParamListSpace
	.p2align	4, 0x90
_EstimateParamListSpace:                ## @EstimateParamListSpace
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$4, %edi
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	cmpl	$0, (%rbx)
	jle	LBB0_10
## %bb.2:
	movl	$4, %edi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	$1, %edx
	movl	$4, %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_datumEstimateSpace
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_add_size
	movl	%eax, %edi
	incq	%r13
	movslq	(%rbx), %rax
	addq	$12, %r12
	cmpq	%rax, %r13
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r13), %esi
	movl	%edi, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	leaq	-80(%rbp), %rcx
	callq	*%rax
	movl	%r14d, %edi
	movq	%rax, %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %r14
	addq	%r12, %r14
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r14), %r15d
	movl	$4, %esi
	callq	_add_size
	movl	%eax, %edi
	movl	$4, %esi
	callq	_add_size
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_get_typlenbyval
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	jmp	LBB0_9
LBB0_10:
	movl	%edi, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EstimateParamListSpace         ; -- Begin function EstimateParamListSpace
	.p2align	2
_EstimateParamListSpace:                ; @EstimateParamListSpace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	mov	w20, #4
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #4
	mov	w2, #1
	stp	w2, w3, [sp, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w0, [x21]
	bl	_datumEstimateSpace
	mov	x1, x0
	mov	x0, x20
	bl	_add_size
	mov	x20, x0
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #12
	cmp	x24, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w24, #1
	add	x3, sp, #16
	mov	x0, x19
	mov	w2, #0
	blr	x8
	mov	x21, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	add	x21, x8, x23
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w22, [x21, #8]
	mov	x0, x20
	mov	w1, #4
	bl	_add_size
	mov	w1, #4
	bl	_add_size
	mov	x20, x0
	mov	x0, x22
	bl	_OidIsValid
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x22
	bl	_get_typlenbyval
	ldp	w2, w3, [sp, #8]
	b	LBB0_4
LBB0_10:
	mov	w20, #4
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
