	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smgropen                       ## -- Begin function smgropen
	.p2align	4, 0x90
_smgropen:                              ## @smgropen
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_SMgrRelationHash@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_MemSet
	movabsq	$17179869192, %rax              ## imm = 0x400000008
	movq	%rax, -40(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	$400, %esi                      ## imm = 0x190
	movq	%r15, %rdx
	callq	_hash_create
	movq	%rax, (%r12)
	movq	_unowned_relns@GOTPCREL(%rip), %rdi
	callq	_dlist_init
	movq	(%r12), %rdi
LBB0_2:
	movl	%ebx, -36(%rbp)
	movl	%r14d, -40(%rbp)
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %rbx
	cmpl	$0, -44(%rbp)
	jne	LBB0_4
## %bb.3:
	movq	$0, 40(%rbx)
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	$0, (%rbx)
	movq	_smgrsw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rsi
	addq	$8, %rsi
	movq	_unowned_relns@GOTPCREL(%rip), %rdi
	callq	_dlist_push_tail
LBB0_4:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMgrRelationHash,8,3           ## @SMgrRelationHash
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smgr relation table"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_unowned_relns,4,2              ## @unowned_relns
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.comm	_smgrsw,8,3                     ## @smgrsw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function smgropen
lCPI0_0:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_smgropen
	.p2align	2
_smgropen:                              ; @smgropen
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _SMgrRelationHash@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SMgrRelationHash@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_MemSet
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh4:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
	str	d0, [sp, #8]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	w1, #400
	bl	_hash_create
	str	x0, [x21]
Lloh12:
	adrp	x0, _unowned_relns@GOTPAGE
Lloh13:
	ldr	x0, [x0, _unowned_relns@GOTPAGEOFF]
	bl	_dlist_init
	ldr	x0, [x21]
LBB0_2:
	stp	w19, w20, [sp, #8]
Lloh14:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x1, sp, #8
	add	x3, sp, #4
	bl	_hash_search
	mov	x19, x0
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #32]
	stp	x8, x8, [x19, #16]
	str	xzr, [x19]
Lloh20:
	adrp	x8, _smgrsw@GOTPAGE
Lloh21:
	ldr	x8, [x8, _smgrsw@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	add	x1, x19, #8
Lloh23:
	adrp	x0, _unowned_relns@GOTPAGE
Lloh24:
	ldr	x0, [x0, _unowned_relns@GOTPAGEOFF]
	bl	_dlist_push_tail
LBB0_4:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SMgrRelationHash,8,3           ; @SMgrRelationHash
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smgr relation table"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_unowned_relns,4,2              ; @unowned_relns
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.comm	_smgrsw,8,3                     ; @smgrsw
.subsections_via_symbols
