	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function json_categorize_type
_json_categorize_type:                  ## @json_categorize_type
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_getBaseType
	movl	%eax, %ebx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	leal	-128(%rbx), %eax
	cmpl	$11, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_getTypeOutputInfo
	movq	_JSONTYPE_NUMERIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_getTypeOutputInfo
	movq	_JSONTYPE_JSON@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movl	%ebx, %edi
	callq	_get_element_type
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	_ANYARRAYOID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.11:
	movq	_RECORDARRAYOID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.13:
	movl	%ebx, %edi
	callq	_type_is_rowtype
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	_JSONTYPE_COMPOSITE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_JSONTYPE_TIMESTAMPTZ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_JSONTYPE_TIMESTAMP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_JSONTYPE_DATE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_JSONTYPE_BOOL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	_JSONTYPE_ARRAY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_JSONTYPE_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_FirstNormalObjectId@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_19
## %bb.16:
	movq	_COERCION_EXPLICIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	$131, %edi
	movl	%ebx, %esi
	callq	_find_coercion_pathway
	movq	_COERCION_PATH_FUNC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.17:
	movl	-32(%rbp), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movq	_JSONTYPE_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	-32(%rbp), %eax
	movl	%eax, (%r15)
	jmp	LBB0_20
LBB0_19:
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_getTypeOutputInfo
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_JSONTYPE_BOOL,4,2              ## @JSONTYPE_BOOL
	.comm	_JSONTYPE_NUMERIC,4,2           ## @JSONTYPE_NUMERIC
	.comm	_JSONTYPE_DATE,4,2              ## @JSONTYPE_DATE
	.comm	_JSONTYPE_TIMESTAMP,4,2         ## @JSONTYPE_TIMESTAMP
	.comm	_JSONTYPE_TIMESTAMPTZ,4,2       ## @JSONTYPE_TIMESTAMPTZ
	.comm	_JSONTYPE_JSON,4,2              ## @JSONTYPE_JSON
	.comm	_ANYARRAYOID,4,2                ## @ANYARRAYOID
	.comm	_RECORDARRAYOID,4,2             ## @RECORDARRAYOID
	.comm	_JSONTYPE_ARRAY,4,2             ## @JSONTYPE_ARRAY
	.comm	_JSONTYPE_COMPOSITE,4,2         ## @JSONTYPE_COMPOSITE
	.comm	_JSONTYPE_OTHER,4,2             ## @JSONTYPE_OTHER
	.comm	_FirstNormalObjectId,4,2        ## @FirstNormalObjectId
	.comm	_COERCION_EXPLICIT,4,2          ## @COERCION_EXPLICIT
	.comm	_COERCION_PATH_FUNC,4,2         ## @COERCION_PATH_FUNC
	.comm	_JSONTYPE_CAST,4,2              ## @JSONTYPE_CAST
	.no_dead_strip	_json_categorize_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function json_categorize_type
_json_categorize_type:                  ; @json_categorize_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	bl	_getBaseType
	mov	x21, x0
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	sub	w8, w0, #128
	cmp	w8, #11
	b.hi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_getTypeOutputInfo
Lloh5:
	adrp	x8, _JSONTYPE_NUMERIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _JSONTYPE_NUMERIC@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_getTypeOutputInfo
Lloh7:
	adrp	x8, _JSONTYPE_JSON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _JSONTYPE_JSON@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	mov	x0, x21
	bl	_get_element_type
	bl	_OidIsValid
	cbnz	w0, LBB0_12
; %bb.5:
Lloh9:
	adrp	x8, _ANYARRAYOID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ANYARRAYOID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _RECORDARRAYOID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RECORDARRAYOID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	b.eq	LBB0_12
; %bb.6:
	mov	x0, x21
	bl	_type_is_rowtype
	cbz	w0, LBB0_15
; %bb.7:
Lloh15:
	adrp	x8, _JSONTYPE_COMPOSITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JSONTYPE_COMPOSITE@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh17:
	adrp	x8, _JSONTYPE_TIMESTAMPTZ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _JSONTYPE_TIMESTAMPTZ@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh19:
	adrp	x8, _JSONTYPE_TIMESTAMP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _JSONTYPE_TIMESTAMP@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh21:
	adrp	x8, _JSONTYPE_DATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _JSONTYPE_DATE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh23:
	adrp	x8, _JSONTYPE_BOOL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _JSONTYPE_BOOL@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh25:
	adrp	x8, _JSONTYPE_ARRAY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _JSONTYPE_ARRAY@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
Lloh27:
	adrp	x8, _JSONTYPE_OTHER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _JSONTYPE_OTHER@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh30:
	adrp	x8, _FirstNormalObjectId@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FirstNormalObjectId@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w21, w8
	b.lt	LBB0_19
; %bb.16:
Lloh33:
	adrp	x8, _COERCION_EXPLICIT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _COERCION_EXPLICIT@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	w0, #131
	mov	x1, x21
	bl	_find_coercion_pathway
Lloh36:
	adrp	x8, _COERCION_PATH_FUNC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _COERCION_PATH_FUNC@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.17:
	ldr	w0, [sp, #8]
	bl	_OidIsValid
	cbz	w0, LBB0_19
; %bb.18:
Lloh39:
	adrp	x8, _JSONTYPE_CAST@GOTPAGE
Lloh40:
	ldr	x8, [x8, _JSONTYPE_CAST@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [sp, #8]
	str	w8, [x20]
	b	LBB0_14
LBB0_19:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_getTypeOutputInfo
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_JSONTYPE_BOOL,4,2              ; @JSONTYPE_BOOL
	.comm	_JSONTYPE_NUMERIC,4,2           ; @JSONTYPE_NUMERIC
	.comm	_JSONTYPE_DATE,4,2              ; @JSONTYPE_DATE
	.comm	_JSONTYPE_TIMESTAMP,4,2         ; @JSONTYPE_TIMESTAMP
	.comm	_JSONTYPE_TIMESTAMPTZ,4,2       ; @JSONTYPE_TIMESTAMPTZ
	.comm	_JSONTYPE_JSON,4,2              ; @JSONTYPE_JSON
	.comm	_ANYARRAYOID,4,2                ; @ANYARRAYOID
	.comm	_RECORDARRAYOID,4,2             ; @RECORDARRAYOID
	.comm	_JSONTYPE_ARRAY,4,2             ; @JSONTYPE_ARRAY
	.comm	_JSONTYPE_COMPOSITE,4,2         ; @JSONTYPE_COMPOSITE
	.comm	_JSONTYPE_OTHER,4,2             ; @JSONTYPE_OTHER
	.comm	_FirstNormalObjectId,4,2        ; @FirstNormalObjectId
	.comm	_COERCION_EXPLICIT,4,2          ; @COERCION_EXPLICIT
	.comm	_COERCION_PATH_FUNC,4,2         ; @COERCION_PATH_FUNC
	.comm	_JSONTYPE_CAST,4,2              ; @JSONTYPE_CAST
	.no_dead_strip	_json_categorize_type
.subsections_via_symbols
