	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lo_truncate                    ## -- Begin function lo_truncate
	.p2align	4, 0x90
_lo_truncate:                           ## @lo_truncate
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	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_2
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_lo_initialize
	testq	%rax, %rax
	js	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
LBB0_4:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.8:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jae	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
LBB0_6:
	addq	$8, %rbx
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_7:
	movl	$-1, %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movabsq	$17179869185, %rax              ## imm = 0x400000001
	movq	%rax, -64(%rbp)
	movl	%r15d, -56(%rbp)
	movq	%rax, -52(%rbp)
	movl	%r14d, -44(%rbp)
	movl	$2, (%rsp)
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	leaq	-64(%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_12
## %bb.11:
	movl	-68(%rbp), %eax
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot determine OID of function lo_truncate\n"

	.comm	_INT_MAX,8,3                    ## @INT_MAX
L_.str.1:                               ## @.str.1
	.asciz	"argument of lo_truncate exceeds integer range\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_truncate
lCPI0_0:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lo_truncate
	.p2align	2
_lo_truncate:                           ; @lo_truncate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	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]
	str	x8, [sp, #40]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x1, [x8]
	cbz	x1, LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.hs	LBB0_10
; %bb.4:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_lo_initialize
	tbnz	x0, #63, LBB0_9
; %bb.6:
	ldr	x8, [x19]
	ldr	x1, [x8]
	cbnz	x1, LBB0_3
LBB0_7:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	add	x19, x19, #8
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
LBB0_9:
	mov	w0, #-1
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	str	w21, [sp, #24]
	stur	d0, [sp, #28]
	str	w20, [sp, #36]
	add	x2, sp, #12
	add	x3, sp, #8
	add	x5, sp, #16
	mov	x0, x19
	mov	w4, #1
	mov	w6, #2
	bl	_PQfn
	mov	x19, x0
	bl	_PQresultStatus
	mov	x20, x0
Lloh12:
	adrp	x8, _PGRES_COMMAND_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PGRES_COMMAND_OK@GOTPAGEOFF]
Lloh14:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_PQclear
	ldr	w8, [sp, #12]
	cmp	x20, x21
	csinv	w0, w8, wzr, eq
LBB0_11:
	ldr	x8, [sp, #40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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
	add	sp, sp, #96
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot determine OID of function lo_truncate\n"

	.comm	_INT_MAX,8,3                    ; @INT_MAX
l_.str.1:                               ; @.str.1
	.asciz	"argument of lo_truncate exceeds integer range\n"

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