	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lo_truncate64                  ## -- Begin function lo_truncate64
	.p2align	4, 0x90
_lo_truncate64:                         ## @lo_truncate64
	.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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_3:
	movabsq	$17179869185, %rax              ## imm = 0x400000001
	movq	%rax, -80(%rbp)
	movl	%r15d, -72(%rbp)
	movl	%r14d, %edi
	callq	_lo_hton64
	movl	%eax, -88(%rbp)
	movabsq	$34359738368, %rax              ## imm = 0x800000000
	movq	%rax, -56(%rbp)
	leaq	-88(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movl	$2, (%rsp)
	leaq	-84(%rbp), %rdx
	leaq	-92(%rbp), %rcx
	leaq	-80(%rbp), %r9
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_PQfn
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	%rax, %r14
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_PQclear
	movl	$-1, %eax
	cmpq	%r15, %r14
	jne	LBB0_9
## %bb.4:
	movl	-84(%rbp), %eax
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_lo_initialize
	testq	%rax, %rax
	js	LBB0_8
## %bb.6:
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
LBB0_7:
	addq	$8, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_8:
	movl	$-1, %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot determine OID of function lo_truncate64\n"

	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lo_truncate64
lCPI0_0:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
lCPI0_1:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lo_truncate64
	.p2align	2
_lo_truncate64:                         ; @lo_truncate64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
	str	w21, [sp, #32]
	mov	x0, x20
	bl	_lo_hton64
	str	w0, [sp, #20]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #48]
	add	x8, sp, #20
	str	x8, [sp, #64]
	ldr	x8, [x19]
	ldr	x1, [x8]
	add	x2, sp, #16
	add	x3, sp, #12
	add	x5, sp, #24
	mov	x0, x19
	mov	w4, #1
	mov	w6, #2
	bl	_PQfn
	mov	x19, x0
	bl	_PQresultStatus
	mov	x20, x0
Lloh7:
	adrp	x8, _PGRES_COMMAND_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PGRES_COMMAND_OK@GOTPAGEOFF]
Lloh9:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_PQclear
	ldr	w8, [sp, #16]
	cmp	x20, x21
	csinv	w0, w8, wzr, eq
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_lo_initialize
	tbnz	x0, #63, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
LBB0_6:
	add	x19, x19, #8
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot determine OID of function lo_truncate64\n"

	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
.subsections_via_symbols
