	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteHead                      ## -- Begin function WriteHead
	.p2align	4, 0x90
_WriteHead:                             ## @WriteHead
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	*48(%rdi)
	movq	24(%rbx), %r14
	movl	40(%rbx), %edi
	callq	_ARCHIVE_MAJOR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	movq	24(%rbx), %r14
	movl	40(%rbx), %edi
	callq	_ARCHIVE_MINOR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	movq	24(%rbx), %r14
	movl	40(%rbx), %edi
	callq	_ARCHIVE_REV
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%r14
	movl	36(%rbx), %esi
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movl	32(%rbx), %esi
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_WriteInt
	leaq	8(%rbx), %rdi
	callq	_localtime
	movl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rax), %r12d
	movl	12(%rax), %r13d
	movl	16(%rax), %r14d
	movl	20(%rax), %r15d
	movl	24(%rax), %esi
	movq	%rbx, %rdi
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_WriteInt
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_WriteInt
	movl	4(%rbx), %edi
	callq	_PQdb
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WriteStr
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_WriteStr
	movq	_PG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WriteStr                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGDMP"

	.comm	_PG_VERSION,4,2                 ## @PG_VERSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteHead                      ; -- Begin function WriteHead
	.p2align	2
_WriteHead:                             ; @WriteHead
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0, #48]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	blr	x8
	ldr	x20, [x19, #24]
	ldr	w0, [x19, #40]
	bl	_ARCHIVE_MAJOR
	mov	x1, x0
	mov	x0, x19
	blr	x20
	ldr	x20, [x19, #24]
	ldr	w0, [x19, #40]
	bl	_ARCHIVE_MINOR
	mov	x1, x0
	mov	x0, x19
	blr	x20
	ldr	x20, [x19, #24]
	ldr	w0, [x19, #40]
	bl	_ARCHIVE_REV
	mov	x1, x0
	mov	x0, x19
	blr	x20
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #36]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #32]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #16]
	mov	x0, x19
	blr	x8
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_WriteInt
	add	x0, x19, #8
	bl	_localtime
	ldp	w20, w21, [x0]
	ldp	w22, w23, [x0, #8]
	ldp	w24, w25, [x0, #16]
	ldr	w1, [x0, #24]
	mov	x0, x19
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x25
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x24
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x23
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x22
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x21
	bl	_WriteInt
	mov	x0, x19
	mov	x1, x20
	bl	_WriteInt
	ldr	w0, [x19, #4]
	bl	_PQdb
	mov	x1, x0
	mov	x0, x19
	bl	_WriteStr
	ldr	w1, [x19]
	mov	x0, x19
	bl	_WriteStr
Lloh2:
	adrp	x8, _PG_VERSION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PG_VERSION@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WriteStr
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGDMP"

	.comm	_PG_VERSION,4,2                 ; @PG_VERSION
.subsections_via_symbols
