	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadHead                       ## -- Begin function ReadHead
	.p2align	4, 0x90
_ReadHead:                              ## @ReadHead
	.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	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$0, 72(%rdi)
	jne	LBB0_19
## %bb.1:
	leaq	-95(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	callq	*64(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_3:
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r15d
	movsbl	%r12b, %r14d
	cmpb	$1, %r14b
	jg	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	cmpb	$1, %r12b
	jne	LBB0_7
## %bb.5:
	testb	%r15b, %r15b
	jle	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	*(%rbx)
                                        ## kill: def $al killed $al def $eax
LBB0_7:
	movsbl	%r15b, %r15d
	movsbl	%al, %edx
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_MAKE_ARCHIVE_VERSION
	movq	%rax, 8(%rbx)
	movq	_K_VERS_1_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_9
## %bb.8:
	movq	_K_VERS_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fatal
LBB0_10:
	movq	%rbx, %rdi
	callq	*(%rbx)
	movb	%al, 16(%rbx)
	cmpb	$33, %al
	jl	LBB0_12
## %bb.11:
	movzbl	%al, %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movb	16(%rbx), %al
LBB0_12:
	cmpb	$5, %al
	jb	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	callq	_pg_log_warning
LBB0_14:
	movq	8(%rbx), %rax
	movq	_K_VERS_1_7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_15
## %bb.16:
	movb	16(%rbx), %al
	jmp	LBB0_17
LBB0_15:
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_17:
	movb	%al, 17(%rbx)
	movq	%rbx, %rdi
	callq	*(%rbx)
	movsbl	%al, %edx
	movl	20(%rbx), %esi
	cmpl	%edx, %esi
	je	LBB0_19
## %bb.18:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_19:
	movq	8(%rbx), %rax
	movq	_K_VERS_1_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_20
## %bb.23:
	movq	_Z_DEFAULT_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_20:
	movq	_K_VERS_1_4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	callq	*(%rbx)
	movsbl	%al, %eax
	jmp	LBB0_24
LBB0_22:
	movq	%rbx, %rdi
	callq	_ReadInt
LBB0_24:
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.6(%rip), %rdi
	callq	_pg_log_warning
LBB0_26:
	movq	8(%rbx), %rax
	movq	_K_VERS_1_4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_29
## %bb.27:
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -64(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -72(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -80(%rbp)
	movq	%rbx, %rdi
	callq	_ReadInt
	movq	%rax, -88(%rbp)
	movq	%rbx, %rdi
	callq	_ReadStr
	movq	%rax, 56(%rbx)
	leaq	-88(%rbp), %rdi
	callq	_mktime
	movl	%eax, 48(%rbx)
	cmpl	$-1, %eax
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.7(%rip), %rdi
	callq	_pg_log_warning
LBB0_29:
	movq	8(%rbx), %rax
	movq	_K_VERS_1_10@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_31
## %bb.30:
	movq	%rbx, %rdi
	callq	_ReadStr
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	callq	_ReadStr
	movq	%rax, 32(%rbx)
LBB0_31:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGDMP"

L_.str.1:                               ## @.str.1
	.asciz	"did not find magic string in file header"

	.comm	_K_VERS_1_0,8,3                 ## @K_VERS_1_0
	.comm	_K_VERS_MAX,8,3                 ## @K_VERS_MAX
L_.str.2:                               ## @.str.2
	.asciz	"unsupported version (%d.%d) in file header"

L_.str.3:                               ## @.str.3
	.asciz	"sanity check on integer size (%lu) failed"

L_.str.4:                               ## @.str.4
	.asciz	"archive was made on a machine with larger integers, some operations might fail"

	.comm	_K_VERS_1_7,8,3                 ## @K_VERS_1_7
L_.str.5:                               ## @.str.5
	.asciz	"expected format (%d) differs from format found in file (%d)"

	.comm	_K_VERS_1_2,8,3                 ## @K_VERS_1_2
	.comm	_K_VERS_1_4,8,3                 ## @K_VERS_1_4
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ## @Z_DEFAULT_COMPRESSION
L_.str.6:                               ## @.str.6
	.asciz	"archive is compressed, but this installation does not support compression -- no data will be available"

L_.str.7:                               ## @.str.7
	.asciz	"invalid creation date in header"

	.comm	_K_VERS_1_10,8,3                ## @K_VERS_1_10
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadHead                       ; -- Begin function ReadHead
	.p2align	2
_ReadHead:                              ; @ReadHead
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	ldr	w8, [x0, #72]
	cbnz	w8, LBB0_18
; %bb.1:
	ldr	x8, [x19, #64]
	sub	x1, x29, #39
	mov	x0, x19
	mov	w2, #5
	blr	x8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #39
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_3:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x21, x0
	cmp	w20, #1
	b.gt	LBB0_6
; %bb.4:
	mov	w2, #0
	b.ne	LBB0_7
; %bb.5:
	cmp	w21, #1
	b.lt	LBB0_7
LBB0_6:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x2, x0
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_MAKE_ARCHIVE_VERSION
	str	x0, [x19, #8]
Lloh4:
	adrp	x8, _K_VERS_1_0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _K_VERS_1_0@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _K_VERS_MAX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _K_VERS_MAX@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.le	LBB0_9
; %bb.8:
	sxtw	x8, w21
	stp	x20, x8, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
LBB0_9:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	strb	w0, [x19, #16]
	cmp	w0, #33
	b.lt	LBB0_11
; %bb.10:
	and	x8, x0, #0xff
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
	ldrb	w0, [x19, #16]
LBB0_11:
	and	w8, w0, #0xff
	cmp	w8, #5
	b.lo	LBB0_13
; %bb.12:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pg_log_warning
LBB0_13:
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _K_VERS_1_7@GOTPAGE
Lloh17:
	ldr	x9, [x9, _K_VERS_1_7@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_15
; %bb.14:
	ldrb	w0, [x19, #16]
	b	LBB0_16
LBB0_15:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
LBB0_16:
	strb	w0, [x19, #17]
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #20]
	cmp	w8, w0
	b.eq	LBB0_18
; %bb.17:
	stp	x8, x0, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
LBB0_18:
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _K_VERS_1_2@GOTPAGE
Lloh22:
	ldr	x9, [x9, _K_VERS_1_2@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x20, _K_VERS_1_4@GOTPAGE
Lloh25:
	ldr	x20, [x20, _K_VERS_1_4@GOTPAGEOFF]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.19:
Lloh26:
	adrp	x8, _Z_DEFAULT_COMPRESSION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Z_DEFAULT_COMPRESSION@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	str	w0, [x19, #24]
	cbnz	w0, LBB0_23
	b	LBB0_24
LBB0_20:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_22
; %bb.21:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19, #24]
	cbnz	w0, LBB0_23
	b	LBB0_24
LBB0_22:
	mov	x0, x19
	bl	_ReadInt
	str	w0, [x19, #24]
	cbz	w0, LBB0_24
LBB0_23:
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pg_log_warning
LBB0_24:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_27
; %bb.25:
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #64]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #56]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #48]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #40]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #32]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #24]
	mov	x0, x19
	bl	_ReadInt
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_ReadStr
	str	x0, [x19, #56]
	add	x0, sp, #16
	bl	_mktime
	str	w0, [x19, #48]
	cmn	w0, #1
	b.ne	LBB0_27
; %bb.26:
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pg_log_warning
LBB0_27:
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _K_VERS_1_10@GOTPAGE
Lloh34:
	ldr	x9, [x9, _K_VERS_1_10@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_29
; %bb.28:
	mov	x0, x19
	bl	_ReadStr
	str	x0, [x19, #40]
	mov	x0, x19
	bl	_ReadStr
	str	x0, [x19, #32]
LBB0_29:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGDMP"

l_.str.1:                               ; @.str.1
	.asciz	"did not find magic string in file header"

	.comm	_K_VERS_1_0,8,3                 ; @K_VERS_1_0
	.comm	_K_VERS_MAX,8,3                 ; @K_VERS_MAX
l_.str.2:                               ; @.str.2
	.asciz	"unsupported version (%d.%d) in file header"

l_.str.3:                               ; @.str.3
	.asciz	"sanity check on integer size (%lu) failed"

l_.str.4:                               ; @.str.4
	.asciz	"archive was made on a machine with larger integers, some operations might fail"

	.comm	_K_VERS_1_7,8,3                 ; @K_VERS_1_7
l_.str.5:                               ; @.str.5
	.asciz	"expected format (%d) differs from format found in file (%d)"

	.comm	_K_VERS_1_2,8,3                 ; @K_VERS_1_2
	.comm	_K_VERS_1_4,8,3                 ; @K_VERS_1_4
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ; @Z_DEFAULT_COMPRESSION
l_.str.6:                               ; @.str.6
	.asciz	"archive is compressed, but this installation does not support compression -- no data will be available"

l_.str.7:                               ; @.str.7
	.asciz	"invalid creation date in header"

	.comm	_K_VERS_1_10,8,3                ; @K_VERS_1_10
.subsections_via_symbols
