	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_asm_file
_generate_asm_file:                     ## @generate_asm_file
	.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	%rsi, %r15
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %r13
	movq	_generate_asm_file.last_file(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movq	_input_line_pointer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_FAKE_LABEL_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	_generate_asm_file.label_count(%rip), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	incl	_generate_asm_file.label_count(%rip)
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	leal	(%rax,%rbx,2), %edi
	addl	$12, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movb	$34, (%rax)
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	incq	%rbx
	testq	%r13, %r13
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jle	LBB0_8
## %bb.3:
	addq	%r15, %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	subq	%r15, %r12
	leaq	1(%r12), %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_strncpy
	movb	$92, 1(%rbx,%r12)
	addq	%r12, %rbx
	addq	$2, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%r14, %r15
	cmpq	%r13, %r15
	jae	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$92, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_strncpy
	addq	%r14, %rbx
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%rbx, %rdi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	_input_line_pointer@GOTPCREL(%rip), %r15
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%r15)
	movl	$115, %edi
	callq	_s_stab
	movq	%r14, %rdi
	callq	_colon
	movq	_generate_asm_file.last_file(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
LBB0_10:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_xstrdup
	movq	%rax, _generate_asm_file.last_file(%rip)
	movq	%rbx, %rdi
	callq	_free
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%r15)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_generate_asm_file.last_file,8,3 ## @generate_asm_file.last_file
.zerofill __DATA,__bss,_generate_asm_file.label_count,4,2 ## @generate_asm_file.label_count
	.comm	_input_line_pointer,8,3         ## @input_line_pointer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%sF%d"

	.comm	_FAKE_LABEL_NAME,8,3            ## @FAKE_LABEL_NAME
L_.str.1:                               ## @.str.1
	.asciz	"\",%d,0,0,%s\n"

	.no_dead_strip	_generate_asm_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_asm_file
_generate_asm_file:                     ; @generate_asm_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	x0, x1
	bl	_strlen
	mov	x23, x0
	adrp	x25, _generate_asm_file.last_file@PAGE
	ldr	x0, [x25, _generate_asm_file.last_file@PAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_11
LBB0_2:
Lloh3:
	adrp	x8, _input_line_pointer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_line_pointer@GOTPAGEOFF]
Lloh5:
	ldr	x27, [x8]
Lloh6:
	adrp	x8, _FAKE_LABEL_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FAKE_LABEL_NAME@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	adrp	x21, _generate_asm_file.label_count@PAGE
	ldr	w9, [x21, _generate_asm_file.label_count@PAGEOFF]
	stp	x8, x9, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #26
	bl	_sprintf
	ldr	w8, [x21, _generate_asm_file.label_count@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x21, _generate_asm_file.label_count@PAGEOFF]
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	add	x0, sp, #26
	bl	_strlen
	add	w8, w0, w21, lsl #1
	add	w0, w8, #12
	bl	_xmalloc
	mov	x21, x0
	mov	w8, #34
	mov	x22, x0
	strb	w8, [x22], #1
	cmp	x23, #1
	b.lt	LBB0_8
; %bb.3:
	add	x28, x19, x23
	mov	w26, #92
	mov	x23, x19
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x0, x23
	add	x24, x8, #1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_strncpy
	add	x22, x22, x24
	strb	w26, [x22], #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, x24
	cmp	x23, x28
	b.hs	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #92
	bl	_strchr
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_strlen
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_strncpy
	add	x22, x22, x24
	b	LBB0_5
LBB0_8:
	add	x8, sp, #26
	stp	x20, x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_sprintf
Lloh13:
	adrp	x20, _input_line_pointer@GOTPAGE
Lloh14:
	ldr	x20, [x20, _input_line_pointer@GOTPAGEOFF]
	str	x21, [x20]
	mov	w0, #115
	bl	_s_stab
	add	x0, sp, #26
	bl	_colon
	ldr	x0, [x25, _generate_asm_file.last_file@PAGEOFF]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_free
LBB0_10:
	mov	x0, x19
	bl	_xstrdup
	str	x0, [x25, _generate_asm_file.last_file@PAGEOFF]
	mov	x0, x21
	bl	_free
	str	x27, [x20]
LBB0_11:
	ldr	x8, [sp, #56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_generate_asm_file.last_file,8,3 ; @generate_asm_file.last_file
.zerofill __DATA,__bss,_generate_asm_file.label_count,4,2 ; @generate_asm_file.label_count
	.comm	_input_line_pointer,8,3         ; @input_line_pointer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%sF%d"

	.comm	_FAKE_LABEL_NAME,8,3            ; @FAKE_LABEL_NAME
l_.str.1:                               ; @.str.1
	.asciz	"\",%d,0,0,%s\n"

	.no_dead_strip	_generate_asm_file
.subsections_via_symbols
