	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_record__exit
_perf_record__exit:                     ## @perf_record__exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%edi, %edi
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$0, 32(%rsi)
	je	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	24(%rbx), %eax
	movq	8(%rbx), %rdi
	addl	%eax, (%rdi)
	cmpl	$0, 20(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_process_buildids
	movq	8(%rbx), %rdi
LBB0_4:
	movl	(%rbx), %esi
	movl	16(%rbx), %edx
	movl	$1, %ecx
	callq	_perf_session__write_header
	movq	8(%rbx), %rdi
	callq	_perf_session__delete
	movl	(%rbx), %edi
	callq	_perf_evlist__delete
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_symbol__exit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_perf_record__exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_record__exit
_perf_record__exit:                     ; @perf_record__exit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #32]
	cbz	w8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x0, [x19, #8]
	ldr	w8, [x0]
	ldp	w10, w9, [x19, #20]
	add	w8, w8, w9
	str	w8, [x0]
	cbnz	w10, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_process_buildids
	ldr	x0, [x19, #8]
LBB0_5:
	ldr	w1, [x19]
	ldr	w2, [x19, #16]
	mov	w3, #1
	bl	_perf_session__write_header
	ldr	x0, [x19, #8]
	bl	_perf_session__delete
	ldr	w0, [x19]
	bl	_perf_evlist__delete
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_symbol__exit
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_perf_record__exit
.subsections_via_symbols
