	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getFormattedTypeName
_getFormattedTypeName:                  ## @getFormattedTypeName
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_1
LBB0_10:
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_appendPQExpBuffer
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ExecuteSqlQueryForSingleRow
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_PQclear
	movq	%r12, %rdi
	callq	_destroyPQExpBuffer
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_zeroAsOpaque@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_g_opaque_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_5
LBB0_3:
	movq	_zeroAsAny@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_6:
	movq	_zeroAsStar@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_8:
	movq	_zeroAsNone@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pg_strdup                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_zeroAsOpaque,4,2               ## @zeroAsOpaque
	.comm	_g_opaque_type,8,3              ## @g_opaque_type
	.comm	_zeroAsAny,4,2                  ## @zeroAsAny
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'any'"

	.comm	_zeroAsStar,4,2                 ## @zeroAsStar
L_.str.1:                               ## @.str.1
	.asciz	"*"

	.comm	_zeroAsNone,4,2                 ## @zeroAsNone
L_.str.2:                               ## @.str.2
	.asciz	"NONE"

L_.str.3:                               ## @.str.3
	.asciz	"SELECT pg_catalog.format_type('%u'::pg_catalog.oid, NULL)"

	.no_dead_strip	_getFormattedTypeName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getFormattedTypeName
_getFormattedTypeName:                  ; @getFormattedTypeName
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
	cbz	w1, LBB0_2
LBB0_1:
	bl	_createPQExpBuffer
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_appendPQExpBuffer
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ExecuteSqlQueryForSingleRow
	mov	x19, x0
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	bl	_pg_strdup
	mov	x20, x0
	mov	x0, x19
	bl	_PQclear
	mov	x0, x21
	bl	_destroyPQExpBuffer
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _zeroAsOpaque@GOTPAGE
Lloh3:
	ldr	x8, [x8, _zeroAsOpaque@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _g_opaque_type@GOTPAGE
Lloh6:
	ldr	x8, [x8, _g_opaque_type@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x8, _zeroAsAny@GOTPAGE
Lloh9:
	ldr	x8, [x8, _zeroAsAny@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
Lloh13:
	adrp	x8, _zeroAsStar@GOTPAGE
Lloh14:
	ldr	x8, [x8, _zeroAsStar@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_8
; %bb.7:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x8, _zeroAsNone@GOTPAGE
Lloh19:
	ldr	x8, [x8, _zeroAsNone@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_1
; %bb.9:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pg_strdup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_zeroAsOpaque,4,2               ; @zeroAsOpaque
	.comm	_g_opaque_type,8,3              ; @g_opaque_type
	.comm	_zeroAsAny,4,2                  ; @zeroAsAny
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'any'"

	.comm	_zeroAsStar,4,2                 ; @zeroAsStar
l_.str.1:                               ; @.str.1
	.asciz	"*"

	.comm	_zeroAsNone,4,2                 ; @zeroAsNone
l_.str.2:                               ; @.str.2
	.asciz	"NONE"

l_.str.3:                               ; @.str.3
	.asciz	"SELECT pg_catalog.format_type('%u'::pg_catalog.oid, NULL)"

	.no_dead_strip	_getFormattedTypeName
.subsections_via_symbols
