	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getInherits                    ## -- Begin function getInherits
	.p2align	4, 0x90
_getInherits:                           ## @getInherits
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_appendPQExpBufferStr
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ExecuteSqlQuery
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	movl	%eax, %r14d
	movl	%eax, (%r15)
	movl	%eax, %edi
	shll	$4, %edi
	callq	_pg_malloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r13d
	movl	%r14d, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addq	$8, %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, -8(%r12)
	incq	%r15
	addq	$16, %r12
	cmpq	%r15, %r14
	jne	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT inhrelid, inhparent FROM pg_inherits"

	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
L_.str.1:                               ## @.str.1
	.asciz	"inhrelid"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getInherits                    ; -- Begin function getInherits
	.p2align	2
_getInherits:                           ; @getInherits
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_createPQExpBuffer
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_appendPQExpBufferStr
	ldr	w1, [x19]
Lloh2:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ExecuteSqlQuery
	mov	x20, x0
	bl	_PQntuples
	mov	x25, x0
	str	w0, [x21]
	lsl	w0, w0, #4
	bl	_pg_malloc
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	mov	x22, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	cmp	w25, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, x0
	mov	x24, #0
	mov	w25, w25
	add	x26, x21, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x26]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_PQgetvalue
	bl	_atooid
	stur	x0, [x26, #-8]
	add	x24, x24, #1
	add	x26, x26, #16
	cmp	x25, x24
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_PQclear
	mov	x0, x19
	bl	_destroyPQExpBuffer
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT inhrelid, inhparent FROM pg_inherits"

	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
l_.str.1:                               ; @.str.1
	.asciz	"inhrelid"

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

.subsections_via_symbols
