	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function substitute_args
_substitute_args:                       ## @substitute_args
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_strlen
	leaq	-136(%rbp), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_init_shared_buffer
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_gdb_assert
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 8(%rbx)
	movq	-120(%rbp), %r12
	leaq	-80(%rbp), %rdi
	movq	%r13, %rsi
	callq	_get_token
	testl	%eax, %eax
	je	LBB0_22
## %bb.1:
	addq	$16, -88(%rbp)                  ## 8-byte Folded Spill
	leaq	-80(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_append_tokens_without_splicing
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %r12
	movq	%r13, %rdi
	leaq	-136(%rbp), %rsi
	callq	_get_token
	testl	%eax, %eax
	je	LBB0_22
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	-64(%rbp), %rdx
	cmpq	%r12, %rdx
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	%r12d, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_appendmem
	movq	(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax
	cmpq	$1, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax
	cmpb	$35, (%rax)
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_error
	movq	-80(%rbp), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$2, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax
	cmpb	$35, (%rax)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$35, 1(%rax)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -56(%rbp)
	je	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$11, -80(%rbp)
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$11, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%r15)
	jle	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%rbx
	movslq	8(%r15), %rax
	addq	$32, %r12
	cmpq	%rax, %rbx
	jge	LBB0_20
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-80(%rbp), %r14
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %r14
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	-64(%rbp), %rdi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	-80(%rbp), %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rsi
	movl	-16(%r12), %edx
	leaq	-168(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_shared_buffer
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rbp), %r8
	callq	_scan
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_error
	cmpl	$0, 8(%r15)
	jg	LBB0_16
	jmp	LBB0_20
LBB0_22:
	addq	$136, %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	"Stringification is not implemented yet."

L_.str.1:                               ## @.str.1
	.asciz	"Token splicing is not implemented yet."

L_.str.2:                               ## @.str.2
	.asciz	"__VA_ARGS__"

L_.str.3:                               ## @.str.3
	.asciz	"Variable-arity macros not implemented yet."

	.no_dead_strip	_substitute_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function substitute_args
_substitute_args:                       ; @substitute_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x1
	mov	x23, x0
	ldr	x25, [x1]
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #64
	mov	x1, x25
	bl	_init_shared_buffer
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, eq
	bl	_gdb_assert
	str	xzr, [x23, #8]
	ldr	x28, [sp, #80]
	add	x0, sp, #32
	add	x1, sp, #64
	bl	_get_token
	cbz	w0, LBB0_23
; %bb.1:
	add	x27, x24, #16
Lloh0:
	adrp	x26, l_.str.2@PAGE
Lloh1:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x23
	bl	_append_tokens_without_splicing
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x28, [sp, #80]
	add	x0, sp, #32
	add	x1, sp, #64
	bl	_get_token
	cbz	w0, LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	x8, [sp, #48]
	cmp	x8, x28
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w2, w8, w28
	mov	x0, x23
	mov	x1, x28
	bl	_appendmem
	ldr	x8, [x23]
	str	x8, [x23, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]
	cmp	x8, #1
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #48]
	ldrb	w8, [x8]
	cmp	w8, #35
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	ldr	x8, [sp, #32]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #2
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #48]
	ldrb	w9, [x8]
	cmp	w9, #35
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x8, #1]
	cmp	w8, #35
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]
	cmp	x8, #11
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	mov	x1, x26
	mov	w2, #11
	bl	_memcmp
	cbnz	w0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	mov	x25, x27
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x28, x28, #1
	ldrsw	x8, [x22, #8]
	add	x25, x25, #32
	cmp	x28, x8
	b.ge	LBB0_2
LBB0_20:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [sp, #32]
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x28, lsl #3]
	bl	_strlen
	cmp	x24, w0, sxtw
	b.ne	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x0, [sp, #48]
	ldr	x8, [x22, #16]
	ldr	x1, [x8, x28, lsl #3]
	ldr	w2, [sp, #32]
	bl	_memcmp
	cbnz	w0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x25]
	ldur	w2, [x25, #-16]
	mov	x0, sp
	bl	_init_shared_buffer
	mov	x1, sp
	mov	x0, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_scan
	b	LBB0_3
LBB0_23:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stringification is not implemented yet."

l_.str.1:                               ; @.str.1
	.asciz	"Token splicing is not implemented yet."

l_.str.2:                               ; @.str.2
	.asciz	"__VA_ARGS__"

l_.str.3:                               ; @.str.3
	.asciz	"Variable-arity macros not implemented yet."

	.no_dead_strip	_substitute_args
.subsections_via_symbols
