	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_session__list_build_ids
_perf_session__list_build_ids:          ## @perf_session__list_build_ids
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_symbol__elf_init
	movq	_input_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_build_id__mark_dso_hit_ops@GOTPCREL(%rip), %r8
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_perf_session__new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_filename__fprintf_build_id
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_6
LBB0_5:
	movq	_build_id__mark_dso_hit_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_perf_session__process_events
LBB0_6:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_perf_session__fprintf_dsos_buildid
LBB0_7:
	movq	%rbx, %rdi
	callq	_perf_session__delete
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_name,4,2                 ## @input_name
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_build_id__mark_dso_hit_ops,4,2 ## @build_id__mark_dso_hit_ops
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_perf_session__list_build_ids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_session__list_build_ids
_perf_session__list_build_ids:          ; @perf_session__list_build_ids
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_symbol__elf_init
Lloh0:
	adrp	x8, _input_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_name@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x4, _build_id__mark_dso_hit_ops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _build_id__mark_dso_hit_ops@GOTPAGEOFF]
	mov	x2, x20
	mov	w3, #0
	bl	_perf_session__new
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh8:
	adrp	x21, _stdout@GOTPAGE
Lloh9:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_filename__fprintf_build_id
	cbnz	x0, LBB0_6
; %bb.2:
	cbnz	w19, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
LBB0_4:
Lloh10:
	adrp	x1, _build_id__mark_dso_hit_ops@GOTPAGE
Lloh11:
	ldr	x1, [x1, _build_id__mark_dso_hit_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_perf_session__process_events
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_perf_session__fprintf_dsos_buildid
LBB0_6:
	mov	x0, x20
	bl	_perf_session__delete
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_input_name,4,2                 ; @input_name
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_build_id__mark_dso_hit_ops,4,2 ; @build_id__mark_dso_hit_ops
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_perf_session__list_build_ids
.subsections_via_symbols
