	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sendFile
_sendFile:                              ## @sendFile
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -124(%rbp)                ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TAR_SEND_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_AllocateFile
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, (%rcx)
	je	LBB0_58
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	__tarWriteHeader
	movq	_noverify_checksums@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r15d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_13
## %bb.5:
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_DataChecksumsEnabled
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_last_dir_separator
	movq	%rax, %r14
	incq	%r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_is_checksummed_file
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	movl	$46, %esi
	callq	_strchr
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	incq	%rax
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.3(%rip), %rdi
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	$1, %r15d
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_12
LBB0_10:
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_13:
	movl	%r15d, -96(%rbp)                ## 4-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movl	(%r13), %esi
	movq	_BLCKSZ@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	subl	%r15d, %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Min
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_fread
	testl	%eax, %eax
	jle	LBB0_48
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, %r14d
	movl	(%r12), %eax
	cltd
	idivl	(%r13)
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_Assert
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13), %r8d
	movl	%r14d, %eax
	cltd
	idivl	%r8d
	testl	%edx, %edx
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_WARNING@GOTPCREL(%rip), %rax
	movq	%rbx, %r13
	movl	(%rax), %ebx
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.4(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movq	%r13, %rbx
	movq	_BLCKSZ@GOTPCREL(%rip), %r13
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
LBB0_42:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_43:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r14d, %rdx
	movl	$100, %edi
	callq	_pq_putmessage
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %r13
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movq	%r13, %rbx
	movq	_BLCKSZ@GOTPCREL(%rip), %r13
	movl	%eax, %esi
	callq	_ereport
LBB0_45:                                ##   in Loop: Header=BB0_14 Depth=1
	addl	%r14d, %r15d
	movl	%r14d, %edi
	callq	_throttle
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_49
## %bb.46:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	cmpl	%esi, %r15d
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	jl	LBB0_14
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, -96(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jle	LBB0_42
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	imull	%r13d, %r8d
	movslq	%r8d, %r12
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	callq	_PageIsNew
	testl	%eax, %eax
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%r12, %rdi
	callq	_PageGetLSN
	movq	_startptr@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_RELSEG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	-92(%rbp), %esi                 ## 4-byte Folded Reload
	addl	-68(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%r12, %rdi
	callq	_pg_checksum_page
	movl	(%r12), %r8d
	cmpl	%eax, %r8d
	jne	LBB0_29
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=2
                                        ## kill: def $ebx killed $ebx killed $rbx
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=2
	incl	-68(%rbp)                       ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
                                        ## kill: def $ebx killed $ebx def $rbx
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=2
	incl	%r13d
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %eax
	cltd
	idivl	%r8d
	cmpl	%eax, %r13d
	jl	LBB0_21
	jmp	LBB0_41
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=2
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, %rcx
	incl	%ebx
	cmpl	$4, %ecx
	jg	LBB0_27
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	leaq	L_.str.7(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpl	$5, %ebx
	jne	LBB0_27
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	$5, %ebx
	jmp	LBB0_27
LBB0_33:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	_BLCKSZ@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	imull	%r13d, %esi
	subl	%r14d, %esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_fseek
	cmpl	$-1, %eax
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.5(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_35:                                ##   in Loop: Header=BB0_21 Depth=2
	movl	(%r12), %edx
	movl	%edx, %eax
	imull	%r13d, %eax
	movslq	%eax, %rdi
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	movl	$1, %esi
	movq	%rbx, %rcx
	callq	_fread
	cmpl	(%r12), %eax
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, %rdi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_47
## %bb.37:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.6(%rip), %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_21 Depth=2
	movl	%eax, %ecx
	imull	%r13d, %ecx
	addl	%eax, %ecx
	movl	%r14d, %esi
	subl	%ecx, %esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_fseek
	cmpl	$-1, %eax
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.5(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_40:                                ##   in Loop: Header=BB0_21 Depth=2
	decl	%r13d
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_28
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	_TAR_SEND_SIZE@GOTPCREL(%rip), %r12
	movq	_BLCKSZ@GOTPCREL(%rip), %r13
	jmp	LBB0_43
LBB0_47:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, %r14d
	movq	%rax, %r13
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	_TAR_SEND_SIZE@GOTPCREL(%rip), %r12
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_43
LBB0_48:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_49:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_CHECK_FREAD_ERROR
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	cmpl	(%rbx), %r15d
	jge	LBB0_53
## %bb.50:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_MemSet
	movl	(%rbx), %esi
	cmpl	%r15d, %esi
	jle	LBB0_53
## %bb.51:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	subl	%r15d, %esi
	movl	%r13d, %edi
	callq	_Min
	movslq	%eax, %rbx
	movl	$100, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_pq_putmessage
	addl	%ebx, %r15d
	movl	%ebx, %edi
	callq	_throttle
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	cmpl	%r15d, %esi
	jg	LBB0_52
LBB0_53:
	leal	511(%r15), %eax
	andl	$-512, %eax                     ## imm = 0xFE00
	subl	%r15d, %eax
	je	LBB0_55
## %bb.54:
	movslq	%eax, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_MemSet
	movl	$100, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_pq_putmessage
LBB0_55:
	movq	%r14, %rdi
	callq	_FreeFile
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	cmpl	$2, %ebx
	jl	LBB0_57
## %bb.56:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.10(%rip), %rdi
	leaq	L_.str.11(%rip), %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_errmsg_plural
	movl	%ebx, %edi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
	movl	-124(%rbp), %edi                ## 4-byte Reload
	movl	%ebx, %esi
	callq	_pgstat_report_checksum_failures_in_db
LBB0_57:
	movq	_total_checksum_failures@GOTPCREL(%rip), %rax
	addl	%ebx, (%rax)
	movl	$1, %eax
LBB0_58:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_60
## %bb.59:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_60:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TAR_SEND_SIZE,4,2              ## @TAR_SEND_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"could not open file \"%s\": %m"

	.comm	_noverify_checksums,4,2         ## @noverify_checksums
L_.str.3:                               ## @.str.3
	.asciz	"invalid segment number %d in file \"%s\""

	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_WARNING,4,2                    ## @WARNING
L_.str.4:                               ## @.str.4
	.asciz	"could not verify checksum in file \"%s\", block %d: read buffer size %d and page size %d differ"

	.comm	_startptr,8,3                   ## @startptr
	.comm	_RELSEG_SIZE,4,2                ## @RELSEG_SIZE
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.5:                               ## @.str.5
	.asciz	"could not fseek in file \"%s\": %m"

L_.str.6:                               ## @.str.6
	.asciz	"could not reread block %d of file \"%s\": %m"

L_.str.7:                               ## @.str.7
	.asciz	"checksum verification failed in file \"%s\", block %d: calculated %X but expected %X"

L_.str.8:                               ## @.str.8
	.asciz	"further checksum verification failures in file \"%s\" will not be reported"

L_.str.9:                               ## @.str.9
	.asciz	"base backup could not send data, aborting backup"

L_.str.10:                              ## @.str.10
	.asciz	"file \"%s\" has a total of %d checksum verification failure"

L_.str.11:                              ## @.str.11
	.asciz	"file \"%s\" has a total of %d checksum verification failures"

	.comm	_total_checksum_failures,4,2    ## @total_checksum_failures
	.no_dead_strip	_sendFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sendFile
_sendFile:                              ; @sendFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	stur	w4, [x29, #-120]                ; 4-byte Folded Spill
	mov	x25, x3
	mov	x26, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _TAR_SEND_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAR_SEND_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	bl	_AllocateFile
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.1:
	cbz	w25, LBB0_4
; %bb.2:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _ENOENT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_54
LBB0_4:
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w25, [x8]
	bl	_errcode_for_file_access
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_5:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x26
	mov	w3, #0
	bl	__tarWriteHeader
	stur	wzr, [x29, #-116]               ; 4-byte Folded Spill
	mov	w24, #0
Lloh21:
	adrp	x8, _noverify_checksums@GOTPAGE
Lloh22:
	ldr	x8, [x8, _noverify_checksums@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cbnz	w8, LBB0_14
; %bb.6:
	bl	_DataChecksumsEnabled
	cbz	x0, LBB0_13
; %bb.7:
	ldur	x20, [x29, #-112]               ; 8-byte Folded Reload
	mov	x0, x20
	bl	_last_dir_separator
	add	x19, x0, #1
	mov	x0, x20
	mov	x1, x19
	bl	_is_checksummed_file
	cbz	x0, LBB0_13
; %bb.8:
	mov	x0, x19
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.9:
	add	x0, x0, #1
	bl	_atoi
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	cbnz	w0, LBB0_12
; %bb.10:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w25, [x8]
	stp	xzr, x19, [sp, #-16]!
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_11:
	stur	wzr, [x29, #-116]               ; 4-byte Folded Spill
LBB0_12:
	mov	w24, #1
	b	LBB0_14
LBB0_13:
	stur	wzr, [x29, #-116]               ; 4-byte Folded Spill
	mov	w24, #0
LBB0_14:
	stp	x26, x23, [x29, #-104]          ; 16-byte Folded Spill
	mov	w27, #0
	mov	w25, #0
	mov	w23, #0
	mov	w20, #0
	ldr	w8, [x26]
Lloh29:
	adrp	x26, _BLCKSZ@GOTPAGE
Lloh30:
	ldr	x26, [x26, _BLCKSZ@GOTPAGEOFF]
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	sub	w1, w8, w27
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_Min
	mov	x2, x0
	mov	x0, x21
	mov	w1, #1
	mov	x3, x22
	bl	_fread
	cmp	w0, #1
	b.lt	LBB0_45
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x19, x0
Lloh31:
	adrp	x8, _TAR_SEND_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TAR_SEND_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w9, [x26]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	cbz	w24, LBB0_41
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x26]
	sdiv	w9, w19, w8
	msub	w10, w9, w8, w19
	cbz	w10, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh34:
	adrp	x9, _WARNING@GOTPAGE
Lloh35:
	ldr	x9, [x9, _WARNING@GOTPAGEOFF]
Lloh36:
	ldr	w28, [x9]
	sub	sp, sp, #32
	mov	x9, x19
	stp	x9, x8, [sp, #16]
	mov	x8, x20
	str	x8, [sp, #8]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	add	sp, sp, #32
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
	mov	w24, #0
	b	LBB0_41
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w9, #1
	b.lt	LBB0_40
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w24, #0
LBB0_21:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	smaddl	x28, w8, w24, x21
	mov	x0, x28
	bl	_PageIsNew
	cbnz	w0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x28
	bl	_PageGetLSN
Lloh39:
	adrp	x8, _startptr@GOTPAGE
Lloh40:
	ldr	x8, [x8, _startptr@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh42:
	adrp	x8, _RELSEG_SIZE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RELSEG_SIZE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldur	w9, [x29, #-116]                ; 4-byte Folded Reload
	madd	w1, w8, w9, w20
	mov	x0, x28
	bl	_pg_checksum_page
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x28]
	cmp	w8, w0
	b.ne	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=2
	mov	x28, x25
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=2
	mov	w23, #0
	add	w20, w20, #1
	mov	x25, x28
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=2
	add	w24, w24, #1
	ldr	w8, [x26]
	sdiv	w9, w19, w8
	cmp	w24, w9
	b.lt	LBB0_21
	b	LBB0_40
LBB0_27:                                ;   in Loop: Header=BB0_21 Depth=2
	cbz	w23, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=2
	add	w28, w25, #1
	cmp	w25, #4
	b.gt	LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh45:
	adrp	x9, _WARNING@GOTPAGE
Lloh46:
	ldr	x9, [x9, _WARNING@GOTPAGEOFF]
Lloh47:
	ldr	w25, [x9]
	sub	sp, sp, #32
	stp	x0, x8, [sp, #16]
	str	x20, [sp, #8]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	add	sp, sp, #32
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	cmp	w28, #5
	b.ne	LBB0_25
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh50:
	adrp	x8, _WARNING@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh52:
	ldr	w25, [x8]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh53:
	adrp	x0, l_.str.8@PAGE
Lloh54:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	b	LBB0_25
LBB0_31:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	w8, [x26]
	neg	w9, w19
	madd	w1, w8, w24, w9
Lloh55:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_fseek
	cmn	w0, #1
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh58:
	adrp	x8, _ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w28, [x8]
	bl	_errcode_for_file_access
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh61:
	adrp	x0, l_.str.5@PAGE
Lloh62:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_33:                                ;   in Loop: Header=BB0_21 Depth=2
	sxtw	x8, w24
	ldrsw	x2, [x26]
	madd	x0, x2, x8, x21
	mov	w1, #1
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x22
	bl	_fread
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x22
	bl	_feof
	cbnz	x0, LBB0_39
; %bb.35:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh63:
	adrp	x8, _ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w28, [x8]
	bl	_errcode_for_file_access
	mov	x8, x20
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	stp	x8, x9, [sp, #-16]!
Lloh66:
	adrp	x0, l_.str.6@PAGE
Lloh67:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
	ldr	w0, [x26]
LBB0_36:                                ;   in Loop: Header=BB0_21 Depth=2
	madd	w8, w0, w24, w0
	sub	w1, w19, w8
Lloh68:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_fseek
	cmn	w0, #1
	b.ne	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh71:
	adrp	x8, _ERROR@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh73:
	ldr	w28, [x8]
	bl	_errcode_for_file_access
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh74:
	adrp	x0, l_.str.5@PAGE
Lloh75:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_38:                                ;   in Loop: Header=BB0_21 Depth=2
	sub	w24, w24, #1
	mov	w23, #1
	b	LBB0_26
LBB0_39:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w23, #0
	ldr	w8, [x26]
	mul	w19, w8, w24
LBB0_40:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w24, #1
LBB0_41:                                ;   in Loop: Header=BB0_15 Depth=1
	sxtw	x2, w19
	mov	w0, #100
	mov	x1, x21
	bl	_pq_putmessage
	cbz	x0, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh76:
	adrp	x8, _ERROR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh78:
	ldr	w28, [x8]
Lloh79:
	adrp	x0, l_.str.9@PAGE
Lloh80:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_43:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w27, w19, w27
	mov	x0, x19
	bl	_throttle
	mov	x0, x22
	bl	_feof
	cbnz	x0, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_15 Depth=1
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w27, w8
	b.lt	LBB0_15
LBB0_45:
	mov	x0, x22
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	bl	_CHECK_FREAD_ERROR
	ldur	x20, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w8, [x20]
	cmp	w27, w8
	b.ge	LBB0_49
; %bb.46:
	mov	x0, x21
	mov	w1, #0
	ldur	x23, [x29, #-96]                ; 8-byte Folded Reload
	mov	x2, x23
	bl	_MemSet
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, w27
	b.le	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	sub	w1, w8, w27
	mov	x0, x23
	bl	_Min
	mov	x19, x0
	sxtw	x2, w19
	mov	w0, #100
	mov	x1, x21
	bl	_pq_putmessage
	add	w27, w19, w27
	mov	x0, x19
	bl	_throttle
	b	LBB0_47
LBB0_49:
	add	w8, w27, #511
	and	w8, w8, #0xfffffe00
	subs	w8, w8, w27
	b.eq	LBB0_51
; %bb.50:
	sxtw	x19, w8
	mov	x0, x21
	mov	w1, #0
	mov	x2, x19
	bl	_MemSet
	mov	w0, #100
	mov	x1, x21
	mov	x2, x19
	bl	_pq_putmessage
LBB0_51:
	mov	x0, x22
	bl	_FreeFile
	cmp	w25, #2
	b.lt	LBB0_53
; %bb.52:
Lloh81:
	adrp	x8, _WARNING@GOTPAGE
Lloh82:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh83:
	ldr	w19, [x8]
Lloh84:
	adrp	x0, l_.str.10@PAGE
Lloh85:
	add	x0, x0, l_.str.10@PAGEOFF
Lloh86:
	adrp	x1, l_.str.11@PAGE
Lloh87:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x25
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
	mov	x4, x25
	bl	_errmsg_plural
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldur	w0, [x29, #-120]                ; 4-byte Folded Reload
	mov	x1, x25
	bl	_pgstat_report_checksum_failures_in_db
LBB0_53:
Lloh88:
	adrp	x8, _total_checksum_failures@GOTPAGE
Lloh89:
	ldr	x8, [x8, _total_checksum_failures@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w25
	str	w9, [x8]
	mov	w0, #1
LBB0_54:
	ldur	x8, [x29, #-88]
Lloh90:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh91:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.55:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_TAR_SEND_SIZE,4,2              ; @TAR_SEND_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"could not open file \"%s\": %m"

	.comm	_noverify_checksums,4,2         ; @noverify_checksums
l_.str.3:                               ; @.str.3
	.asciz	"invalid segment number %d in file \"%s\""

	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_WARNING,4,2                    ; @WARNING
l_.str.4:                               ; @.str.4
	.asciz	"could not verify checksum in file \"%s\", block %d: read buffer size %d and page size %d differ"

	.comm	_startptr,8,3                   ; @startptr
	.comm	_RELSEG_SIZE,4,2                ; @RELSEG_SIZE
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.5:                               ; @.str.5
	.asciz	"could not fseek in file \"%s\": %m"

l_.str.6:                               ; @.str.6
	.asciz	"could not reread block %d of file \"%s\": %m"

l_.str.7:                               ; @.str.7
	.asciz	"checksum verification failed in file \"%s\", block %d: calculated %X but expected %X"

l_.str.8:                               ; @.str.8
	.asciz	"further checksum verification failures in file \"%s\" will not be reported"

l_.str.9:                               ; @.str.9
	.asciz	"base backup could not send data, aborting backup"

l_.str.10:                              ; @.str.10
	.asciz	"file \"%s\" has a total of %d checksum verification failure"

l_.str.11:                              ; @.str.11
	.asciz	"file \"%s\" has a total of %d checksum verification failures"

	.comm	_total_checksum_failures,4,2    ; @total_checksum_failures
	.no_dead_strip	_sendFile
.subsections_via_symbols
