	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tuning_db_search
LCPI0_0:
	.space	16,32
LCPI0_1:
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.byte	32                              ## 0x20
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_tuning_db_search
	.p2align	4, 0x90
_tuning_db_search:                      ## @tuning_db_search
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r14
	movq	%rsi, %rdi
	callq	_hcstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_84
## %bb.1:
	movq	%rax, %r13
	cmpq	$8, %rax
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_60
LBB0_84:
	movq	%rbx, -88(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_69
LBB0_3:
	cmpq	$16, %r13
	jae	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_41
LBB0_5:
	movq	%r13, %rax
	andq	$-16, %rax
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$16, %rcx
	cmpq	%rcx, %rax
	je	LBB0_39
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rcx), %xmm1
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %edx
	testb	$1, %dl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, (%rbx,%rcx)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$1, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 1(%rbx,%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$2, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 2(%rbx,%rcx)
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$3, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 3(%rbx,%rcx)
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$4, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 4(%rbx,%rcx)
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$5, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 5(%rbx,%rcx)
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$6, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 6(%rbx,%rcx)
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$7, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 7(%rbx,%rcx)
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$8, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 8(%rbx,%rcx)
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$9, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 9(%rbx,%rcx)
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$10, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 10(%rbx,%rcx)
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$11, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 11(%rbx,%rcx)
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$12, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 12(%rbx,%rcx)
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$13, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 13(%rbx,%rcx)
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$14, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 14(%rbx,%rcx)
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$15, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$95, 15(%rbx,%rcx)
	jmp	LBB0_38
LBB0_39:
	cmpq	%rax, %r13
	je	LBB0_63
## %bb.40:
	testb	$8, %r13b
	je	LBB0_60
LBB0_41:
	movq	%rax, %rcx
	movq	%r13, %rax
	andq	$-8, %rax
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = <32,32,32,32,32,32,32,32,u,u,u,u,u,u,u,u>
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_42 Depth=1
	addq	$8, %rcx
	cmpq	%rcx, %rax
	je	LBB0_59
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx), %xmm1              ## xmm1 = mem[0],zero
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %edx
	testb	$1, %dl
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, (%rbx,%rcx)
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$1, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 1(%rbx,%rcx)
LBB0_46:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$2, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 2(%rbx,%rcx)
LBB0_48:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$3, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 3(%rbx,%rcx)
LBB0_50:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$4, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 4(%rbx,%rcx)
LBB0_52:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$5, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 5(%rbx,%rcx)
LBB0_54:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$6, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 6(%rbx,%rcx)
LBB0_56:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$7, %xmm1, %edx
	testb	$1, %dl
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$95, 7(%rbx,%rcx)
	jmp	LBB0_58
LBB0_59:
	cmpq	%rax, %r13
	je	LBB0_63
LBB0_60:
	cmpb	$32, (%rbx,%rax)
	jne	LBB0_62
## %bb.61:
	movb	$95, (%rbx,%rax)
LBB0_62:
	incq	%rax
	jmp	LBB0_59
LBB0_63:
	movq	%rbx, -88(%rbp)
	testq	%r13, %r13
	je	LBB0_64
## %bb.66:
	movq	_sort_by_tuning_db_alias@GOTPCREL(%rip), %r15
	leaq	-88(%rbp), %r12
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rbx,%r13)
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	movl	(%r15), %r8d
	movq	%r12, %rdi
	movl	$24, %ecx
	callq	_bsearch
	testq	%rax, %rax
	jne	LBB0_68
## %bb.65:                              ##   in Loop: Header=BB0_67 Depth=1
	decq	%r13
	jne	LBB0_67
	jmp	LBB0_70
LBB0_64:
	xorl	%eax, %eax
	jmp	LBB0_69
LBB0_68:
	movq	8(%rax), %rax
