	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogRegisterData               ## -- Begin function XLogRegisterData
	.p2align	4, 0x90
_XLogRegisterData:                      ## @XLogRegisterData
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_begininsert_called@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	movq	_num_rdatas@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_max_rdatas@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%r15), %rax
LBB0_2:
	movq	_rdatas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%r15)
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %rdx
	movq	%r14, (%rcx,%rax,8)
	movl	%ebx, 8(%rcx,%rax,8)
	movq	_mainrdata_last@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdx, 16(%rcx)
	movq	%rdx, (%rax)
	movq	_mainrdata_len@GOTPCREL(%rip), %rax
	addl	%ebx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_begininsert_called,4,2         ## @begininsert_called
	.comm	_num_rdatas,8,3                 ## @num_rdatas
	.comm	_max_rdatas,8,3                 ## @max_rdatas
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too much WAL data"

	.comm	_rdatas,8,3                     ## @rdatas
	.comm	_mainrdata_last,8,3             ## @mainrdata_last
	.comm	_mainrdata_len,4,2              ## @mainrdata_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogRegisterData               ; -- Begin function XLogRegisterData
	.p2align	2
_XLogRegisterData:                      ; @XLogRegisterData
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x8, _begininsert_called@GOTPAGE
Lloh1:
	ldr	x8, [x8, _begininsert_called@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_Assert
Lloh3:
	adrp	x21, _num_rdatas@GOTPAGE
Lloh4:
	ldr	x21, [x21, _num_rdatas@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _max_rdatas@GOTPAGE
Lloh6:
	ldr	x9, [x9, _max_rdatas@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x21]
LBB0_2:
Lloh13:
	adrp	x9, _rdatas@GOTPAGE
Lloh14:
	ldr	x9, [x9, _rdatas@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x10, x8, #1
	str	x10, [x21]
	mov	w10, #24
	madd	x8, x8, x10, x9
	str	x20, [x8]
	str	w19, [x8, #8]
Lloh16:
	adrp	x9, _mainrdata_last@GOTPAGE
Lloh17:
	ldr	x9, [x9, _mainrdata_last@GOTPAGEOFF]
	ldr	x10, [x9]
	str	x8, [x10, #16]
	str	x8, [x9]
Lloh18:
	adrp	x8, _mainrdata_len@GOTPAGE
Lloh19:
	ldr	x8, [x8, _mainrdata_len@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w19
	str	w9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_begininsert_called,4,2         ; @begininsert_called
	.comm	_num_rdatas,8,3                 ; @num_rdatas
	.comm	_max_rdatas,8,3                 ; @max_rdatas
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too much WAL data"

	.comm	_rdatas,8,3                     ; @rdatas
	.comm	_mainrdata_last,8,3             ; @mainrdata_last
	.comm	_mainrdata_len,4,2              ; @mainrdata_len
.subsections_via_symbols
