	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogRegisterBufData            ## -- Begin function XLogRegisterBufData
	.p2align	4, 0x90
_XLogRegisterBufData:                   ## @XLogRegisterBufData
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_begininsert_called@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	movq	_registered_buffers@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	(%r12,%r12,2), %rbx
	cmpl	$0, 16(%r13,%rbx,8)
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_elog
LBB0_2:
	movq	_num_rdatas@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_max_rdatas@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movq	(%r12), %rax
LBB0_4:
	movq	_rdatas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%r12)
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %rdx
	movq	%r14, (%rcx,%rax,8)
	movl	%r15d, 8(%rcx,%rax,8)
	movq	8(%r13,%rbx,8), %rax
	movq	%rdx, 16(%rax)
	movq	%rdx, 8(%r13,%rbx,8)
	addl	%r15d, (%r13,%rbx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_begininsert_called,4,2         ## @begininsert_called
	.comm	_registered_buffers,8,3         ## @registered_buffers
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no block with id %d registered with WAL insertion"

	.comm	_num_rdatas,8,3                 ## @num_rdatas
	.comm	_max_rdatas,8,3                 ## @max_rdatas
L_.str.1:                               ## @.str.1
	.asciz	"too much WAL data"

	.comm	_rdatas,8,3                     ## @rdatas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogRegisterBufData            ; -- Begin function XLogRegisterBufData
	.p2align	2
_XLogRegisterBufData:                   ; @XLogRegisterBufData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x21, 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	x8, _registered_buffers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _registered_buffers@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	mov	w8, #24
	madd	x8, x20, x8, x22
	ldr	w8, [x8, #16]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
Lloh11:
	adrp	x23, _num_rdatas@GOTPAGE
Lloh12:
	ldr	x23, [x23, _num_rdatas@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh13:
	adrp	x9, _max_rdatas@GOTPAGE
Lloh14:
	ldr	x9, [x9, _max_rdatas@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.3:
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldr	x8, [x23]
LBB0_4:
Lloh21:
	adrp	x9, _rdatas@GOTPAGE
Lloh22:
	ldr	x9, [x9, _rdatas@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x10, x8, #1
	str	x10, [x23]
	mov	w10, #24
	madd	x8, x8, x10, x9
	str	x21, [x8]
	str	w19, [x8, #8]
	madd	x9, x20, x10, x22
	ldr	x10, [x9, #8]
	str	x8, [x10, #16]
	str	x8, [x9, #8]
	ldr	w8, [x9]
	add	w8, w8, w19
	str	w8, [x9]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_begininsert_called,4,2         ; @begininsert_called
	.comm	_registered_buffers,8,3         ; @registered_buffers
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no block with id %d registered with WAL insertion"

	.comm	_num_rdatas,8,3                 ; @num_rdatas
	.comm	_max_rdatas,8,3                 ; @max_rdatas
l_.str.1:                               ; @.str.1
	.asciz	"too much WAL data"

	.comm	_rdatas,8,3                     ; @rdatas
.subsections_via_symbols
