	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compose
_compose:                               ## @compose
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -80(%rbp)
	movq	%rdx, -72(%rbp)
	movq	%rcx, -64(%rbp)
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r13
	xorl	%eax, %eax
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	8(,%r15,8), %r14
	addq	%r13, %r14
	movq	8(%r13,%r15,8), %r12
	leaq	1(%r15), %rax
	testq	%r12, %r12
	je	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	movsbl	1(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbq	1(%r15), %r12
	leal	-49(%r12), %eax
	xorl	%edi, %edi
	cmpb	$3, %al
	setb	%dil
	callq	_assert
	movq	-472(%rbp,%r12,8), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %r13
	movq	(%r14), %rdi
	callq	_strlen
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%r13), %rdi
	callq	_strlen
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rdi
	decq	%rdi
	callq	_alloc
	movq	_av@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movslq	%ebx, %rbx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%rdx), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%r14), %rsi
	movl	%r15d, %edx
	subl	%esi, %edx
	callq	_strncpy
	movq	_av@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%r14), %rcx
	movq	%r15, %rdx
	subq	%rcx, %rdx
	movb	$0, (%rax,%rdx)
	movq	(%rsi), %rax
	movq	%rsi, %r14
	movq	(%rax,%rbx,8), %rdi
	movq	(%r13), %rsi
	callq	_strcat
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$2, %r15
	movq	%r15, %rsi
	callq	_strcat
	incl	%ebx
	cmpq	%r12, %r13
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rbx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, %r14
	movq	_av@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %r13
	movq	_ac@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setl	%dil
	callq	_assert
	movq	(%r13), %rax
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%r14, %r13
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %r12
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%r12)
	je	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	_ac@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	_av@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	incl	%ebx
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_2
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	_av@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	$0, (%rax,%rcx,8)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_av,8,3                         ## @av
	.comm	_ac,4,2                         ## @ac
	.no_dead_strip	_compose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compose
_compose:                               ; @compose
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	x1, x2, [sp]
	str	x3, [sp, #16]
	ldr	x21, [x0]
Lloh3:
	adrp	x22, _av@GOTPAGE
Lloh4:
	ldr	x22, [x22, _av@GOTPAGEOFF]
	cbz	x21, LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	w26, #0
Lloh5:
	adrp	x24, _ac@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ac@GOTPAGEOFF]
	mov	x27, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	add	x27, x19, x23, lsl #3
	ldr	x21, [x27]
	cbz	x21, LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x21
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldrsb	w0, [x0, #1]
	bl	_isdigit
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	x21, [x20, #1]
	sub	w8, w21, #49
	and	w8, w8, #0xff
	cmp	w8, #3
	cset	w0, lo
	bl	_assert
	mov	x8, sp
	add	x8, x8, x21, lsl #3
	sub	x8, x8, #392
	ldr	x28, [x8]
	cbz	x28, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x28, #8]
	ldr	x0, [x27]
	bl	_strlen
	mov	x21, x0
	ldr	x0, [x25]
	bl	_strlen
	add	x8, x21, x0
	sub	x0, x8, #1
	bl	_alloc
	ldr	x8, [x22]
	sbfiz	x21, x26, #3, #32
	str	x0, [x8, x21]
	ldr	x8, [x22]
	ldr	x0, [x8, x21]
	ldr	x1, [x27]
	sub	w2, w20, w1
	bl	_strncpy
	ldr	x8, [x22]
	ldr	x8, [x8, x21]
	ldr	x9, [x27]
	sub	x9, x20, x9
	strb	wzr, [x8, x9]
	ldr	x8, [x22]
	ldr	x0, [x8, x21]
	ldr	x1, [x25]
	bl	_strcat
	ldr	x8, [x22]
	ldr	x0, [x8, x21]
	add	x1, x20, #2
	bl	_strcat
	add	w26, w26, #1
	cmp	x25, x28
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x26, w26
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x25, [x25, #8]
	ldrsw	x8, [x24]
	cmp	x26, x8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x25]
	ldr	x9, [x22]
	str	x8, [x9, x26, lsl #3]
	add	x26, x26, #1
	cmp	x25, x28
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x27]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x21]
	cbz	w8, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w26, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x27]
	ldr	x9, [x22]
	str	x8, [x9, w26, sxtw #3]
	add	w8, w26, #1
	mov	x26, x8
	b	LBB0_2
LBB0_13:
	mov	w26, #0
LBB0_14:
	ldr	x8, [x22]
	str	xzr, [x8, w26, sxtw #3]
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_av,8,3                         ; @av
	.comm	_ac,4,2                         ; @ac
	.no_dead_strip	_compose
.subsections_via_symbols
