	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_add_initdatums         ## -- Begin function plpgsql_add_initdatums
	.p2align	4, 0x90
_plpgsql_add_initdatums:                ## @plpgsql_add_initdatums
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_datums_last@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	movq	_plpgsql_nDatums@GOTPCREL(%rip), %r15
	movl	(%r15), %r9d
	cmpl	%r9d, %ecx
	jge	LBB0_14
## %bb.1:
	movslq	%r9d, %rax
	movq	_plpgsql_Datums@GOTPCREL(%rip), %r12
	movq	(%r12), %r10
	movq	%rax, %r8
	subq	%rcx, %r8
	movq	%rcx, %rdi
	notq	%rdi
	addq	%rax, %rdi
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_14:
	testq	%r13, %r13
	jne	LBB0_15
	jmp	LBB0_16
LBB0_3:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rcx,8), %rbx
	movq	8(%r10,%rcx,8), %rdx
	movl	(%rbx), %ebx
	andl	$-2, %ebx
	xorl	%esi, %esi
	cmpl	$128, %ebx
	sete	%sil
	addl	%eax, %esi
	movl	(%rdx), %edx
	andl	$-2, %edx
	xorl	%eax, %eax
	cmpl	$128, %edx
	sete	%al
	addl	%esi, %eax
	addq	$2, %rcx
	addq	$-2, %rdi
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	(%r10,%rcx,8), %rcx
	movl	(%rcx), %ecx
	andl	$-2, %ecx
	xorl	%edx, %edx
	cmpl	$128, %ecx
	sete	%dl
	addl	%edx, %eax
LBB0_7:
	testq	%r13, %r13
	je	LBB0_17
## %bb.8:
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	shll	$2, %eax
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, %rcx
	movq	%rax, (%r13)
	movslq	(%r14), %rsi
	movl	(%r15), %r9d
	xorl	%eax, %eax
	cmpl	%r9d, %esi
	jge	LBB0_17
## %bb.10:
	movq	(%r12), %rdi
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rsi
	movslq	%r9d, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rsi,8), %rbx
	movl	(%rbx), %edx
	andl	$-2, %edx
	cmpl	$128, %edx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	4(%rbx), %edx
	movslq	%eax, %rbx
	incl	%eax
	movl	%edx, (%rcx,%rbx,4)
	movl	(%r15), %r9d
	jmp	LBB0_13
LBB0_15:
	movq	$0, (%r13)
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	movl	%r9d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_datums_last,4,2                ## @datums_last
	.comm	_plpgsql_nDatums,4,2            ## @plpgsql_nDatums
	.comm	_plpgsql_Datums,8,3             ## @plpgsql_Datums
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_add_initdatums         ; -- Begin function plpgsql_add_initdatums
	.p2align	2
_plpgsql_add_initdatums:                ; @plpgsql_add_initdatums
	.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	x19, x0
Lloh0:
	adrp	x20, _datums_last@GOTPAGE
Lloh1:
	ldr	x20, [x20, _datums_last@GOTPAGEOFF]
	ldrsw	x1, [x20]
Lloh2:
	adrp	x21, _plpgsql_nDatums@GOTPAGE
Lloh3:
	ldr	x21, [x21, _plpgsql_nDatums@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w1, w9
	b.ge	LBB0_3
; %bb.1:
	sxtw	x8, w9
Lloh4:
	adrp	x22, _plpgsql_Datums@GOTPAGE
Lloh5:
	ldr	x22, [x22, _plpgsql_Datums@GOTPAGEOFF]
	ldr	x10, [x22]
	sub	x12, x8, x1
	cmp	x12, #4
	b.hs	LBB0_4
; %bb.2:
	mov	w0, #0
	mov	x11, x1
	b	LBB0_7
LBB0_3:
	cbnz	x19, LBB0_16
	b	LBB0_17
LBB0_4:
	mov	w16, #0
	mov	w17, #0
	mov	w15, #0
	mov	w14, #0
	and	x13, x12, #0xfffffffffffffffc
	add	x11, x13, x1
	add	x0, x10, x1, lsl #3
	add	x0, x0, #16
	mov	x1, x13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x2, x3, [x0, #-16]
	ldp	x4, x5, [x0], #32
	ldr	w2, [x2]
	ldr	w3, [x3]
	ldr	w4, [x4]
	ldr	w5, [x5]
	and	w2, w2, #0xfffffffe
	and	w3, w3, #0xfffffffe
	and	w4, w4, #0xfffffffe
	and	w5, w5, #0xfffffffe
	cmp	w2, #128
	cinc	w16, w16, eq
	cmp	w3, #128
	cinc	w17, w17, eq
	cmp	w4, #128
	cinc	w15, w15, eq
	cmp	w5, #128
	cinc	w14, w14, eq
	subs	x1, x1, #4
	b.ne	LBB0_5
; %bb.6:
	add	w16, w17, w16
	add	w15, w15, w16
	add	w0, w14, w15
	cmp	x12, x13
	b.eq	LBB0_9
LBB0_7:
	add	x10, x10, x11, lsl #3
	sub	x8, x8, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	ldr	w11, [x11]
	and	w11, w11, #0xfffffffe
	cmp	w11, #128
	cinc	w0, w0, eq
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	cbz	x19, LBB0_18
; %bb.10:
	cbz	w0, LBB0_16
; %bb.11:
	lsl	w0, w0, #2
	bl	_palloc
	str	x0, [x19]
	ldrsw	x10, [x20]
	ldr	w9, [x21]
	cmp	w10, w9
	b.ge	LBB0_17
; %bb.12:
	mov	x8, x0
	mov	w0, #0
	ldr	x11, [x22]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	ldr	w13, [x12]
	and	w13, w13, #0xfffffffe
	cmp	w13, #128
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x12, #4]
	str	w9, [x8, w0, sxtw #2]
	add	w0, w0, #1
	ldr	w9, [x21]
	b	LBB0_13
LBB0_16:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	str	w9, [x20]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_datums_last,4,2                ; @datums_last
	.comm	_plpgsql_nDatums,4,2            ; @plpgsql_nDatums
	.comm	_plpgsql_Datums,8,3             ; @plpgsql_Datums
.subsections_via_symbols
