	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbexit
_bbexit:                                ## @bbexit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__bblist@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	_tail@GOTPCREL(%rip), %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	(%r14), %rdi
	cmpq	_tail@GOTPCREL(%rip), %rdi
	je	LBB0_5
## %bb.3:
	movq	_tail@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_profout
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%r14)
	cmpq	%r15, %rdi
	jne	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__bblist,8,3                    ## @_bblist
	.comm	_tail,8,3                       ## @tail
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prof.out"

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

	.no_dead_strip	_bbexit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbexit
_bbexit:                                ; @bbexit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, __bblist@GOTPAGE
Lloh1:
	ldr	x20, [x20, __bblist@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _tail@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tail@GOTPAGEOFF]
	cmp	x8, x21
	b.eq	LBB0_5
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	x0, [x20]
	cmp	x0, x21
	b.eq	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x19
	bl	_profout
	ldr	x8, [x20]
	ldr	x0, [x8]
	str	x0, [x20]
	cmp	x0, x21
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fclose
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__bblist,8,3                    ; @_bblist
	.comm	_tail,8,3                       ; @tail
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prof.out"

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

	.no_dead_strip	_bbexit
.subsections_via_symbols
