	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_profile
_scan_profile:                          ## @scan_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	-1(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_EOF@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r14), %ebx
	je	LBB0_23
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	je	LBB0_22
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	movq	%r13, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	%r12d, %r15d
	subl	%r13d, %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movb	%bl, (%r12)
	incq	%r12
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	je	LBB0_18
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$42, %ebx
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%r13, %r12
	jbe	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpb	$47, -1(%r12)
	je	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$47, %ebx
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=2
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%r13, %r12
	jbe	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpb	$42, -1(%r12)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=2
	movslq	%r15d, %r12
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	movzbl	%bl, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%r13, %r12
	jbe	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r13, %r12
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%r12)
	movq	_opt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_printf
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_set_option
	jmp	LBB0_1
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_EOF,4,2                        ## @EOF
	.comm	_opt,8,3                        ## @opt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"profile: %s\n"

	.no_dead_strip	_scan_profile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_profile
_scan_profile:                          ; @scan_profile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@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	x20, x9, x8
	mov	sp, x20
	sub	x23, x20, #1
Lloh8:
	adrp	x24, _EOF@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
Lloh10:
	adrp	x25, _opt@GOTPAGE
Lloh11:
	ldr	x25, [x25, _opt@GOTPAGEOFF]
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	b.eq	LBB0_23
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	bl	_getc
	mov	x22, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #0
	mov	x26, x20
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=2
	sub	w27, w26, w20
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	strb	w22, [x26], #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_getc
	mov	x22, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_19
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w22, #42
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cbnz	w27, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x26, x20
	b.ls	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldurb	w8, [x26, #-1]
	cmp	w8, #47
	b.eq	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w22, #47
	b.ne	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	cbz	w27, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x26, x20
	b.ls	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	ldurb	w8, [x26, #-1]
	cmp	w8, #42
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x26, x23, w27, sxtw
	mov	w27, #0
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=2
	and	w0, w22, #0xff
	bl	_isspace
	cbz	x0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x26, x20
	b.ls	LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=2
	cbnz	w27, LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x20
	b.eq	LBB0_1
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	strb	wzr, [x26]
	ldr	x8, [x25]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_printf
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_set_option
	b	LBB0_2
LBB0_23:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.24:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_EOF,4,2                        ; @EOF
	.comm	_opt,8,3                        ; @opt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"profile: %s\n"

	.no_dead_strip	_scan_profile
.subsections_via_symbols