LBB0_69:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_70:
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	cmpl	$6, %r12d
	movl	$1, %eax
	cmovel	%eax, %r12d
	cmpl	$7, %r12d
	cmovel	%eax, %r12d
	leaq	_tuning_db_search.s(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_80:                                ##   in Loop: Header=BB0_71 Depth=1
	incq	%r15
	cmpq	$8, %r15
	je	LBB0_81
LBB0_71:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, %r15b
	leaq	L_.str(%rip), %rax
	cmoveq	%rbx, %rax
	movq	%rax, _tuning_db_search.s(%rip)
	movl	%r15d, %eax
	andl	$2, %eax
	negq	%rax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	%r12d, %eax
	movl	%eax, _tuning_db_search.s+16(%rip)
	movl	%r15d, %eax
	andl	$4, %eax
	negq	%rax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, _tuning_db_search.s+20(%rip)
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	_sort_by_tuning_db_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	$24, %ecx
	callq	_bsearch
	testq	%rax, %rax
	jne	LBB0_82
## %bb.72:                              ##   in Loop: Header=BB0_71 Depth=1
	testb	$1, %r15b
	jne	LBB0_80
## %bb.73:                              ##   in Loop: Header=BB0_71 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_71 Depth=1
	movq	%rax, _tuning_db_search.s(%rip)
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	_sort_by_tuning_db_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	$24, %ecx
	callq	_bsearch
	testq	%rax, %rax
	jne	LBB0_82
LBB0_75:                                ##   in Loop: Header=BB0_71 Depth=1
	leaq	L_.str.1(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_CL_DEVICE_TYPE_CPU@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_78
## %bb.76:                              ##   in Loop: Header=BB0_71 Depth=1
	leaq	L_.str.2(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_CL_DEVICE_TYPE_GPU@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_78
## %bb.77:                              ##   in Loop: Header=BB0_71 Depth=1
	leaq	L_.str.3(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_CL_DEVICE_TYPE_ACCELERATOR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_79
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_71 Depth=1
	movq	%rax, _tuning_db_search.s(%rip)
LBB0_79:                                ##   in Loop: Header=BB0_71 Depth=1
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	_sort_by_tuning_db_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	$24, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_80
LBB0_82:
	movq	%rax, %r14
	jmp	LBB0_83
LBB0_81:
	xorl	%r14d, %r14d
LBB0_83:
	movq	%rbx, %rdi
	callq	_hcfree
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tuning_db_search.s,24,3 ## @tuning_db_search.s
	.comm	_sort_by_tuning_db_alias,4,2    ## @sort_by_tuning_db_alias
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

	.comm	_sort_by_tuning_db_entry,4,2    ## @sort_by_tuning_db_entry
	.comm	_CL_DEVICE_TYPE_CPU,4,2         ## @CL_DEVICE_TYPE_CPU
L_.str.1:                               ## @.str.1
	.asciz	"DEVICE_TYPE_CPU"

	.comm	_CL_DEVICE_TYPE_GPU,4,2         ## @CL_DEVICE_TYPE_GPU
L_.str.2:                               ## @.str.2
	.asciz	"DEVICE_TYPE_GPU"

	.comm	_CL_DEVICE_TYPE_ACCELERATOR,4,2 ## @CL_DEVICE_TYPE_ACCELERATOR
L_.str.3:                               ## @.str.3
	.asciz	"DEVICE_TYPE_ACCELERATOR"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuning_db_search               ; -- Begin function tuning_db_search
	.p2align	2
_tuning_db_search:                      ; @tuning_db_search
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x4
	mov	x22, x3
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	ldr	x24, [x0]
	mov	x0, x1
	bl	_hcstrdup
	mov	x19, x0
	bl	_strlen
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	cmp	x0, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x8, #0
	b	LBB0_66
LBB0_3:
	mov	x25, #0
	str	x19, [sp, #8]
	b	LBB0_71
LBB0_4:
	cmp	x23, #16
	b.hs	LBB0_6
; %bb.5:
	mov	x8, #0
	b	LBB0_42
LBB0_6:
	and	x8, x23, #0xfffffffffffffff0
	add	x9, x19, #7
	movi.16b	v0, #32
	mov	w10, #95
	mov	x11, x8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #16
	subs	x11, x11, #16
	b.eq	LBB0_40
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q1, [x9, #-7]
	cmeq.16b	v1, v1, v0
	umov.b	w12, v1[0]
	tbz	w12, #0, LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-7]
	umov.b	w12, v1[1]
	tbnz	w12, #0, LBB0_25
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[2]
	tbz	w12, #0, LBB0_26
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-5]
	umov.b	w12, v1[3]
	tbnz	w12, #0, LBB0_27
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[4]
	tbz	w12, #0, LBB0_28
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-3]
	umov.b	w12, v1[5]
	tbnz	w12, #0, LBB0_29
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[6]
	tbz	w12, #0, LBB0_30
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-1]
	umov.b	w12, v1[7]
	tbnz	w12, #0, LBB0_31
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[8]
	tbz	w12, #0, LBB0_32
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #1]
	umov.b	w12, v1[9]
	tbnz	w12, #0, LBB0_33
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[10]
	tbz	w12, #0, LBB0_34
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #3]
	umov.b	w12, v1[11]
	tbnz	w12, #0, LBB0_35
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[12]
	tbz	w12, #0, LBB0_36
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #5]
	umov.b	w12, v1[13]
	tbnz	w12, #0, LBB0_37
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[14]
	tbz	w12, #0, LBB0_38
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #7]
	umov.b	w12, v1[15]
	tbz	w12, #0, LBB0_7
	b	LBB0_39
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[1]
	tbz	w12, #0, LBB0_10
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-6]
	umov.b	w12, v1[2]
	tbnz	w12, #0, LBB0_11
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[3]
	tbz	w12, #0, LBB0_12
LBB0_27:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-4]
	umov.b	w12, v1[4]
	tbnz	w12, #0, LBB0_13
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[5]
	tbz	w12, #0, LBB0_14
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	sturb	w10, [x9, #-2]
	umov.b	w12, v1[6]
	tbnz	w12, #0, LBB0_15
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[7]
	tbz	w12, #0, LBB0_16
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9]
	umov.b	w12, v1[8]
	tbnz	w12, #0, LBB0_17
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[9]
	tbz	w12, #0, LBB0_18
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #2]
	umov.b	w12, v1[10]
	tbnz	w12, #0, LBB0_19
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[11]
	tbz	w12, #0, LBB0_20
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #4]
	umov.b	w12, v1[12]
	tbnz	w12, #0, LBB0_21
LBB0_36:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[13]
	tbz	w12, #0, LBB0_22
LBB0_37:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #6]
	umov.b	w12, v1[14]
	tbnz	w12, #0, LBB0_23
LBB0_38:                                ;   in Loop: Header=BB0_8 Depth=1
	umov.b	w12, v1[15]
	tbz	w12, #0, LBB0_7
LBB0_39:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w10, [x9, #8]
	b	LBB0_7
LBB0_40:
	cmp	x23, x8
	b.eq	LBB0_61
; %bb.41:
	tbz	w23, #3, LBB0_66
LBB0_42:
	mov	x10, x8
	and	x8, x23, #0xfffffffffffffff8
	sub	x9, x10, x8
	add	x10, x10, x19
	add	x10, x10, #3
	movi.8b	v0, #32
	mov	w11, #95
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x10, x10, #8
	adds	x9, x9, #8
	b.eq	LBB0_60
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldur	d1, [x10, #-3]
	cmeq.8b	v1, v1, v0
	umov.b	w12, v1[0]
	tbz	w12, #0, LBB0_52
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	sturb	w11, [x10, #-3]
	umov.b	w12, v1[1]
	tbnz	w12, #0, LBB0_53
LBB0_46:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[2]
	tbz	w12, #0, LBB0_54
LBB0_47:                                ;   in Loop: Header=BB0_44 Depth=1
	sturb	w11, [x10, #-1]
	umov.b	w12, v1[3]
	tbnz	w12, #0, LBB0_55
LBB0_48:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[4]
	tbz	w12, #0, LBB0_56
LBB0_49:                                ;   in Loop: Header=BB0_44 Depth=1
	strb	w11, [x10, #1]
	umov.b	w12, v1[5]
	tbnz	w12, #0, LBB0_57
LBB0_50:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[6]
	tbz	w12, #0, LBB0_58
LBB0_51:                                ;   in Loop: Header=BB0_44 Depth=1
	strb	w11, [x10, #3]
	umov.b	w12, v1[7]
	tbz	w12, #0, LBB0_43
	b	LBB0_59
LBB0_52:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[1]
	tbz	w12, #0, LBB0_46
LBB0_53:                                ;   in Loop: Header=BB0_44 Depth=1
	sturb	w11, [x10, #-2]
	umov.b	w12, v1[2]
	tbnz	w12, #0, LBB0_47
LBB0_54:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[3]
	tbz	w12, #0, LBB0_48
LBB0_55:                                ;   in Loop: Header=BB0_44 Depth=1
	strb	w11, [x10]
	umov.b	w12, v1[4]
	tbnz	w12, #0, LBB0_49
LBB0_56:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[5]
	tbz	w12, #0, LBB0_50
LBB0_57:                                ;   in Loop: Header=BB0_44 Depth=1
	strb	w11, [x10, #2]
	umov.b	w12, v1[6]
	tbnz	w12, #0, LBB0_51
LBB0_58:                                ;   in Loop: Header=BB0_44 Depth=1
	umov.b	w12, v1[7]
	tbz	w12, #0, LBB0_43
LBB0_59:                                ;   in Loop: Header=BB0_44 Depth=1
	strb	w11, [x10, #4]
	b	LBB0_43
LBB0_60:
	cmp	x23, x8
	b.ne	LBB0_66
LBB0_61:
	str	x19, [sp, #8]
	cbz	x23, LBB0_65
; %bb.62:
Lloh0:
	adrp	x21, _sort_by_tuning_db_alias@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sort_by_tuning_db_alias@GOTPAGEOFF]
LBB0_63:                                ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x19, x23]
	ldp	w2, w1, [x24, #8]
	ldr	w4, [x21]
	add	x0, sp, #8
	mov	w3, #24
	bl	_bsearch
	cbnz	x0, LBB0_70
; %bb.64:                               ;   in Loop: Header=BB0_63 Depth=1
	subs	x23, x23, #1
	b.ne	LBB0_63
LBB0_65:
	mov	x25, #0
	b	LBB0_71
LBB0_66:
	sub	x9, x23, x8
	add	x8, x19, x8
	mov	w10, #95
	b	LBB0_68
LBB0_67:                                ;   in Loop: Header=BB0_68 Depth=1
	add	x8, x8, #1
	subs	x9, x9, #1
	b.eq	LBB0_61
LBB0_68:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	cmp	w11, #32
	b.ne	LBB0_67
; %bb.69:                               ;   in Loop: Header=BB0_68 Depth=1
	strb	w10, [x8]
	b	LBB0_67
LBB0_70:
	ldr	x25, [x0, #8]
LBB0_71:
	mov	x26, #0
	cmp	w22, #6
	csinc	w8, w22, wzr, ne
	cmp	w8, #7
Lloh2:
	adrp	x27, l_.str@PAGE
Lloh3:
	add	x27, x27, l_.str@PAGEOFF
Lloh4:
	adrp	x22, _tuning_db_search.s@PAGE
Lloh5:
	add	x22, x22, _tuning_db_search.s@PAGEOFF
Lloh6:
	adrp	x28, _sort_by_tuning_db_entry@GOTPAGE
Lloh7:
	ldr	x28, [x28, _sort_by_tuning_db_entry@GOTPAGEOFF]
	csinc	w21, w8, wzr, ne
	b	LBB0_73
LBB0_72:                                ;   in Loop: Header=BB0_73 Depth=1
	add	x26, x26, #1
	cmp	x26, #8
	b.eq	LBB0_83
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	tst	x26, #0x1
	csel	x8, x19, x27, eq
	str	x8, [x22]
	tst	x26, #0x2
	csinv	w8, w21, wzr, eq
	tst	x26, #0x4
	csinv	w9, w20, wzr, eq
	stp	w8, w9, [x22, #16]
	ldp	w2, w1, [x24]
	ldr	w4, [x28]
	mov	x0, x22
	mov	w3, #24
	bl	_bsearch
	cbnz	x0, LBB0_82
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=1
	tbnz	w26, #0, LBB0_72
; %bb.75:                               ;   in Loop: Header=BB0_73 Depth=1
	cbz	x25, LBB0_77
; %bb.76:                               ;   in Loop: Header=BB0_73 Depth=1
	str	x25, [x22]
	ldp	w2, w1, [x24]
	ldr	w4, [x28]
	mov	x0, x22
	mov	w3, #24
	bl	_bsearch
	cbnz	x0, LBB0_82
LBB0_77:                                ;   in Loop: Header=BB0_73 Depth=1
Lloh8:
	adrp	x8, _CL_DEVICE_TYPE_CPU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CL_DEVICE_TYPE_CPU@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	tst	w9, w10
	b.ne	LBB0_80
; %bb.78:                               ;   in Loop: Header=BB0_73 Depth=1
Lloh13:
	adrp	x8, _CL_DEVICE_TYPE_GPU@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CL_DEVICE_TYPE_GPU@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x8]
Lloh16:
	adrp	x8, l_.str.2@PAGE
Lloh17:
	add	x8, x8, l_.str.2@PAGEOFF
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	tst	w9, w10
	b.ne	LBB0_80
; %bb.79:                               ;   in Loop: Header=BB0_73 Depth=1
Lloh18:
	adrp	x8, _CL_DEVICE_TYPE_ACCELERATOR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CL_DEVICE_TYPE_ACCELERATOR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x8]
Lloh21:
	adrp	x8, l_.str.3@PAGE
Lloh22:
	add	x8, x8, l_.str.3@PAGEOFF
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	tst	w9, w10
	b.eq	LBB0_81
LBB0_80:                                ;   in Loop: Header=BB0_73 Depth=1
	adrp	x9, _tuning_db_search.s@PAGE
	str	x8, [x9, _tuning_db_search.s@PAGEOFF]
LBB0_81:                                ;   in Loop: Header=BB0_73 Depth=1
	ldp	w2, w1, [x24]
	ldr	w4, [x28]
	mov	x0, x22
	mov	w3, #24
	bl	_bsearch
	cbz	x0, LBB0_72
LBB0_82:
	mov	x23, x0
	b	LBB0_84
LBB0_83:
	mov	x23, #0
LBB0_84:
	mov	x0, x19
	bl	_hcfree
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tuning_db_search.s,24,3 ; @tuning_db_search.s
	.comm	_sort_by_tuning_db_alias,4,2    ; @sort_by_tuning_db_alias
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

	.comm	_sort_by_tuning_db_entry,4,2    ; @sort_by_tuning_db_entry
	.comm	_CL_DEVICE_TYPE_CPU,4,2         ; @CL_DEVICE_TYPE_CPU
l_.str.1:                               ; @.str.1
	.asciz	"DEVICE_TYPE_CPU"

	.comm	_CL_DEVICE_TYPE_GPU,4,2         ; @CL_DEVICE_TYPE_GPU
l_.str.2:                               ; @.str.2
	.asciz	"DEVICE_TYPE_GPU"

	.comm	_CL_DEVICE_TYPE_ACCELERATOR,4,2 ; @CL_DEVICE_TYPE_ACCELERATOR
l_.str.3:                               ; @.str.3
	.asciz	"DEVICE_TYPE_ACCELERATOR"

.subsections_via_symbols
