	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	cmpl	$5, %edi
	jne	LBB0_11
## %bb.1:
	movq	8(%rsi), %r8
	movq	16(%rsi), %r12
	movq	24(%rsi), %r15
	movq	32(%rsi), %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PQsetdb
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_PQstatus
	movq	_CONNECTION_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movq	%r13, %rdi
	callq	_exit_nicely
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_PQexec
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	%r14, %r15
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %r14
	movq	%r12, %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_PQclear
	movq	%r13, %rdi
	callq	_exit_nicely
LBB0_5:
	movq	%rbx, %rdi
	callq	_PQclear
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_PQexec
	movq	%rax, %rdi
	callq	_PQclear
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_lo_import
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	%eax, %r12d
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	$-296, %edx                     ## imm = 0xFED8
	movl	$1000, %ecx                     ## imm = 0x3E8
	callq	_pickout
	leaq	L_str.14(%rip), %rdi
	callq	_puts
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	$-296, %edx                     ## imm = 0xFED8
	movl	$1000, %ecx                     ## imm = 0x3E8
	callq	_overwrite
	leaq	L_.str.10(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_lo_export
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_8:
	leaq	L_str.15(%rip), %rdi
	callq	_puts
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	$-999999296, %edx               ## imm = 0xC46538C0
	callq	_my_truncate
	leaq	L_.str.12(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_lo_export
	testq	%rax, %rax
	jns	LBB0_10
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_10:
	leaq	L_.str.13(%rip), %rsi
	movq	%r13, %rdi
	callq	_PQexec
	movq	%rax, %rdi
	callq	_PQclear
	movq	%r13, %rdi
	callq	_PQfinish
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s database_name in_filename out_filename out_filename2\n"

	.comm	_CONNECTION_OK,8,3              ## @CONNECTION_OK
L_.str.1:                               ## @.str.1
	.asciz	"Connection to database failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"SELECT pg_catalog.set_config('search_path', '', false)"

	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
L_.str.3:                               ## @.str.3
	.asciz	"SET failed: %s"

L_.str.4:                               ## @.str.4
	.asciz	"begin"

L_.str.5:                               ## @.str.5
	.asciz	"importing file \"%s\" ...\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tas large object %u.\n"

L_.str.10:                              ## @.str.10
	.asciz	"exporting large object to file \"%s\" ...\n"

L_.str.12:                              ## @.str.12
	.asciz	"exporting truncated large object to file \"%s\" ...\n"

L_.str.13:                              ## @.str.13
	.asciz	"end"

L_str:                                  ## @str
	.asciz	"picking out bytes 4294967000-4294968000 of the large object"

L_str.14:                               ## @str.14
	.asciz	"overwriting bytes 4294967000-4294968000 of the large object with X's"

L_str.15:                               ## @str.15
	.asciz	"truncating to 3294968000 bytes"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
	cmp	w0, #5
	b.ne	LBB0_11
; %bb.1:
	ldp	x4, x22, [x1, #8]
	ldp	x21, x20, [x1, #24]
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PQsetdb
	mov	x19, x0
	bl	_PQstatus
Lloh0:
	adrp	x8, _CONNECTION_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONNECTION_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_PQerrorMessage
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_fprintf
	mov	x0, x19
	bl	_exit_nicely
LBB0_3:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_PQexec
	mov	x23, x0
	bl	_PQresultStatus
Lloh10:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
	mov	x0, x19
	bl	_PQerrorMessage
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	mov	x0, x23
	bl	_PQclear
	mov	x0, x19
	bl	_exit_nicely
LBB0_5:
	mov	x0, x23
	bl	_PQclear
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_PQexec
	bl	_PQclear
	str	x22, [sp]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	x0, x19
	mov	x1, x22
	bl	_lo_import
	cbz	w0, LBB0_9
; %bb.6:
	mov	x22, x0
	str	x22, [sp]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
Lloh24:
	adrp	x0, l_str@PAGE
Lloh25:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x19
	mov	x1, x22
	mov	w2, #-296
	mov	w3, #1000
	bl	_pickout
Lloh26:
	adrp	x0, l_str.14@PAGE
Lloh27:
	add	x0, x0, l_str.14@PAGEOFF
	bl	_puts
	mov	x0, x19
	mov	x1, x22
	mov	w2, #-296
	mov	w3, #1000
	bl	_overwrite
	str	x21, [sp]
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_lo_export
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_PQerrorMessage
	mov	x2, x0
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_fprintf
LBB0_8:
Lloh35:
	adrp	x0, l_str.15@PAGE
Lloh36:
	add	x0, x0, l_str.15@PAGEOFF
	bl	_puts
	mov	x0, x19
	mov	x1, x22
	mov	w2, #14528
	movk	w2, #50277, lsl #16
	bl	_my_truncate
	str	x20, [sp]
Lloh37:
	adrp	x0, l_.str.12@PAGE
Lloh38:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_lo_export
	tbz	x0, #63, LBB0_10
LBB0_9:
Lloh39:
	adrp	x8, _stderr@GOTPAGE
Lloh40:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh41:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_PQerrorMessage
	mov	x2, x0
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_10:
Lloh44:
	adrp	x1, l_.str.13@PAGE
Lloh45:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_PQexec
	bl	_PQclear
	mov	x0, x19
	bl	_PQfinish
	mov	w0, #0
	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
LBB0_11:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldr	x2, [x1]
Lloh49:
	adrp	x1, l_.str@PAGE
Lloh50:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s database_name in_filename out_filename out_filename2\n"

	.comm	_CONNECTION_OK,8,3              ; @CONNECTION_OK
l_.str.1:                               ; @.str.1
	.asciz	"Connection to database failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"SELECT pg_catalog.set_config('search_path', '', false)"

	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
l_.str.3:                               ; @.str.3
	.asciz	"SET failed: %s"

l_.str.4:                               ; @.str.4
	.asciz	"begin"

l_.str.5:                               ; @.str.5
	.asciz	"importing file \"%s\" ...\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tas large object %u.\n"

l_.str.10:                              ; @.str.10
	.asciz	"exporting large object to file \"%s\" ...\n"

l_.str.12:                              ; @.str.12
	.asciz	"exporting truncated large object to file \"%s\" ...\n"

l_.str.13:                              ; @.str.13
	.asciz	"end"

l_str:                                  ; @str
	.asciz	"picking out bytes 4294967000-4294968000 of the large object"

l_str.14:                               ; @str.14
	.asciz	"overwriting bytes 4294967000-4294968000 of the large object with X's"

l_str.15:                               ; @str.15
	.asciz	"truncating to 3294968000 bytes"

.subsections_via_symbols
