	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getAccessMethods               ## -- Begin function getAccessMethods
	.p2align	4, 0x90
_getAccessMethods:                      ## @getAccessMethods
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	cmpl	$90599, (%rdi)                  ## imm = 0x161E7
	jg	LBB0_2
## %bb.1:
	movl	$0, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_appendPQExpBufferStr
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ExecuteSqlQuery
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	movl	%eax, %r14d
	movl	%eax, (%r15)
	movl	%eax, %edi
	shll	$6, %edi
	callq	_pg_malloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.3:
	movl	%eax, %r13d
	movl	%r14d, %r15d
	xorl	%r14d, %r14d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DO_ACCESS_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, 32(%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, 24(%r12)
	movq	%r12, %rdi
	callq	_AssignDumpId
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	%rax, 16(%r12)
	movq	$0, 8(%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	%rax, 56(%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_PQgetvalue
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_selectDumpableAccessMethod
	movq	_DUMP_COMPONENT_ACL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
	incq	%r14
	addq	$64, %r12
	cmpq	%r14, %r15
	jne	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_6:
	addq	$40, %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 tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"amhandler"

L_.str.5:                               ## @.str.5
	.asciz	"amtype"

	.comm	_DO_ACCESS_METHOD,4,2           ## @DO_ACCESS_METHOD
	.comm	_DUMP_COMPONENT_ACL,4,2         ## @DUMP_COMPONENT_ACL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getAccessMethods               ; -- Begin function getAccessMethods
	.p2align	2
_getAccessMethods:                      ; @getAccessMethods
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	ldr	w8, [x0]
	mov	w9, #25063
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	mov	x0, #0
	str	wzr, [x21]
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	bl	_createPQExpBuffer
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_appendPQExpBufferStr
	str	x20, [sp]                       ; 8-byte Folded Spill
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ExecuteSqlQuery
	mov	x22, x0
	bl	_PQntuples
	mov	x20, x0
	str	w0, [x21]
	lsl	w0, w0, #6
	bl	_pg_malloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x23, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x24, x0
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x25, x0
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x26, x0
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x27, x0
	mov	x28, #0
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	w20, w20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
Lloh15:
	adrp	x8, _DO_ACCESS_METHOD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DO_ACCESS_METHOD@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x21, #40]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x23
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x21, #32]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x21, #24]
	mov	x0, x21
	bl	_AssignDumpId
	mov	x0, x22
	mov	x1, x28
	mov	x2, x25
	bl	_PQgetvalue
	bl	_pg_strdup
	stp	xzr, x0, [x21, #8]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x26
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x21, #56]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x27
	bl	_PQgetvalue
	ldr	w8, [x0]
	str	w8, [x21, #48]
	mov	x0, x21
	mov	x1, x19
	bl	_selectDumpableAccessMethod
Lloh18:
	adrp	x8, _DUMP_COMPONENT_ACL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DUMP_COMPONENT_ACL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21], #64
	add	x28, x28, #1
	cmp	x20, x28
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x22
	bl	_PQclear
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"amhandler"

l_.str.5:                               ; @.str.5
	.asciz	"amtype"

	.comm	_DO_ACCESS_METHOD,4,2           ; @DO_ACCESS_METHOD
	.comm	_DUMP_COMPONENT_ACL,4,2         ; @DUMP_COMPONENT_ACL
.subsections_via_symbols
