	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_charmap_range              ## -- Begin function add_charmap_range
	.p2align	4, 0x90
_add_charmap_range:                     ## @add_charmap_range
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_strlen
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcspn
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movl	%eax, %ebx
	subl	%eax, %r13d
	je	LBB0_12
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movslq	%ebx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_strspn
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %r13d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_12
## %bb.4:
	addq	%r14, %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_strspn
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%ebx, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_12
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atoi
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_atoi
	cmpl	%eax, %ebx
	jle	LBB0_6
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errf                           ## TAILCALL
LBB0_6:
	movl	%eax, %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
	incl	%r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-80(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	callq	_asprintf
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_add_charmap_impl
	incl	%r15d
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_7
## %bb.10:
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	callq	_errf
LBB0_11:
	addq	$40, %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	"0123456789"

L_.str.1:                               ## @.str.1
	.asciz	"malformed charmap range"

L_.str.2:                               ## @.str.2
	.asciz	"%s%0*u"

L_.str.3:                               ## @.str.3
	.asciz	"out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_charmap_range              ; -- Begin function add_charmap_range
	.p2align	2
_add_charmap_range:                     ; @add_charmap_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcspn
	cbz	w0, LBB0_6
; %bb.1:
	mov	x25, x0
	subs	w26, w22, w0
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.3:
	sxtw	x27, w25
	add	x24, x20, x27
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_strspn
	mov	x22, x0
	cmp	w26, w22
	b.ne	LBB0_6
; %bb.4:
	add	x26, x19, x27
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x26
	bl	_strspn
	sub	w8, w23, w25
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x24
	bl	_atoi
	mov	x23, x0
	mov	x0, x26
	bl	_atoi
	cmp	w23, w0
	b.le	LBB0_7
LBB0_6:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_errf
LBB0_7:
	strb	wzr, [x24]
	add	w25, w0, #1
Lloh8:
	adrp	x24, l_.str.2@PAGE
Lloh9:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	bl	_asprintf
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x21
	mov	w2, #1
	bl	_add_charmap_impl
	add	w21, w21, #1
	add	w23, w23, #1
	cmp	w25, w23
	b.ne	LBB0_8
; %bb.10:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	b	LBB0_12
LBB0_11:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errf
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

l_.str.1:                               ; @.str.1
	.asciz	"malformed charmap range"

l_.str.2:                               ; @.str.2
	.asciz	"%s%0*u"

l_.str.3:                               ; @.str.3
	.asciz	"out of memory"

.subsections_via_symbols
