	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datumGetSize                   ## -- Begin function datumGetSize
	.p2align	4, 0x90
_datumGetSize:                          ## @datumGetSize
	.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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movslq	%edx, %rbx
	leal	-1(%rbx), %eax
	xorl	%edi, %edi
	cmpl	$4, %eax
	setb	%dil
	callq	_Assert
	jmp	LBB0_13
LBB0_2:
	testl	%edx, %edx
	jle	LBB0_4
## %bb.3:
	movl	%edx, %ebx
LBB0_13:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	cmpl	$-2, %edx
	je	LBB0_9
## %bb.5:
	cmpl	$-1, %edx
	jne	LBB0_12
## %bb.6:
	callq	_DatumGetPointer
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PointerIsValid
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_VARSIZE_ANY                    ## TAILCALL
LBB0_9:
	callq	_DatumGetPointer
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PointerIsValid
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	incq	%rbx
	jmp	LBB0_13
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATA_EXCEPTION,4,2     ## @ERRCODE_DATA_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid Datum pointer"

L_.str.1:                               ## @.str.1
	.asciz	"invalid typLen: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datumGetSize                   ; -- Begin function datumGetSize
	.p2align	2
_datumGetSize:                          ; @datumGetSize
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	cbz	w1, LBB0_2
; %bb.1:
	sxtw	x19, w2
	sub	w8, w2, #1
	cmp	w8, #4
	cset	w0, lo
	bl	_Assert
	b	LBB0_4
LBB0_2:
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w19, w2
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmn	w2, #2
	b.eq	LBB0_10
; %bb.6:
	cmn	w2, #1
	b.ne	LBB0_13
; %bb.7:
	bl	_DatumGetPointer
	mov	x19, x0
	bl	_PointerIsValid
	cbnz	w0, LBB0_9
; %bb.8:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _ERRCODE_DATA_EXCEPTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_DATA_EXCEPTION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_VARSIZE_ANY
LBB0_10:
	bl	_DatumGetPointer
	mov	x19, x0
	bl	_PointerIsValid
	cbnz	w0, LBB0_12
; %bb.11:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _ERRCODE_DATA_EXCEPTION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERRCODE_DATA_EXCEPTION@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_errcode
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_12:
	mov	x0, x19
	bl	_strlen
	add	x19, x0, #1
	b	LBB0_4
LBB0_13:
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_elog
	mov	x19, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATA_EXCEPTION,4,2     ; @ERRCODE_DATA_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid Datum pointer"

l_.str.1:                               ; @.str.1
	.asciz	"invalid typLen: %d"

.subsections_via_symbols
