	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_plpgsql_datums
_copy_plpgsql_datums:                   ## @copy_plpgsql_datums
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	leal	(,%rbx,8), %edi
	callq	_palloc
	movq	%rax, 8(%r15)
	movl	(%r14), %edi
	callq	_palloc
	movq	%rax, %r13
	testl	%ebx, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.1:
	movq	8(%r14), %r12
	movq	8(%r15), %r14
	xorl	%r15d, %r15d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, (%r14,%r15,8)
	incq	%r15
	cmpq	%r15, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rsi
	movl	(%rsi), %edx
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$38, %ecx
	btl	%eax, %ecx
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$17, %ecx
	btl	%eax, %ecx
	movq	%r13, %rbx
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	$4, %edi
	callq	_MAXALIGN
	cltq
	addq	%rax, %r13
	movq	%rbx, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %r13
	sete	%dil
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized dtype: %d"

	.no_dead_strip	_copy_plpgsql_datums
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_plpgsql_datums
_copy_plpgsql_datums:                   ; @copy_plpgsql_datums
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
	ldr	w23, [x0]
	lsl	w0, w23, #3
	bl	_palloc
	str	x0, [x21, #8]
	ldr	w0, [x19]
	bl	_palloc
	mov	x20, x0
	cmp	w23, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x24, [x19, #8]
	ldr	x25, [x21, #8]
	mov	w26, #1
	mov	w27, #38
	mov	w28, #17
	mov	x21, x20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	x1, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x1, [x25], #8
	add	x24, x24, #8
	subs	x23, x23, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24]
	ldr	w2, [x1]
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w26, w8
	tst	w8, w27
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w8, w28
	mov	x22, x21
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	mov	w0, #4
	bl	_MAXALIGN
	add	x21, x21, w0, sxtw
	mov	x1, x22
	b	LBB0_3
LBB0_7:
	mov	x21, x20
LBB0_8:
	ldrsw	x8, [x19]
	add	x8, x20, x8
	cmp	x21, x8
	cset	w0, eq
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_Assert
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized dtype: %d"

	.no_dead_strip	_copy_plpgsql_datums
.subsections_via_symbols
