	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WriteMapFile
_WriteMapFile:                          ## @WriteMapFile
	.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
	pushq	%rax
	.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	_MAX_OS_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_outputFilename@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_StripExtension
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_report
	movq	%rbx, %rdi
	callq	_SafeOpenWrite
	movq	%rax, %r14
	movq	_CODESEG@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_BSSSEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_1
LBB0_9:
	movq	%r14, %rdi
	callq	_fclose
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_segment@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BSSSEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	movq	%rcx, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	_symbols@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	testq	%r13, %r13
	jne	LBB0_3
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	24(%r13), %r13
	testq	%r13, %r13
	je	LBB0_7
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %r8
	cmpb	$36, (%r8)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	(,%rbx,4), %rax
	addq	(%r12), %rax
	cmpq	16(%r13), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	8(%r13), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_6
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OS_PATH,4,2                ## @MAX_OS_PATH
	.comm	_outputFilename,4,2             ## @outputFilename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".map"

L_.str.1:                               ## @.str.1
	.asciz	"Writing %s...\n"

	.comm	_CODESEG,4,2                    ## @CODESEG
	.comm	_BSSSEG,4,2                     ## @BSSSEG
	.comm	_symbols,8,3                    ## @symbols
	.comm	_segment,8,3                    ## @segment
L_.str.2:                               ## @.str.2
	.asciz	"%i %8x %s\n"

	.no_dead_strip	_WriteMapFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WriteMapFile
_WriteMapFile:                          ; @WriteMapFile
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_OS_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_OS_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _outputFilename@GOTPAGE
Lloh9:
	ldr	x8, [x8, _outputFilename@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strcpy
	mov	x0, x19
	bl	_StripExtension
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcat
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_report
	mov	x0, x19
	bl	_SafeOpenWrite
	mov	x19, x0
Lloh15:
	adrp	x8, _CODESEG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CODESEG@GOTPAGEOFF]
Lloh17:
	ldrsw	x20, [x8]
Lloh18:
	adrp	x22, _BSSSEG@GOTPAGE
Lloh19:
	ldr	x22, [x22, _BSSSEG@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w20, w8
	b.le	LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_fclose
	ldur	x8, [x29, #-72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.2:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh23:
	adrp	x23, _symbols@GOTPAGE
Lloh24:
	ldr	x23, [x23, _symbols@GOTPAGEOFF]
Lloh25:
	adrp	x24, _segment@GOTPAGE
Lloh26:
	ldr	x24, [x24, _segment@GOTPAGEOFF]
Lloh27:
	adrp	x21, l_.str.2@PAGE
Lloh28:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x20, w8, sxtw
	add	x20, x20, #1
	b.ge	LBB0_1
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x25, [x23]
	cbnz	x25, LBB0_8
	b	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x25, [x25, #24]
	cbz	x25, LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x4, [x25]
	ldrb	w8, [x4]
	cmp	w8, #36
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x24]
	add	x8, x8, x20, lsl #2
	ldr	x9, [x25, #16]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w3, [x25, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_fprintf
	b	LBB0_7
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OS_PATH,4,2                ; @MAX_OS_PATH
	.comm	_outputFilename,4,2             ; @outputFilename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".map"

l_.str.1:                               ; @.str.1
	.asciz	"Writing %s...\n"

	.comm	_CODESEG,4,2                    ; @CODESEG
	.comm	_BSSSEG,4,2                     ; @BSSSEG
	.comm	_symbols,8,3                    ; @symbols
	.comm	_segment,8,3                    ; @segment
l_.str.2:                               ; @.str.2
	.asciz	"%i %8x %s\n"

	.no_dead_strip	_WriteMapFile
.subsections_via_symbols
