	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_seq_scan
_register_seq_scan:                     ## @register_seq_scan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_num_seq_scans@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_MAX_SEQ_SCANS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%r14), %rax
LBB0_2:
	movq	_seq_scan_tables@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, (%rcx,%rax,8)
	xorl	%eax, %eax
	callq	_GetCurrentTransactionNestLevel
	movq	_seq_scan_level@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movq	%rdx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_seq_scans,8,3              ## @num_seq_scans
	.comm	_MAX_SEQ_SCANS,8,3              ## @MAX_SEQ_SCANS
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many active hash_seq_search scans, cannot start one on \"%s\""

	.comm	_seq_scan_tables,8,3            ## @seq_scan_tables
	.comm	_seq_scan_level,8,3             ## @seq_scan_level
	.no_dead_strip	_register_seq_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_seq_scan
_register_seq_scan:                     ; @register_seq_scan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _num_seq_scans@GOTPAGE
Lloh1:
	ldr	x20, [x20, _num_seq_scans@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MAX_SEQ_SCANS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_SEQ_SCANS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x20]
LBB0_2:
Lloh10:
	adrp	x9, _seq_scan_tables@GOTPAGE
Lloh11:
	ldr	x9, [x9, _seq_scan_tables@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x19, [x9, x8, lsl #3]
	bl	_GetCurrentTransactionNestLevel
Lloh13:
	adrp	x8, _seq_scan_level@GOTPAGE
Lloh14:
	ldr	x8, [x8, _seq_scan_level@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x20]
	str	w0, [x8, x9, lsl #2]
	add	x8, x9, #1
	str	x8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_num_seq_scans,8,3              ; @num_seq_scans
	.comm	_MAX_SEQ_SCANS,8,3              ; @MAX_SEQ_SCANS
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many active hash_seq_search scans, cannot start one on \"%s\""

	.comm	_seq_scan_tables,8,3            ; @seq_scan_tables
	.comm	_seq_scan_level,8,3             ; @seq_scan_level
	.no_dead_strip	_register_seq_scan
.subsections_via_symbols
