	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emitasm
_emitasm:                               ## @emitasm
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_reuse
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_getrule
	movq	_IR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movslq	%eax, %r13
	movq	(%rdx), %rcx
	movq	8(%rdx), %rax
	movq	(%rcx,%r13,8), %r12
	movq	(%rax,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_assert
	movq	(%r15), %rax
	movq	32(%rax), %rcx
	cmpq	$0, (%rcx,%r13,8)
	je	LBB0_5
## %bb.1:
	cmpq	$0, 24(%r14)
	je	LBB0_5
## %bb.2:
	movq	8(%r14), %rax
	movq	_RX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_print
	jmp	LBB0_3
LBB0_5:
	movb	(%rbx), %cl
	cmpb	$63, %cl
	je	LBB0_8
## %bb.6:
	cmpb	$35, %cl
	jne	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	callq	*24(%rax)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.25:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	incq	%rbx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_assert
	movq	_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movq	(%rcx,%rax,8), %rcx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rdx,%rax,8), %rcx
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rbx
	cmpb	$10, (%rax)
	movq	%rbx, %rax
	jne	LBB0_10
LBB0_11:
	movq	_IR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-128(%rbp), %rdx
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	-132(%rbp), %esi                ## 4-byte Reload
	callq	*16(%rax)
	movq	_framesize@GOTPCREL(%rip), %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r14), %rax
	movsbq	(%rbx), %rcx
	movq	-776(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fputs
	incq	%rbx
	movq	%r13, %r12
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_print
	incq	%rbx
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$37, %al
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	testb	%al, %al
	je	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movsbl	%al, %edi
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	callq	_putchar
	incq	%rbx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=2
	movsbq	1(%rbx), %rax
	incq	%rbx
	cmpq	$70, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	addl	$-48, %eax
	movq	-128(%rbp,%rax,8), %rdi
	movswl	(%r12,%rax,2), %esi
	callq	_emitasm
	incq	%rbx
	jmp	LBB0_13
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$97, %al
	jl	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %r13
	movzbl	%al, %r12d
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	8(%r14), %rdi
	callq	_NELEMS
	movsbl	%al, %eax
	addl	$97, %eax
	cmpl	%r12d, %eax
	jg	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=2
	movzbl	(%rbx), %eax
	movq	%r13, %r12
	leaq	L_.str.1(%rip), %r14
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=2
	movsbl	%al, %edi
	jmp	LBB0_16
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IR,8,3                         ## @IR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_RX,8,3                         ## @RX
L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_framesize,4,2                  ## @framesize
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_emitasm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emitasm
_emitasm:                               ; @emitasm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_reuse
	mov	x19, x0
	mov	x1, x20
	bl	_getrule
	mov	x21, x0
Lloh3:
	adrp	x23, _IR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IR@GOTPAGEOFF]
	ldr	x8, [x23]
	sbfiz	x24, x21, #3, #32
	ldp	x9, x8, [x8]
	ldr	x22, [x9, x24]
	ldr	x20, [x8, x24]
	mov	x0, x20
	bl	_assert
	ldr	x8, [x23]
	ldr	x9, [x8, #32]
	ldr	x9, [x9, x24]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _RX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print
	b	LBB0_6
LBB0_3:
	ldrb	w9, [x20]
	cmp	w9, #63
	b.eq	LBB0_8
; %bb.4:
	cmp	w9, #35
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.7:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_8:
	add	x20, x20, #1
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_assert
Lloh13:
	adrp	x8, _RX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RX@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	lsl	x8, x8, #3
	ldp	x9, x10, [x19, #8]
	ldr	x9, [x9, x8]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x8, [x10, x8]
	cmp	x9, x8
	b.ne	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20], #1
	cmp	w8, #10
	b.ne	LBB0_9
LBB0_10:
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	add	x23, sp, #8
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	blr	x8
Lloh16:
	adrp	x24, _framesize@GOTPAGE
Lloh17:
	ldr	x24, [x24, _framesize@GOTPAGEOFF]
Lloh18:
	adrp	x21, l_.str.1@PAGE
Lloh19:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh20:
	adrp	x25, _stdout@GOTPAGE
Lloh21:
	ldr	x25, [x25, _stdout@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	bl	_print
	add	x20, x20, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #37
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	w8, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	sxtb	w0, w8
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_putchar
	add	x20, x20, #1
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrsb	x8, [x20, #1]!
	cmp	x8, #70
	b.eq	LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	w8, w8, #48
	ldr	x0, [x23, w8, uxtw #3]
	ldrsh	w1, [x22, w8, uxtw #1]
	bl	_emitasm
	add	x20, x20, #1
	b	LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #97
	b.lt	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	and	w26, w8, #0xff
	ldr	x0, [x19, #8]
	bl	_NELEMS
	add	w8, w0, #97
	cmp	w8, w26
	b.le	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #8]
	ldrsb	x9, [x20]
	add	x8, x8, x9, lsl #3
	sub	x8, x8, #776
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_fputs
	add	x20, x20, #1
	b	LBB0_12
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x20]
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	sxtb	w0, w8
	b	LBB0_15
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IR,8,3                         ; @IR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_RX,8,3                         ; @RX
l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_framesize,4,2                  ; @framesize
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_emitasm
.subsections_via_symbols
