	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_colname_unique
_make_colname_unique:                   ## @make_colname_unique
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_colname_is_unique
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	leal	16(%rax), %edi
	callq	_palloc
	movq	%rax, %r13
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %r14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_colname_is_unique
	testl	%eax, %eax
	jne	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	incl	%r15d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rdi
	addq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_sprintf
	movq	%r13, %rdi
	callq	_strlen
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-1(%rbx), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_pg_mbcliplen
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movslq	%ebx, %rdi
	addq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_sprintf
	movq	%r13, %rdi
	callq	_strlen
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	%r13, %r12
LBB0_8:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_%d"

	.comm	_NAMEDATALEN,8,3                ## @NAMEDATALEN
	.no_dead_strip	_make_colname_unique
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_colname_unique
_make_colname_unique:                   ; @make_colname_unique
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_colname_is_unique
	cbnz	w0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	add	w0, w22, #16
	bl	_palloc
	mov	x23, x0
	mov	w24, #0
Lloh0:
	adrp	x26, _NAMEDATALEN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NAMEDATALEN@GOTPAGEOFF]
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_colname_is_unique
	cbnz	w0, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	add	w24, w24, #1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_memcpy
	add	x0, x23, w22, sxtw
	mov	x1, x25
	mov	x2, x24
	bl	_sprintf
	mov	x0, x23
	bl	_strlen
	ldr	x8, [x26]
	cmp	x0, x8
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	w2, w22, #1
	mov	x0, x19
	mov	x1, x22
	bl	_pg_mbcliplen
	mov	x22, x0
	b	LBB0_4
LBB0_6:
	mov	x19, x23
LBB0_7:
	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
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_%d"

	.comm	_NAMEDATALEN,8,3                ; @NAMEDATALEN
	.no_dead_strip	_make_colname_unique
.subsections_via_symbols
