	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function task_netplay_crc_scan_handler
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_task_netplay_crc_scan_handler:         ## @task_netplay_crc_scan_handler
	.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	$488, %rsp                      ## imm = 0x1E8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	%rax, -520(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%r15), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_begin_task
	movq	%rbx, %rdi
	callq	_core_requires_content
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rbx, -456(%rbp)                ## 8-byte Spill
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_10:
	movq	-456(%rbp), %r13                ## 8-byte Reload
	movq	8(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_string_is_equal
	movq	%rax, -496(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	movq	%r15, -464(%rbp)                ## 8-byte Spill
	movq	%r12, -504(%rbp)                ## 8-byte Spill
	je	LBB0_11
LBB0_15:
	movq	32(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	32(%r13), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_37
LBB0_17:
	movq	56(%r13), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_36
## %bb.18:
	leaq	L_.str.9(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_1:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_task_set_data
	movq	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_74
## %bb.2:
	movq	%r15, %rdi
	movq	%rax, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_task                    ## TAILCALL
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	callq	_playlist_free
	movq	-464(%rbp), %r15                ## 8-byte Reload
	leaq	L_.str.9(%rip), %r14
	movq	-480(%rbp), %rbx                ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rbx
	movq	-456(%rbp), %r13                ## 8-byte Reload
	movq	56(%r13), %rdi
	cmpq	(%rdi), %rbx
	jae	LBB0_36
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	8(%rdi), %rax
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_35
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, -480(%rbp)                ## 8-byte Spill
	leaq	L_.str.10(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	_COLLECTION_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_playlist_init
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_playlist_get_size
	testl	%eax, %eax
	je	LBB0_34
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	%rax, %xmm0
	punpckldq	LCPI0_0(%rip), %xmm0    ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	mulsd	LCPI0_2(%rip), %xmm1
	cvttsd2si	%xmm1, %esi
	movq	-464(%rbp), %rdi                ## 8-byte Reload
	callq	_task_set_progress
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_34
LBB0_22:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	$0, -448(%rbp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	leaq	-448(%rbp), %rdx
	callq	_playlist_get_index
	movq	-448(%rbp), %rax
	movq	(%rax), %r14
	cmpq	$0, -496(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	8(%rax), %rbx
	movq	-456(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_24
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	-504(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-520(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_get_entry
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	movq	-456(%rbp), %rax                ## 8-byte Reload
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	16(%rax), %rsi
	movq	-504(%rbp), %rdi                ## 8-byte Reload
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	-456(%rbp), %rax                ## 8-byte Reload
	movq	40(%rax), %rbx
	movq	%r14, %rdi
	callq	_path_get_extension
	movq	%rbx, %rdi
	movq	-456(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	%r13, %rax
	shrq	$32, %rax
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_22 Depth=2
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_33
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_finish_task
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	movq	-456(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_5
	jmp	LBB0_74
LBB0_7:
	movq	-456(%rbp), %rdi                ## 8-byte Reload
	callq	_core_requires_content
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-456(%rbp), %rbx                ## 8-byte Reload
	movq	56(%rbx), %rdi
	callq	_string_list_free
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_finish_task
	movq	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	48(%rbx), %esi
	callq	_command_event
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_74
## %bb.9:
	movq	%rbx, %rdi
LBB0_5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	callq	_content_get_crc
	testl	%eax, %eax
	jle	LBB0_15
## %bb.12:
	movq	%rsp, %r15
	movl	(%r14), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	8(%r13), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	xorl	%eax, %eax
	callq	_content_get_crc
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_snprintf
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	16(%r13), %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$8, %edx
	callq	_strlcpy
	movl	$1, (%r13)
	movl	$1, 24(%r13)
	movq	-464(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_task_set_data
	movq	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_finish_task
	movq	56(%r13), %rdi
	callq	_string_list_free
	movq	%r15, %rsp
	jmp	LBB0_72
LBB0_36:
	callq	_string_list_free
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	callq	_finish_task
	movq	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	48(%r13), %esi
	callq	_command_event
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_72
LBB0_24:
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	-456(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_25
LBB0_29:
	leaq	L_.str.12(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
LBB0_25:
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movl	$1, (%rbx)
	movq	-464(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_task_set_data
	movq	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_finish_task
	movq	56(%rbx), %rdi
	callq	_string_list_free
	movq	%r15, %rdi
	callq	_playlist_free
	jmp	LBB0_72
LBB0_37:
	movq	16(%r13), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_string_split
	movq	%rax, -488(%rbp)                ## 8-byte Spill
	cmpq	$0, (%rax)
	je	LBB0_69
## %bb.38:
	movq	56(%r13), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_63:                                ##   in Loop: Header=BB0_39 Depth=1
	movl	%r12d, -448(%rbp,%r14,4)
	movq	-464(%rbp), %r15                ## 8-byte Reload
LBB0_64:                                ##   in Loop: Header=BB0_39 Depth=1
	movq	-488(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	-512(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %r14
	cmpq	%rcx, %rdx
	jae	LBB0_44
LBB0_39:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
                                        ##       Child Loop BB0_48 Depth 3
	movl	$0, -448(%rbp,%r14,4)
	leaq	1(%r14), %rcx
	movq	%rcx, -512(%rbp)                ## 8-byte Spill
	cmpq	$0, (%rax)
	je	LBB0_64
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%r14, -480(%rbp)                ## 8-byte Spill
	jmp	LBB0_41
LBB0_49:                                ##   in Loop: Header=BB0_41 Depth=2
	movl	$1, %r12d
LBB0_61:                                ##   in Loop: Header=BB0_41 Depth=2
	movq	-496(%rbp), %rdi                ## 8-byte Reload
	callq	_playlist_free
	movq	-456(%rbp), %r13                ## 8-byte Reload
	movq	-480(%rbp), %r14                ## 8-byte Reload
LBB0_62:                                ##   in Loop: Header=BB0_41 Depth=2
	incq	%r15
	movq	56(%r13), %rax
	cmpq	(%rax), %r15
	jae	LBB0_63
LBB0_41:                                ##   Parent Loop BB0_39 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_48 Depth 3
	testl	%r12d, %r12d
	jne	LBB0_63
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_43
## %bb.46:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	-488(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	(%rax,%r14,8), %rcx
	xorl	%r12d, %r12d
	leaq	L_.str.14(%rip), %rdi
	movq	-512(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	_COLLECTION_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_playlist_init
	movq	%rax, -496(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_playlist_get_size
	testl	%eax, %eax
	je	LBB0_61
## %bb.47:                              ##   in Loop: Header=BB0_41 Depth=2
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%r13
LBB0_60:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	%rax, %xmm0
	punpckldq	LCPI0_0(%rip), %xmm0    ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	mulsd	LCPI0_2(%rip), %xmm1
	cvttsd2si	%xmm1, %esi
	movq	-464(%rbp), %rdi                ## 8-byte Reload
	callq	_task_set_progress
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_61
LBB0_48:                                ##   Parent Loop BB0_39 Depth=1
                                        ##     Parent Loop BB0_41 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%r12d, %r12d
	jne	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	$0, -472(%rbp)
	movq	-496(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	leaq	-472(%rbp), %rdx
	callq	_playlist_get_index
	movq	-472(%rbp), %rax
	movq	(%rax), %rdx
	movq	-504(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-520(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_entry
	movq	%rbx, %rdi
	callq	_string_is_empty
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_51
LBB0_57:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	%r15, %rax
	shrq	$32, %rax
	jne	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_48 Depth=3
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r13d
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	-488(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-480(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	movq	%rbx, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_57
## %bb.52:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	-456(%rbp), %rax                ## 8-byte Reload
	movq	40(%rax), %rbx
	movq	-472(%rbp), %rax
	movq	(%rax), %rdi
	callq	_path_get_extension
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	-472(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	-456(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbx), %rdi
	cmpq	$0, -480(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_54
## %bb.55:                              ##   in Loop: Header=BB0_48 Depth=3
	leaq	L_.str.13(%rip), %rsi
	movl	$8, %edx
	callq	_strlcat
	movq	16(%rbx), %rdi
	movq	-472(%rbp), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_strlcat
	jmp	LBB0_56
LBB0_54:                                ##   in Loop: Header=BB0_48 Depth=3
	movb	$0, (%rdi)
	movq	16(%rbx), %rdi
	movq	-472(%rbp), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_56:                                ##   in Loop: Header=BB0_48 Depth=3
	movl	$1, %r12d
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=2
	xorl	%r12d, %r12d
	movq	-456(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_62
LBB0_14:
	movq	%r15, %rsp
	movq	-464(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_15
LBB0_44:
	testq	%rcx, %rcx
	je	LBB0_69
## %bb.45:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -448(%rbp,%rax,4)
	je	LBB0_67
## %bb.65:                              ##   in Loop: Header=BB0_66 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_66
## %bb.68:
	movl	$1, (%r13)
	jmp	LBB0_70
LBB0_69:
	cmpl	$0, (%r13)
	je	LBB0_71
LBB0_70:
	movq	16(%r13), %rsi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_task_set_data
	movq	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_finish_task
	jmp	LBB0_71
LBB0_67:
	movl	$0, (%r13)
LBB0_71:
	movq	56(%r13), %rdi
	callq	_string_list_free
	movq	-488(%rbp), %rdi                ## 8-byte Reload
	callq	_string_list_free
LBB0_72:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_74
## %bb.73:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_74:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Looking for compatible content..."

	.comm	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND,4,2 ## @MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"Playlist directory not found"

L_.str.2:                               ## @.str.2
	.asciz	"There are no playlists available; cannot execute search"

	.comm	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED,4,2 ## @CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED
L_.str.3:                               ## @.str.3
	.asciz	"00000000|crc"

L_.str.4:                               ## @.str.4
	.asciz	"[Lobby] Testing CRC matching for: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"%X|crc"

L_.str.6:                               ## @.str.6
	.asciz	"[Lobby] Current content crc: %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"[Lobby] CRC match %s with currently loaded content\n"

L_.str.8:                               ## @.str.8
	.asciz	"N/A"

L_.str.9:                               ## @.str.9
	.asciz	".lpl"

L_.str.10:                              ## @.str.10
	.asciz	"[Lobby] Searching playlist: %s\n"

	.comm	_COLLECTION_SIZE,4,2            ## @COLLECTION_SIZE
L_.str.11:                              ## @.str.11
	.asciz	"[Lobby] CRC match %s\n"

L_.str.12:                              ## @.str.12
	.asciz	"[Lobby] Filename match %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"|"

L_.str.14:                              ## @.str.14
	.asciz	"[Lobby] Searching content %d/%d (%s) in playlist: %s\n"

L_.str.15:                              ## @.str.15
	.asciz	"[Lobby] filename match %s\n"

L_.str.16:                              ## @.str.16
	.asciz	"[Lobby] Subsystem matching set found %s\n"

L_.str.17:                              ## @.str.17
	.asciz	"Failed to locate matching content by either CRC or filename."

	.no_dead_strip	_task_netplay_crc_scan_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function task_netplay_crc_scan_handler
_task_netplay_crc_scan_handler:         ; @task_netplay_crc_scan_handler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #464
	mov	x19, sp
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x21, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	ldr	x27, [x0]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_begin_task
	mov	x0, x27
	bl	_core_requires_content
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x27, #56]
	cbz	x8, LBB0_22
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
LBB0_3:
	ldr	x0, [x27, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_string_is_equal
	str	x0, [x19, #32]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_27
LBB0_4:
	ldr	x0, [x27, #32]
	bl	_string_is_empty
	str	x27, [x19, #24]                 ; 8-byte Folded Spill
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x27, #32]
Lloh11:
	adrp	x1, l_.str.8@PAGE
Lloh12:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_33
LBB0_6:
	mov	x24, x20
	ldr	x0, [x27, #56]
	ldr	x8, [x0]
	cbz	x8, LBB0_30
; %bb.7:
	mov	x20, #0
Lloh13:
	adrp	x21, l_.str.9@PAGE
Lloh14:
	add	x21, x21, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_8:
	movi.2s	v0, #1
	str	d0, [x27]
	mov	x0, x20
	mov	x1, x27
	bl	_task_set_data
Lloh15:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	ldur	x8, [x29, #-96]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_71
; %bb.9:
	mov	x1, x0
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_finish_task
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	bl	_playlist_free
	ldr	x27, [x19, #24]                 ; 8-byte Folded Reload
Lloh21:
	adrp	x21, l_.str.9@PAGE
Lloh22:
	add	x21, x21, l_.str.9@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x20, x20, #1
	ldr	x0, [x27, #56]
	ldr	x8, [x0]
	cmp	x20, x8
	b.hs	LBB0_30
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x0, #8]
	ldr	x25, [x8, x20, lsl #3]
	mov	x0, x25
	mov	x1, x21
	bl	_strstr
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	str	x25, [sp, #-16]!
Lloh23:
	adrp	x0, l_.str.10@PAGE
Lloh24:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
Lloh25:
	adrp	x8, _COLLECTION_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _COLLECTION_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_playlist_init
	mov	x25, x0
	bl	_playlist_get_size
	cbz	w0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x28, #0
	mov	w21, w0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	udiv	x8, x28, x21
	ucvtf	d0, x8
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x24
	bl	_task_set_progress
	add	x28, x28, #1
	cmp	x21, x28
	b.eq	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	xzr, [x19, #48]
	add	x2, x19, #48
	mov	x0, x25
	mov	x1, x28
	bl	_playlist_get_index
	ldr	x8, [x19, #48]
	ldr	x27, [x8]
	ldr	x9, [x19, #32]                  ; 8-byte Folded Reload
	cbnz	x9, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x26, [x8, #8]
	ldr	x8, [x19, #24]                  ; 8-byte Folded Reload
	ldr	x1, [x8, #8]
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_31
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x23
	mov	x1, x22
	mov	x2, x27
	bl	_get_entry
	mov	x0, x23
	bl	_string_is_empty
	cbnz	x0, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x19, #24]                  ; 8-byte Folded Reload
	ldr	x1, [x8, #16]
	mov	x0, x23
	bl	_string_is_equal
	cbz	x0, LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x19, #24]                  ; 8-byte Folded Reload
	ldr	x26, [x8, #40]
	mov	x0, x27
	bl	_path_get_extension
	mov	x1, x0
	mov	x0, x26
	bl	_strstr
	cbz	x0, LBB0_15
; %bb.21:
	str	x27, [sp, #-16]!
Lloh28:
	adrp	x0, l_.str.12@PAGE
Lloh29:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_32
LBB0_22:
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_finish_task
	b	LBB0_25
LBB0_23:
	mov	x0, x27
	bl	_core_requires_content
	cbz	x0, LBB0_3
; %bb.24:
	ldr	x0, [x27, #56]
	bl	_string_list_free
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_finish_task
Lloh34:
	adrp	x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w1, [x27, #48]
	bl	_command_event
LBB0_25:
	ldur	x8, [x29, #-96]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_71
; %bb.26:
	mov	x0, x27
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_free
LBB0_27:
	bl	_content_get_crc
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.28:
	mov	x24, x20
	mov	x20, sp
	ldr	w26, [x21]
	mov	x9, x26
Lloh40:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh41:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	ldr	x8, [x27, #8]
	str	x8, [sp, #-16]!
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	bl	_content_get_crc
	mov	x3, x0
Lloh44:
	adrp	x2, l_.str.5@PAGE
Lloh45:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x25
	mov	x1, x26
	bl	_snprintf
	str	x25, [sp, #-16]!
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	x1, [x27, #8]
	mov	x0, x25
	bl	_string_is_equal
	cbz	x0, LBB0_59
; %bb.29:
	str	x25, [sp, #-16]!
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	x0, [x27, #16]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #8
	bl	_strlcpy
	mov	w8, #1
	str	w8, [x27]
	str	w8, [x27, #24]
	mov	x21, x24
	mov	x0, x24
	mov	x1, x27
	bl	_task_set_data
Lloh52:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x24
	bl	_finish_task
	ldr	x0, [x27, #56]
	bl	_string_list_free
	mov	sp, x20
	b	LBB0_69
LBB0_30:
	bl	_string_list_free
Lloh55:
	adrp	x1, l_.str.17@PAGE
Lloh56:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x24
	bl	_finish_task
Lloh57:
	adrp	x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGE
Lloh58:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	w1, [x27, #48]
	bl	_command_event
	mov	x0, x27
	bl	_free
	b	LBB0_69
LBB0_31:
	str	x26, [sp, #-16]!
Lloh60:
	adrp	x0, l_.str.11@PAGE
Lloh61:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_32:
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	x20, [x19, #24]                 ; 8-byte Folded Reload
	ldr	x0, [x20, #16]
	mov	x1, x27
	mov	w2, #8
	bl	_strlcpy
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x24
	mov	x1, x20
	bl	_task_set_data
Lloh62:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x24
	bl	_finish_task
	ldr	x0, [x20, #56]
	bl	_string_list_free
	mov	x0, x25
	bl	_playlist_free
	b	LBB0_69
LBB0_33:
	ldr	x0, [x27, #16]
Lloh65:
	adrp	x1, l_.str.13@PAGE
Lloh66:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_string_split
	mov	x25, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_65
; %bb.34:
	mov	x24, #0
	ldr	x8, [x27, #56]
	add	x10, x19, #48
	str	x23, [x19, #16]                 ; 8-byte Folded Spill
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x10, x19, #48
	str	w27, [x10, x24, lsl #2]
	ldr	x27, [x19, #24]                 ; 8-byte Folded Reload
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	ldr	x9, [x25]
	ldr	x11, [x19, #8]                  ; 8-byte Folded Reload
	mov	x24, x11
	cmp	x11, x9
	b.hs	LBB0_60
LBB0_37:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_42 Depth 2
                                        ;       Child Loop BB0_48 Depth 3
	str	wzr, [x10, x24, lsl #2]
	ldr	x9, [x8]
	add	x11, x24, #1
	str	x11, [x19, #8]                  ; 8-byte Folded Spill
	cbz	x9, LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	mov	w27, #0
	mov	x21, #0
	str	x24, [x19, #32]                 ; 8-byte Folded Spill
	b	LBB0_42
LBB0_39:                                ;   in Loop: Header=BB0_42 Depth=2
	mov	w27, #1
LBB0_40:                                ;   in Loop: Header=BB0_42 Depth=2
	mov	x0, x28
	bl	_playlist_free
	ldr	x24, [x19, #32]                 ; 8-byte Folded Reload
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=2
	add	x21, x21, #1
	ldr	x8, [x19, #24]                  ; 8-byte Folded Reload
	ldr	x8, [x8, #56]
	ldr	x9, [x8]
	cmp	x21, x9
	b.hs	LBB0_35
LBB0_42:                                ;   Parent Loop BB0_37 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_48 Depth 3
	cbnz	w27, LBB0_35
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=2
	ldr	x8, [x8, #8]
	ldr	x26, [x8, x21, lsl #3]
	mov	x0, x26
Lloh67:
	adrp	x1, l_.str.9@PAGE
Lloh68:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_58
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=2
	ldp	x8, x9, [x25]
	ldr	x9, [x9, x24, lsl #3]
	sub	sp, sp, #32
	stp	x9, x26, [sp, #16]
	str	x8, [sp, #8]
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh69:
	adrp	x0, l_.str.14@PAGE
Lloh70:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #32
Lloh71:
	adrp	x8, _COLLECTION_SIZE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _COLLECTION_SIZE@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_playlist_init
	mov	x28, x0
	bl	_playlist_get_size
	mov	w27, #0
	cbz	w0, LBB0_40
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=2
	mov	x26, #0
	mov	w24, w0
	b	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_48 Depth=3
	mov	w27, #0
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=3
	udiv	x8, x21, x24
	ucvtf	d0, x8
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x20
	bl	_task_set_progress
	add	x26, x26, #1
	cmp	x24, x26
	b.eq	LBB0_40
LBB0_48:                                ;   Parent Loop BB0_37 Depth=1
                                        ;     Parent Loop BB0_42 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbnz	w27, LBB0_39
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=3
	str	xzr, [x19, #40]
	add	x2, x19, #40
	mov	x0, x28
	mov	x1, x26
	bl	_playlist_get_index
	ldr	x8, [x19, #40]
	ldr	x2, [x8]
	mov	x0, x23
	mov	x1, x22
	bl	_get_entry
	mov	x0, x23
	bl	_string_is_empty
	cbnz	x0, LBB0_46
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=3
	ldr	x8, [x25, #8]
	ldr	x9, [x19, #32]                  ; 8-byte Folded Reload
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x23
	bl	_strstr
	cbz	x0, LBB0_46
; %bb.51:                               ;   in Loop: Header=BB0_48 Depth=3
	mov	x23, x25
	mov	x25, x22
	mov	x22, x20
	ldr	x20, [x19, #24]                 ; 8-byte Folded Reload
	ldr	x27, [x20, #40]
	ldr	x8, [x19, #40]
	ldr	x0, [x8]
	bl	_path_get_extension
	mov	x1, x0
	mov	x0, x27
	bl	_strstr
	cbz	x0, LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_48 Depth=3
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	str	x8, [sp, #-16]!
Lloh74:
	adrp	x0, l_.str.15@PAGE
Lloh75:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	x0, [x20, #16]
	ldr	x8, [x19, #32]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_55
; %bb.53:                               ;   in Loop: Header=BB0_48 Depth=3
Lloh76:
	adrp	x1, l_.str.13@PAGE
Lloh77:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w2, #8
	bl	_strlcat
	ldr	x0, [x20, #16]
	ldr	x8, [x19, #40]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_strlcat
	b	LBB0_56
LBB0_54:                                ;   in Loop: Header=BB0_48 Depth=3
	mov	w27, #0
	b	LBB0_57
LBB0_55:                                ;   in Loop: Header=BB0_48 Depth=3
	strb	wzr, [x0]
	ldr	x0, [x20, #16]
	ldr	x8, [x19, #40]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_strlcpy
LBB0_56:                                ;   in Loop: Header=BB0_48 Depth=3
	mov	w27, #1
LBB0_57:                                ;   in Loop: Header=BB0_48 Depth=3
	mov	x20, x22
	mov	x22, x25
	mov	x25, x23
	ldr	x23, [x19, #16]                 ; 8-byte Folded Reload
	b	LBB0_47
LBB0_58:                                ;   in Loop: Header=BB0_42 Depth=2
	mov	w27, #0
	b	LBB0_41
LBB0_59:
	mov	sp, x20
	mov	x20, x24
	b	LBB0_4
LBB0_60:
	cbz	x9, LBB0_65
; %bb.61:
	add	x8, x19, #48
LBB0_62:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cbz	w10, LBB0_67
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=1
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_62
; %bb.64:
	mov	w8, #1
	str	w8, [x27]
	b	LBB0_66
LBB0_65:
	ldr	w8, [x27]
	cbz	w8, LBB0_68
LBB0_66:
	ldr	x8, [x27, #16]
	str	x8, [sp, #-16]!
Lloh78:
	adrp	x0, l_.str.16@PAGE
Lloh79:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	mov	x0, x20
	mov	x1, x27
	bl	_task_set_data
Lloh80:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGE
Lloh81:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x20
	bl	_finish_task
	b	LBB0_68
LBB0_67:
	str	wzr, [x27]
LBB0_68:
	ldr	x0, [x27, #56]
	bl	_string_list_free
	mov	x0, x25
	bl	_string_list_free
LBB0_69:
	ldur	x8, [x29, #-96]
Lloh83:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh84:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_71
; %bb.70:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_71:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Looking for compatible content..."

	.comm	_MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND,4,2 ; @MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"Playlist directory not found"

l_.str.2:                               ; @.str.2
	.asciz	"There are no playlists available; cannot execute search"

	.comm	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED,4,2 ; @CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED
l_.str.3:                               ; @.str.3
	.asciz	"00000000|crc"

l_.str.4:                               ; @.str.4
	.asciz	"[Lobby] Testing CRC matching for: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"%X|crc"

l_.str.6:                               ; @.str.6
	.asciz	"[Lobby] Current content crc: %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"[Lobby] CRC match %s with currently loaded content\n"

l_.str.8:                               ; @.str.8
	.asciz	"N/A"

l_.str.9:                               ; @.str.9
	.asciz	".lpl"

l_.str.10:                              ; @.str.10
	.asciz	"[Lobby] Searching playlist: %s\n"

	.comm	_COLLECTION_SIZE,4,2            ; @COLLECTION_SIZE
l_.str.11:                              ; @.str.11
	.asciz	"[Lobby] CRC match %s\n"

l_.str.12:                              ; @.str.12
	.asciz	"[Lobby] Filename match %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"|"

l_.str.14:                              ; @.str.14
	.asciz	"[Lobby] Searching content %d/%d (%s) in playlist: %s\n"

l_.str.15:                              ; @.str.15
	.asciz	"[Lobby] filename match %s\n"

l_.str.16:                              ; @.str.16
	.asciz	"[Lobby] Subsystem matching set found %s\n"

l_.str.17:                              ; @.str.17
	.asciz	"Failed to locate matching content by either CRC or filename."

	.no_dead_strip	_task_netplay_crc_scan_handler
.subsections_via_symbols
