	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgsql_stmt_get_column_meta
_pgsql_stmt_get_column_meta:            ## @pgsql_stmt_get_column_meta
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	movq	$0, -40(%rbp)
	cmpl	$0, 16(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	cmpq	%rsi, (%rdi)
	jbe	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rdx, %rdi
	callq	_array_init
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_assoc_long
	movl	16(%rbx), %edi
	movq	%r12, %rsi
	callq	_PQftable
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_add_assoc_long
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_pdo_pgsql_translate_oid_to_table
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_add_assoc_string
	movq	%r15, %rdi
	callq	_efree
LBB0_5:
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %ecx
	leal	-128(%rcx), %eax
	cmpl	$8, %eax
	ja	LBB0_17
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_VARCHARLABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_16:
	movq	_TIMESTAMPLABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_13:
	movq	_TEXTLABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_INT8LABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	_INT4LABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	_INT2LABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_15:
	movq	_DATELABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_BYTEALABEL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_BOOLLABEL@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_assoc_string
LBB0_21:
	movl	$1, %eax
LBB0_22:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	leaq	L_.str.4(%rip), %rdx
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_spprintf
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rsi
	callq	_PQexec
	movq	%rax, %rbx
	movq	-40(%rbp), %rdi
	callq	_efree
	movq	%rbx, %rdi
	callq	_PQresultStatus
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.18:
	movq	%rbx, %rdi
	callq	_PQntuples
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_add_assoc_string
LBB0_20:
	movq	%rbx, %rdi
	callq	_PQclear
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pgsql:oid"

L_.str.1:                               ## @.str.1
	.asciz	"pgsql:table_oid"

L_.str.2:                               ## @.str.2
	.asciz	"table"

L_.str.3:                               ## @.str.3
	.asciz	"native_type"

	.comm	_BOOLLABEL,8,3                  ## @BOOLLABEL
	.comm	_BYTEALABEL,8,3                 ## @BYTEALABEL
	.comm	_INT8LABEL,8,3                  ## @INT8LABEL
	.comm	_INT2LABEL,8,3                  ## @INT2LABEL
	.comm	_INT4LABEL,8,3                  ## @INT4LABEL
	.comm	_TEXTLABEL,8,3                  ## @TEXTLABEL
	.comm	_VARCHARLABEL,8,3               ## @VARCHARLABEL
	.comm	_DATELABEL,8,3                  ## @DATELABEL
	.comm	_TIMESTAMPLABEL,8,3             ## @TIMESTAMPLABEL
L_.str.4:                               ## @.str.4
	.asciz	"SELECT TYPNAME FROM PG_TYPE WHERE OID=%u"

	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
	.no_dead_strip	_pgsql_stmt_get_column_meta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgsql_stmt_get_column_meta
_pgsql_stmt_get_column_meta:            ; @pgsql_stmt_get_column_meta
	.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
	ldr	x22, [x0, #8]
	str	xzr, [sp, #8]
	ldr	w8, [x22, #16]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x20, x1
	ldr	x8, [x0]
	cmp	x8, x1
	b.ls	LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x0, x2
	bl	_array_init
	ldr	x8, [x22, #8]
	ldr	w2, [x8, x20, lsl #2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_add_assoc_long
	ldr	w0, [x22, #16]
	mov	x1, x20
	bl	_PQftable
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_add_assoc_long
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pdo_pgsql_translate_oid_to_table
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_add_assoc_string
	mov	x0, x21
	bl	_efree
LBB0_4:
	ldr	x8, [x22, #8]
	ldr	w3, [x8, x20, lsl #2]
	sub	w8, w3, #128
	cmp	w8, #8
	b.hi	LBB0_19
; %bb.5:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh8:
	adrp	x8, _VARCHARLABEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VARCHARLABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
Lloh10:
	adrp	x8, _FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_18
LBB0_8:
Lloh13:
	adrp	x8, _TIMESTAMPLABEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TIMESTAMPLABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
Lloh15:
	adrp	x8, _TEXTLABEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TEXTLABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh17:
	adrp	x8, _INT8LABEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INT8LABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh19:
	adrp	x8, _INT4LABEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INT4LABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh21:
	adrp	x8, _INT2LABEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INT2LABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh23:
	adrp	x8, _DATELABEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DATELABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh25:
	adrp	x8, _BYTEALABEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BYTEALABEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh27:
	adrp	x8, _BOOLLABEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BOOLLABEL@GOTPAGEOFF]
LBB0_16:
	ldr	x2, [x8]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_add_assoc_string
LBB0_17:
	mov	w0, #1
LBB0_18:
	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_19:
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #8
	mov	w1, #0
	bl	_spprintf
	ldr	x8, [x22]
	ldr	w0, [x8]
	ldr	x1, [sp, #8]
	bl	_PQexec
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_efree
	mov	x0, x20
	bl	_PQresultStatus
Lloh33:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x20
	bl	_PQntuples
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	mov	x2, x0
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_add_assoc_string
LBB0_22:
	mov	x0, x20
	bl	_PQclear
	b	LBB0_17
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.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 AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pgsql:oid"

l_.str.1:                               ; @.str.1
	.asciz	"pgsql:table_oid"

l_.str.2:                               ; @.str.2
	.asciz	"table"

l_.str.3:                               ; @.str.3
	.asciz	"native_type"

	.comm	_BOOLLABEL,8,3                  ; @BOOLLABEL
	.comm	_BYTEALABEL,8,3                 ; @BYTEALABEL
	.comm	_INT8LABEL,8,3                  ; @INT8LABEL
	.comm	_INT2LABEL,8,3                  ; @INT2LABEL
	.comm	_INT4LABEL,8,3                  ; @INT4LABEL
	.comm	_TEXTLABEL,8,3                  ; @TEXTLABEL
	.comm	_VARCHARLABEL,8,3               ; @VARCHARLABEL
	.comm	_DATELABEL,8,3                  ; @DATELABEL
	.comm	_TIMESTAMPLABEL,8,3             ; @TIMESTAMPLABEL
l_.str.4:                               ; @.str.4
	.asciz	"SELECT TYPNAME FROM PG_TYPE WHERE OID=%u"

	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
	.no_dead_strip	_pgsql_stmt_get_column_meta
.subsections_via_symbols
