	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_decode_truncate
_pg_decode_truncate:                    ## @pg_decode_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	%rsi, %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_pg_output_begin
LBB0_3:
	movl	$1, (%r15)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OutputPluginPrepareWrite
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_appendStringInfoString
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.4:
	movl	(%rbx), %r13d
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_get_namespace_name
	movl	%eax, %r15d
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_NameStr
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_quote_qualified_identifier
	movl	%r13d, %edi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	cmpl	$1, %r12d
	je	LBB0_7
## %bb.5:
	movl	%r12d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_appendStringInfoString
	movl	(%rbx), %r15d
	movq	(%r14,%r13,8), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_get_namespace_name
	movq	%rbx, %r12
	movl	%eax, %ebx
	movq	(%r14,%r13,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_NameStr
	movl	%ebx, %edi
	movq	%r12, %rbx
	movl	%eax, %esi
	callq	_quote_qualified_identifier
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	incq	%r13
	cmpq	%r13, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
LBB0_7:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_appendStringInfoString
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.9:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_appendStringInfoString
	cmpq	$0, (%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_12
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_11
LBB0_8:
	cmpq	$0, (%r14)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_11:
	movl	(%rbx), %edi
	callq	_appendStringInfoString
LBB0_12:
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movl	4(%r14), %edi
	callq	_MemoryContextReset
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OutputPluginWrite              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"table "

L_.str.1:                               ## @.str.1
	.asciz	", "

L_.str.2:                               ## @.str.2
	.asciz	": TRUNCATE:"

L_.str.3:                               ## @.str.3
	.asciz	" restart_seqs"

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

L_.str.5:                               ## @.str.5
	.asciz	" (no-flags)"

	.no_dead_strip	_pg_decode_truncate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_decode_truncate
_pg_decode_truncate:                    ; @pg_decode_truncate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x2, x1
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_pg_output_begin
LBB0_3:
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x20, #4]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	mov	x0, x19
	mov	w1, #1
	bl	_OutputPluginPrepareWrite
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_appendStringInfoString
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.4:
	ldr	w25, [x19]
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_get_namespace_name
	mov	x26, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x26
	bl	_quote_qualified_identifier
	mov	x1, x0
	mov	x0, x25
	bl	_appendStringInfoString
	cmp	w24, #1
	b.eq	LBB0_7
; %bb.5:
	mov	w8, w24
	add	x26, x23, #8
	sub	x27, x8, #1
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x23
	bl	_appendStringInfoString
	ldr	w24, [x19]
	ldr	x8, [x26]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_get_namespace_name
	mov	x25, x0
	ldr	x8, [x26], #8
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x25
	bl	_quote_qualified_identifier
	mov	x1, x0
	mov	x0, x24
	bl	_appendStringInfoString
	subs	x27, x27, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_appendStringInfoString
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_appendStringInfoString
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.9:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_10:
	ldr	x8, [x21]
Lloh10:
	adrp	x9, l_.str.4@PAGE
Lloh11:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh12:
	adrp	x10, l_.str.5@PAGE
Lloh13:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
LBB0_11:
	ldr	w0, [x19]
	bl	_appendStringInfoString
LBB0_12:
	mov	x0, x22
	bl	_MemoryContextSwitchTo
	ldr	w0, [x20, #4]
	bl	_MemoryContextReset
	mov	x0, x19
	mov	w1, #1
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_OutputPluginWrite
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"table "

l_.str.1:                               ; @.str.1
	.asciz	", "

l_.str.2:                               ; @.str.2
	.asciz	": TRUNCATE:"

l_.str.3:                               ; @.str.3
	.asciz	" restart_seqs"

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

l_.str.5:                               ; @.str.5
	.asciz	" (no-flags)"

	.no_dead_strip	_pg_decode_truncate
.subsections_via_symbols
