	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_Profile                      ## -- Begin function W_Profile
	.p2align	4, 0x90
_W_Profile:                             ## @W_Profile
	.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	$40, %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	_numlumps@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_5
## %bb.1:
	movq	_lumpcache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PU_PURGELEVEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_profilecount@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%edi, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	%r8, -32(%rcx)
	setl	%dil
	leal	(%rdi,%rdi,2), %ecx
	orl	$80, %ecx
	movq	(%rdx,%rbx,8), %rdi
	movl	%ecx, (%rdi,%rsi,4)
	movq	_numlumps@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	jmp	LBB0_4
LBB0_5:
	movq	_profilecount@GOTPCREL(%rip), %r15
	incq	(%r15)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	movb	$0, -49(%rbp)
	movq	_numlumps@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_27
## %bb.6:
	leaq	-57(%rbp), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$10, %edi
	movq	%r14, %rsi
	callq	_fputc
	incq	%r12
	movq	_numlumps@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	movq	%r13, %r15
	leaq	-57(%rbp), %r13
	jge	LBB0_27
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movq	_lumpinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r12,4), %esi
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_memcpy
	cmpb	$0, -57(%rbp)
	movl	$0, %eax
	je	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -56(%rbp)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -55(%rbp)
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -54(%rbp)
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -53(%rbp)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -52(%rbp)
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -51(%rbp)
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -50(%rbp)
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$7, %eax
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %eax
	jmp	LBB0_22
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$2, %eax
	jmp	LBB0_22
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$3, %eax
	jmp	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$4, %eax
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$5, %eax
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$6, %eax
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ecx
	leaq	(%rcx,%rbp), %rdi
	addq	$-57, %rdi
	movl	$8, %edx
	subl	%eax, %edx
	movl	$32, %esi
	callq	_memset
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	cmpq	$0, (%r15)
	movq	%r15, %r13
	movq	_info@GOTPCREL(%rip), %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r15
	cmpq	%r15, (%r13)
	ja	LBB0_25
	jmp	LBB0_26
LBB0_27:
	movq	%r14, %rdi
	callq	_fclose
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_numlumps,4,2                   ## @numlumps
	.comm	_lumpcache,8,3                  ## @lumpcache
	.comm	_PU_PURGELEVEL,8,3              ## @PU_PURGELEVEL
	.comm	_info,8,3                       ## @info
	.comm	_profilecount,8,3               ## @profilecount
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"waddump.txt"

L_.str.1:                               ## @.str.1
	.asciz	"w"

	.comm	_lumpinfo,8,3                   ## @lumpinfo
L_.str.2:                               ## @.str.2
	.asciz	"%s "

L_.str.3:                               ## @.str.3
	.asciz	"    %c"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_Profile                      ; -- Begin function W_Profile
	.p2align	2
_W_Profile:                             ; @W_Profile
	.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]
Lloh3:
	adrp	x22, _numlumps@GOTPAGE
Lloh4:
	ldr	x22, [x22, _numlumps@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh5:
	adrp	x23, _info@GOTPAGE
Lloh6:
	ldr	x23, [x23, _info@GOTPAGEOFF]
Lloh7:
	adrp	x24, _profilecount@GOTPAGE
Lloh8:
	ldr	x24, [x24, _profilecount@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, #0
Lloh9:
	adrp	x10, _lumpcache@GOTPAGE
Lloh10:
	ldr	x10, [x10, _lumpcache@GOTPAGEOFF]
Lloh11:
	adrp	x11, _PU_PURGELEVEL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _PU_PURGELEVEL@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	ldr	x11, [x11]
	ldr	x12, [x23]
	ldr	x13, [x24]
	mov	w14, #80
	mov	w15, #83
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x8, w9, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x16, [x10, x8, lsl #3]
	cbz	x16, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x9, [x16, #-32]
	cmp	x9, x11
	csel	w9, w15, w14, lt
	ldr	x16, [x12, x8, lsl #3]
	str	w9, [x16, x13, lsl #2]
	ldr	w9, [x22]
	b	LBB0_2
LBB0_5:
	ldr	x8, [x24]
	add	x8, x8, #1
	str	x8, [x24]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x19, x0
	strb	wzr, [sp, #23]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.6:
	mov	x25, #0
Lloh19:
	adrp	x26, _lumpinfo@GOTPAGE
Lloh20:
	ldr	x26, [x26, _lumpinfo@GOTPAGEOFF]
	add	x27, sp, #15
Lloh21:
	adrp	x20, l_.str.2@PAGE
Lloh22:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh23:
	adrp	x21, l_.str.3@PAGE
Lloh24:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	add	x25, x25, #1
	ldrsw	x8, [x22]
	cmp	x25, x8
	b.ge	LBB0_27
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	ldr	x8, [x26]
	ldr	w1, [x8, x25, lsl #2]
	add	x0, sp, #15
	mov	w2, #8
	bl	_memcpy
	ldrb	w8, [sp, #15]
	cbz	w8, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #16]
	cbz	w8, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #17]
	cbz	w8, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #18]
	cbz	w8, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #19]
	cbz	w8, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #20]
	cbz	w8, LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #21]
	cbz	w8, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #22]
	cbnz	w8, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #7
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #2
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #3
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #4
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #5
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #6
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x27, w8, uxtw
	mov	w9, #8
	sub	w2, w9, w8
	mov	w1, #32
	bl	_memset
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x27, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	ldr	x8, [x24]
	cbz	x8, LBB0_7
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, #0
LBB0_26:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	ldr	x8, [x8, x25, lsl #3]
	ldr	w8, [x8, x28, lsl #2]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_fprintf
	add	x28, x28, #1
	ldr	x8, [x24]
	cmp	x8, x28
	b.hi	LBB0_26
	b	LBB0_7
LBB0_27:
	mov	x0, x19
	bl	_fclose
	ldr	x8, [sp, #24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	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_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_numlumps,4,2                   ; @numlumps
	.comm	_lumpcache,8,3                  ; @lumpcache
	.comm	_PU_PURGELEVEL,8,3              ; @PU_PURGELEVEL
	.comm	_info,8,3                       ; @info
	.comm	_profilecount,8,3               ; @profilecount
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"waddump.txt"

l_.str.1:                               ; @.str.1
	.asciz	"w"

	.comm	_lumpinfo,8,3                   ; @lumpinfo
l_.str.2:                               ; @.str.2
	.asciz	"%s "

l_.str.3:                               ; @.str.3
	.asciz	"    %c"

.subsections_via_symbols
