	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcExtMap_add                  ## -- Begin function arcExtMap_add
	.p2align	4, 0x90
_arcExtMap_add:                         ## @arcExtMap_add
	.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, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_cleanup_ext_map
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	testq	%r14, %r14
	jle	LBB0_11
## %bb.2:
	addq	%rbx, %r14
	leaq	LJTI0_0(%rip), %r13
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r15
	movzbl	(%rbx), %edi
	addl	$-6, %edi
	callq	_xmalloc
	movq	%rax, %r12
	leaq	6(%rbx), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	%r12, (%r15)
	movzbl	5(%rbx), %eax
	movb	%al, 8(%r15)
	movq	_arc_extension_map@GOTPCREL(%rip), %rcx
	movq	16(%rcx), %rax
	movq	%rax, 16(%r15)
	movq	%r15, 16(%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rbx), %eax
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edi
	movl	$-1, %eax
	testl	%edi, %edi
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rbx), %ecx
	addb	$-128, %cl
	cmpb	$3, %cl
	ja	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%cl, %eax
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	2(%rbx), %r12d
	movq	%r13, %r14
	movzbl	3(%rbx), %r13d
	addl	$-5, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movl	$16, %edi
	callq	_xmalloc
	addb	$7, %r13b
	leal	-16(%r12), %ecx
	cmpb	$3, %r12b
	movzbl	%r13b, %edx
	movzbl	%cl, %r13d
	cmovel	%edx, %r13d
	movq	%rax, %r12
	movzbl	4(%rbx), %eax
	movb	%al, (%r12)
	leaq	5(%rbx), %rsi
	movq	%r15, %rdi
	callq	_strcpy
	movq	%r15, 8(%r12)
	movq	_arc_extension_map@GOTPCREL(%rip), %rax
	movq	24(%rax), %rax
	movsbq	%r13b, %rcx
	movq	%r14, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, (%rax,%rcx,8)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$-3, %edi
	callq	_xmalloc
	movq	%rax, %r15
	leaq	3(%rbx), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	_arc_extension_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	2(%rbx), %ecx
	movq	%r15, -256(%rax,%rcx,8)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$-3, %edi
	callq	_xmalloc
	movq	%rax, %r15
	leaq	3(%rbx), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	_arc_extension_map@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movzbl	2(%rbx), %ecx
	movq	%r15, -128(%rax,%rcx,8)
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_arc_extension_map,32,3         ## @arc_extension_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcExtMap_add                  ; -- Begin function arcExtMap_add
	.p2align	2
_arcExtMap_add:                         ; @arcExtMap_add
	.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, x1
	mov	x19, x0
	bl	_cleanup_ext_map
	mov	w0, #0
	cbz	x19, LBB0_13
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_13
; %bb.2:
	add	x22, x19, x20
Lloh0:
	adrp	x23, lJTI0_0@PAGE
Lloh1:
	add	x23, x23, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x24, _arc_extension_map@GOTPAGE
Lloh3:
	ldr	x24, [x24, _arc_extension_map@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #24
	bl	_malloc
	mov	x20, x0
	ldrb	w8, [x19]
	sub	w0, w8, #6
	bl	_xmalloc
	mov	x21, x0
	add	x1, x19, #6
	bl	_strcpy
	str	x21, [x20]
	ldrb	w8, [x19, #5]
	strb	w8, [x20, #8]
	ldr	x8, [x24, #16]
	str	x8, [x20, #16]
	str	x20, [x24, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x19]
	add	x19, x19, x8
	cmp	x19, x22
	b.hs	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x19, #1]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x10, LBB0_3
	ldrb	w11, [x23, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w25, [x19, #2]
	ldrb	w26, [x19, #3]
	sub	w0, w8, #5
	bl	_xmalloc
	mov	x20, x0
	mov	w0, #16
	bl	_xmalloc
	mov	x21, x0
	add	w8, w26, #7
	sub	w9, w25, #16
	cmp	w25, #3
	csel	w25, w8, w9, eq
	ldrb	w8, [x19, #4]
	strb	w8, [x0]
	add	x1, x19, #5
	mov	x0, x20
	bl	_strcpy
	str	x20, [x21, #8]
	ldr	x8, [x24, #24]
	sxtb	x9, w25
	str	x21, [x8, x9, lsl #3]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w0, w8, #3
	bl	_xmalloc
	mov	x20, x0
	add	x1, x19, #3
	bl	_strcpy
	ldr	x8, [x24]
	ldrb	w9, [x19, #2]
	add	x8, x8, x9, lsl #3
	stur	x20, [x8, #-256]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w0, w8, #3
	bl	_xmalloc
	mov	x20, x0
	add	x1, x19, #3
	bl	_strcpy
	ldr	x8, [x24, #8]
	ldrb	w9, [x19, #2]
	add	x8, x8, x9, lsl #3
	stur	x20, [x8, #-128]
	b	LBB0_4
LBB0_11:
	mov	w0, #-1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_arc_extension_map,32,3         ; @arc_extension_map
.subsections_via_symbols
