	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convertJsonbArray
_convertJsonbArray:                     ## @convertJsonbArray
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	(%rdx), %r14d
	movl	(%rdi), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_padBufferToInt
	movq	_JB_FARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	%r14d, %ebx
	movl	%ebx, -56(%rbp)
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%r12)
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	$1, %r14d
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	testl	%r15d, %r15d
	sete	%dil
	callq	_Assert
	movq	_JB_FSCALAR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -56(%rbp)
LBB0_2:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_appendToBuffer
	leal	(,%r14,4), %esi
	movq	%r13, %rdi
	callq	_reserveFromBuffer
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.3:
	movl	%eax, %r12d
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	shlq	$3, %r14
	leaq	(%r14,%r14,2), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-44(%rbp), %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %eax
	cltd
	movq	_JB_OFFSET_STRIDE@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	testl	%edx, %edx
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_copyToBuffer
	addl	$4, %r12d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%r15d
	addq	$24, %r14
	cmpq	%r14, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	addq	%r14, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_convertJsonbValue
	movl	-44(%rbp), %edi
	callq	_JBE_OFFLENFLD
	movl	%eax, %ebx
	addl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	_JENTRY_OFFLENMASK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	_JENTRY_OFFLENMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_JENTRY_TYPEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-44(%rbp), %eax
	orl	%ebx, %eax
	movq	_JENTRY_HAS_OFF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_8
LBB0_9:
	movl	(%r13), %ebx
	subl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	_JENTRY_OFFLENMASK@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jle	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	movq	_JENTRY_ISCONTAINER@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JB_FARRAY,4,2                  ## @JB_FARRAY
	.comm	_JB_FSCALAR,4,2                 ## @JB_FSCALAR
	.comm	_JENTRY_OFFLENMASK,4,2          ## @JENTRY_OFFLENMASK
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"total size of jsonb array elements exceeds the maximum of %u bytes"

	.comm	_JB_OFFSET_STRIDE,4,2           ## @JB_OFFSET_STRIDE
	.comm	_JENTRY_TYPEMASK,4,2            ## @JENTRY_TYPEMASK
	.comm	_JENTRY_HAS_OFF,4,2             ## @JENTRY_HAS_OFF
	.comm	_JENTRY_ISCONTAINER,4,2         ## @JENTRY_ISCONTAINER
	.no_dead_strip	_convertJsonbArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convertJsonbArray
_convertJsonbArray:                     ; @convertJsonbArray
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x3
	mov	x20, x2
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x0
	ldr	w24, [x2]
	ldr	w8, [x0]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	bl	_padBufferToInt
Lloh0:
	adrp	x8, _JB_FARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JB_FARRAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w19, w8, w24
	str	w19, [sp, #28]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	cmp	w24, #1
	cset	w0, eq
	bl	_Assert
	cmp	w23, #0
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _JB_FSCALAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JB_FSCALAR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w19, w8
	str	w8, [sp, #28]
LBB0_2:
	add	x1, sp, #28
	mov	x0, x21
	mov	w2, #4
	bl	_appendToBuffer
	lsl	w1, w24, #2
	mov	x0, x21
	bl	_reserveFromBuffer
Lloh6:
	adrp	x27, _JENTRY_OFFLENMASK@GOTPAGE
Lloh7:
	ldr	x27, [x27, _JENTRY_OFFLENMASK@GOTPAGEOFF]
	cmp	w24, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x22, x0
	mov	x26, #0
	mov	w19, #0
	mov	w28, #0
	add	w23, w23, #1
	add	x8, x24, x24, lsl #1
	lsl	x24, x8, #3
Lloh8:
	adrp	x25, _JB_OFFSET_STRIDE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _JB_OFFSET_STRIDE@GOTPAGEOFF]
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	sdiv	w9, w19, w8
	msub	w8, w9, w8, w19
	cbz	w8, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x22
	mov	w3, #4
	bl	_copyToBuffer
	add	w22, w22, #4
	add	w19, w19, #1
	add	x26, x26, #24
	cmp	x24, x26
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x2, x8, x26
	add	x1, sp, #24
	mov	x0, x21
	mov	x3, x23
	bl	_convertJsonbValue
	ldr	w0, [sp, #24]
	bl	_JBE_OFFLENFLD
	ldr	w8, [x27]
	add	w28, w0, w28
	cmp	w28, w8
	b.le	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	mov	x21, x24
	mov	x24, x23
	mov	x23, x20
	mov	x20, x25
Lloh12:
	ldr	w25, [x8]
Lloh13:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x27]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	mov	x25, x20
	mov	x20, x23
	mov	x23, x24
	mov	x24, x21
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	bl	_ereport
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #24]
Lloh18:
	adrp	x9, _JENTRY_TYPEMASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _JENTRY_TYPEMASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w8, w8, w28
Lloh21:
	adrp	x9, _JENTRY_HAS_OFF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _JENTRY_HAS_OFF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #24]
	b	LBB0_5
LBB0_9:
	ldr	w8, [x21]
	ldr	w9, [x27]
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	sub	w19, w8, w10
	cmp	w19, w9
	b.le	LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
Lloh27:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x27]
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_11:
Lloh32:
	adrp	x8, _JENTRY_ISCONTAINER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _JENTRY_ISCONTAINER@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	orr	w8, w8, w19
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_JB_FARRAY,4,2                  ; @JB_FARRAY
	.comm	_JB_FSCALAR,4,2                 ; @JB_FSCALAR
	.comm	_JENTRY_OFFLENMASK,4,2          ; @JENTRY_OFFLENMASK
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"total size of jsonb array elements exceeds the maximum of %u bytes"

	.comm	_JB_OFFSET_STRIDE,4,2           ; @JB_OFFSET_STRIDE
	.comm	_JENTRY_TYPEMASK,4,2            ; @JENTRY_TYPEMASK
	.comm	_JENTRY_HAS_OFF,4,2             ; @JENTRY_HAS_OFF
	.comm	_JENTRY_ISCONTAINER,4,2         ; @JENTRY_ISCONTAINER
	.no_dead_strip	_convertJsonbArray
.subsections_via_symbols
