	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_aliases
_parse_aliases:                         ## @parse_aliases
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_11
## %bb.1:
	movq	_PERF_EVSEL__MAX_ALIASES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	xorl	%r12d, %r12d
	movq	%rsi, %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jg	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rcx
	imulq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	(%rsi,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_strlen
	cmpl	%r14d, %eax
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %ebx
	movq	-8(%r15,%r13,8), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	cmovel	%ebx, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	_PERF_EVSEL__MAX_ALIASES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15,%r13,8), %rdi
	incq	%r13
	testq	%rdi, %rdi
	jne	LBB0_6
	jmp	LBB0_9
LBB0_11:
	movl	$-1, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_EVSEL__MAX_ALIASES,4,2    ## @PERF_EVSEL__MAX_ALIASES
	.no_dead_strip	_parse_aliases
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_aliases
_parse_aliases:                         ; @parse_aliases
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x21, x0
	mov	x19, #0
Lloh0:
	adrp	x23, _PERF_EVSEL__MAX_ALIASES@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PERF_EVSEL__MAX_ALIASES@GOTPAGEOFF]
	ldr	w24, [x23]
	mov	w25, w2
	lsl	x26, x24, #3
	mov	w27, #-1
	mov	x28, x1
	mov	x8, x24
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w27, #0
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	b.gt	LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	add	x28, x28, x26
	cmp	x19, x25
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	x9, x19, x24
	ldr	x0, [x1, x9, lsl #3]
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_strlen
	cmp	w0, w27
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x22, x0
	ldr	x1, [x28, x20, lsl #3]
	mov	x0, x21
	mov	x2, x22
	bl	_strncasecmp
	cmp	w0, #0
	csel	w27, w22, w27, eq
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x9, x20, #1
	ldrsw	x8, [x23]
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x10, x28, x20, lsl #3
	ldr	x0, [x10, #8]
	mov	x20, x9
	cbnz	x0, LBB0_7
	b	LBB0_2
LBB0_11:
	mov	w19, #-1
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_EVSEL__MAX_ALIASES,4,2    ; @PERF_EVSEL__MAX_ALIASES
	.no_dead_strip	_parse_aliases
.subsections_via_symbols
