	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_table_name
_set_table_name:                        ## @set_table_name
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
	movq	$0, (%r14)
LBB0_2:
	testq	%r12, %r12
	je	LBB0_25
## %bb.3:
	movzbl	(%r12), %edi
	callq	_isalpha
	testl	%eax, %eax
	sete	%cl
	movb	(%r12), %al
	cmpb	$95, %al
	setne	%dl
	andb	%cl, %dl
	movzbl	%dl, %r15d
	testb	%al, %al
	je	LBB0_4
## %bb.5:
	leaq	1(%r12), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r15d
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isalnum
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	-1(%rbx), %eax
	cmpb	$95, %al
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$39, %al
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	jmp	LBB0_10
LBB0_4:
	xorl	%r13d, %r13d
LBB0_12:
	leal	2(%r13), %edi
	testl	%r15d, %r15d
	cmovel	%r13d, %edi
	incl	%edi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_26
## %bb.13:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.15:
	movb	$39, (%rax)
	movl	$1, %edx
	jmp	LBB0_16
LBB0_14:
	xorl	%edx, %edx
LBB0_16:
	movb	(%r12), %bl
	testb	%bl, %bl
	je	LBB0_17
## %bb.18:
	incq	%r12
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	(%r12), %ebx
	incq	%r12
	movl	%ecx, %edx
	testb	%bl, %bl
	je	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rcx
	movb	%bl, (%rax,%rcx)
	incq	%rcx
	cmpb	$39, -1(%r12)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	addl	$2, %edx
	movb	$39, (%rax,%rcx)
	movl	%edx, %ecx
	jmp	LBB0_21
LBB0_17:
	movl	%edx, %ecx
LBB0_22:
	testl	%r15d, %r15d
	je	LBB0_24
## %bb.23:
	movslq	%ecx, %rdx
	incl	%ecx
	movb	$39, (%rax,%rdx)
LBB0_24:
	movslq	%ecx, %rcx
	movb	$0, (%rax,%rcx)
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	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	"Error: out of memory\n"

	.no_dead_strip	_set_table_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_table_name
_set_table_name:                        ; @set_table_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	str	xzr, [x20]
LBB0_2:
	cbz	x19, LBB0_20
; %bb.3:
	ldrb	w0, [x19]
	bl	_isalpha
	cmp	w0, #0
	ldrb	w8, [x19]
	mov	w9, #95
	ccmp	w8, w9, #4, eq
	cset	w21, ne
	mov	w22, #0
	cbz	w8, LBB0_8
; %bb.4:
	add	x23, x19, #1
	mov	w24, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	ldrb	w8, [x23], #1
	cbz	w8, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isalnum
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldurb	w8, [x23, #-1]
	cmp	w8, #39
	csel	w9, w24, w24, ne
	cinc	w10, w22, eq
	cmp	w8, #95
	csel	w22, w22, w10, eq
	csel	w21, w21, w9, eq
	b	LBB0_5
LBB0_8:
	add	w8, w22, #2
	cmp	w21, #0
	csel	w8, w22, w8, eq
	add	w0, w8, #1
	bl	_malloc
	str	x0, [x20]
	cbz	x0, LBB0_21
; %bb.9:
	cbz	w21, LBB0_15
; %bb.10:
	mov	w8, #39
	strb	w8, [x0]
	mov	w9, #1
	ldrb	w12, [x19]
	cbz	w12, LBB0_16
LBB0_11:
	add	x10, x19, #1
	mov	w11, #39
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldrb	w12, [x10], #1
	mov	x9, x8
	cbz	w12, LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x13, w9
	add	x8, x13, #1
	strb	w12, [x0, x13]
	ldurb	w12, [x10, #-1]
	cmp	w12, #39
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	strb	w11, [x0, x8]
	add	w8, w9, #2
                                        ; kill: def $w8 killed $w8 def $x8
	b	LBB0_12
LBB0_15:
	mov	w9, #0
	ldrb	w12, [x19]
	cbnz	w12, LBB0_11
LBB0_16:
	mov	x8, x9
LBB0_17:
	cbz	w21, LBB0_19
; %bb.18:
	mov	w9, #39
	strb	w9, [x0, w8, sxtw]
	add	w8, w8, #1
                                        ; kill: def $w8 killed $w8 def $x8
LBB0_19:
	strb	wzr, [x0, w8, sxtw]
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_21:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: out of memory\n"

	.no_dead_strip	_set_table_name
.subsections_via_symbols
