	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_evlist__id_add_fd
_perf_evlist__id_add_fd:                ## @perf_evlist__id_add_fd
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_PERF_FORMAT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-1, %ebx
	testl	%eax, (%rsi)
	je	LBB0_3
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	-64(%rbp), %rsi
	movl	%r8d, %edi
	movl	$16, %edx
	callq	_read
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %eax
	movq	_PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	andl	(%rdx), %eax
	setne	%sil
	cmpl	$1, %ecx
	sbbq	$0, %rsi
	movl	-56(%rbp,%rsi,4), %r8d
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_perf_evlist__id_add
	xorl	%ebx, %ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_FORMAT_ID,4,2             ## @PERF_FORMAT_ID
	.comm	_PERF_FORMAT_TOTAL_TIME_ENABLED,4,2 ## @PERF_FORMAT_TOTAL_TIME_ENABLED
	.comm	_PERF_FORMAT_TOTAL_TIME_RUNNING,4,2 ## @PERF_FORMAT_TOTAL_TIME_RUNNING
	.no_dead_strip	_perf_evlist__id_add_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_evlist__id_add_fd
_perf_evlist__id_add_fd:                ; @perf_evlist__id_add_fd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _PERF_FORMAT_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PERF_FORMAT_ID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x23, sp, #8
	add	x1, sp, #8
	mov	x0, x4
	mov	w2, #16
	bl	_read
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w9
	mov	w8, #1
Lloh9:
	adrp	x10, _PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPAGEOFF]
	cinc	x8, x8, ne
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	cinc	x8, x8, ne
	ldr	w4, [x23, x8, lsl #2]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_perf_evlist__id_add
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_FORMAT_ID,4,2             ; @PERF_FORMAT_ID
	.comm	_PERF_FORMAT_TOTAL_TIME_ENABLED,4,2 ; @PERF_FORMAT_TOTAL_TIME_ENABLED
	.comm	_PERF_FORMAT_TOTAL_TIME_RUNNING,4,2 ; @PERF_FORMAT_TOTAL_TIME_RUNNING
	.no_dead_strip	_perf_evlist__id_add_fd
.subsections_via_symbols
