	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function composite_to_jsonb
_composite_to_jsonb:                    ## @composite_to_jsonb
	.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
	movq	%rsi, %r12
	callq	_DatumGetHeapTupleHeader
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleHeaderGetTypeId
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_HeapTupleHeaderGetTypMod
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_lookup_rowtype_tupdesc
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_HeapTupleHeaderGetDatumLength
	movl	%eax, -60(%rbp)
	movl	%ebx, -64(%rbp)
	movq	_WJB_BEGIN_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_pushJsonbValue
	movq	%rax, 8(%r12)
	cmpl	$0, (%r15)
	jg	LBB0_1
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
	cmpl	(%r15), %r14d
	jge	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_TupleDescAttr
	cmpq	$0, 8(%rax)
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	movl	4(%rax), %edi
	callq	_NameStr
	movq	%rax, %rbx
	movq	_jbvString@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -80(%rbp)
	movq	%rbx, -88(%rbp)
	movq	_WJB_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	-88(%rbp), %rdx
	callq	_pushJsonbValue
	movq	%r12, %rbx
	movq	%rax, 8(%r12)
	incl	%r14d
	leaq	-64(%rbp), %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	leaq	-52(%rbp), %rcx
	callq	_heap_getattr
	movl	%eax, %r12d
	movl	-52(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_JSONBTYPE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, -44(%rbp)
	jmp	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_jsonb_categorize_type
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %r8d
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %edi
	movq	%rbx, %r12
	movq	%rbx, %rdx
	xorl	%r9d, %r9d
	callq	_datum_to_jsonb
	cmpl	(%r15), %r14d
	jl	LBB0_1
LBB0_8:
	movq	_WJB_END_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_pushJsonbValue
	movq	%rax, 8(%r12)
	movq	%r15, %rdi
	callq	_ReleaseTupleDesc
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WJB_BEGIN_OBJECT,4,2           ## @WJB_BEGIN_OBJECT
	.comm	_jbvString,4,2                  ## @jbvString
	.comm	_WJB_KEY,4,2                    ## @WJB_KEY
	.comm	_JSONBTYPE_NULL,4,2             ## @JSONBTYPE_NULL
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_WJB_END_OBJECT,4,2             ## @WJB_END_OBJECT
	.no_dead_strip	_composite_to_jsonb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function composite_to_jsonb
_composite_to_jsonb:                    ; @composite_to_jsonb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	bl	_DatumGetHeapTupleHeader
	mov	x21, x0
	bl	_HeapTupleHeaderGetTypeId
	mov	x20, x0
	mov	x0, x21
	bl	_HeapTupleHeaderGetTypMod
	mov	x1, x0
	mov	x0, x20
	bl	_lookup_rowtype_tupdesc
	mov	x20, x0
	mov	x0, x21
	bl	_HeapTupleHeaderGetDatumLength
	stp	w21, w0, [sp, #40]
Lloh0:
	adrp	x8, _WJB_BEGIN_OBJECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WJB_BEGIN_OBJECT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
Lloh3:
	adrp	x24, _jbvString@GOTPAGE
Lloh4:
	ldr	x24, [x24, _jbvString@GOTPAGEOFF]
Lloh5:
	adrp	x25, _WJB_KEY@GOTPAGE
Lloh6:
	ldr	x25, [x25, _WJB_KEY@GOTPAGEOFF]
Lloh7:
	adrp	x26, _JSONBTYPE_NULL@GOTPAGE
Lloh8:
	ldr	x26, [x26, _JSONBTYPE_NULL@GOTPAGEOFF]
Lloh9:
	adrp	x27, _InvalidOid@GOTPAGE
Lloh10:
	ldr	x27, [x27, _InvalidOid@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_NameStr
	mov	x23, x0
	ldr	w8, [x24]
	str	w8, [sp, #16]
	bl	_strlen
	str	w0, [sp, #8]
	str	x23, [sp]
	ldr	w1, [x25]
	mov	x2, sp
	mov	x0, x19
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	add	w21, w21, #1
	add	x0, sp, #40
	add	x3, sp, #36
	mov	x1, x21
	mov	x2, x20
	bl	_heap_getattr
	mov	x23, x0
	ldr	w1, [sp, #36]
	cbz	w1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x26]
	ldr	w4, [x27]
	stp	w4, w3, [sp, #28]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	add	x1, sp, #32
	add	x2, sp, #28
	bl	_jsonb_categorize_type
	ldp	w3, w1, [sp, #32]
	ldr	w4, [sp, #28]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x2, x19
	mov	w5, #0
	bl	_datum_to_jsonb
	b	LBB0_3
LBB0_9:
Lloh11:
	adrp	x8, _WJB_END_OBJECT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WJB_END_OBJECT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	mov	x0, x20
	bl	_ReleaseTupleDesc
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WJB_BEGIN_OBJECT,4,2           ; @WJB_BEGIN_OBJECT
	.comm	_jbvString,4,2                  ; @jbvString
	.comm	_WJB_KEY,4,2                    ; @WJB_KEY
	.comm	_JSONBTYPE_NULL,4,2             ; @JSONBTYPE_NULL
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_WJB_END_OBJECT,4,2             ; @WJB_END_OBJECT
	.no_dead_strip	_composite_to_jsonb
.subsections_via_symbols
