	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_netplay_crc_scan     ## -- Begin function task_push_netplay_crc_scan
	.p2align	4, 0x90
_task_push_netplay_crc_scan:            ## @task_push_netplay_crc_scan
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, %r15d
	movq	$0, -48(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_task_init
	movq	%rax, %r14
	movl	$1, %edi
	movl	$104, %esi
	callq	_calloc
	movq	%rax, %r12
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	testq	%r12, %r12
	je	LBB0_11
## %bb.2:
	movq	(%r12), %rax
	movb	$0, (%rax)
	movq	8(%r12), %rax
	movb	$0, (%rax)
	movq	16(%r12), %rax
	movb	$0, (%rax)
	movq	24(%r12), %rax
	movb	$0, (%rax)
	movq	32(%r12), %rax
	movb	$0, (%rax)
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rdx
	movl	$8, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	movq	8(%r12), %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	16(%r12), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	32(%r12), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_strlcpy
	movq	24(%r12), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_strlcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_dir_list_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, 96(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_string_list_append
	movl	$0, 40(%r12)
	leaq	-48(%rbp), %rdi
	callq	_core_info_get_list
	movq	-48(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%r15), %rdi
	movq	24(%r12), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	-48(%rbp), %rax
	movl	(%rax), %ecx
	addq	$24, %r15
	cmpq	%rcx, %rbx
	jb	LBB0_5
	jmp	LBB0_10
LBB0_11:
	testq	%r12, %r12
	je	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	_free
LBB0_13:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_6:
	movq	48(%r12), %rdi
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	8(%rax,%r15), %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	8(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_string_is_not_equal
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	16(%rax,%r15), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	56(%r12), %rdi
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	16(%rax,%r15), %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_10:
	movq	_TASK_TYPE_BLOCKING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r14)
	movq	%r12, 80(%r14)
	movq	_task_netplay_crc_scan_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	movq	_netplay_crc_scan_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	leaq	L_.str.2(%rip), %rdi
	callq	_strdup
	movl	%eax, 64(%r14)
	movq	%r14, %rdi
	callq	_task_queue_push
	movl	$1, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08X|crc"

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

	.comm	_TASK_TYPE_BLOCKING,4,2         ## @TASK_TYPE_BLOCKING
	.comm	_task_netplay_crc_scan_handler,4,2 ## @task_netplay_crc_scan_handler
	.comm	_netplay_crc_scan_callback,4,2  ## @netplay_crc_scan_callback
L_.str.2:                               ## @.str.2
	.asciz	"Looking for matching content..."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_netplay_crc_scan     ; -- Begin function task_push_netplay_crc_scan
	.p2align	2
_task_push_netplay_crc_scan:            ; @task_push_netplay_crc_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	str	xzr, [sp, #8]
	bl	_config_get_ptr
	mov	x21, x0
	bl	_task_init
	mov	x19, x0
	mov	w0, #1
	mov	w1, #104
	bl	_calloc
	mov	x20, x0
	cbz	x19, LBB0_7
; %bb.1:
	cbz	x20, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	strb	wzr, [x8]
	ldr	x8, [x20, #8]
	strb	wzr, [x8]
	ldr	x8, [x20, #16]
	strb	wzr, [x8]
	ldr	x8, [x20, #24]
	strb	wzr, [x8]
	ldr	x8, [x20, #32]
	strb	wzr, [x8]
	ldr	x0, [x20]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #8
	mov	x3, x26
	bl	_snprintf
	ldr	x0, [x20, #8]
	mov	x1, x25
	mov	w2, #8
	bl	_strlcpy
	ldr	x0, [x20, #16]
	mov	x1, x24
	mov	w2, #8
	bl	_strlcpy
	ldr	x0, [x20, #32]
	mov	x1, x23
	mov	w2, #8
	bl	_strlcpy
	ldr	x0, [x20, #24]
	mov	x1, x22
	mov	w2, #8
	bl	_strlcpy
	ldr	w0, [x21, #4]
	mov	x1, #0
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1
	mov	w5, #0
	bl	_dir_list_new
	cbz	x0, LBB0_7
; %bb.3:
	str	x0, [x20, #96]
	ldr	w1, [x21]
	mov	x2, #0
	bl	_string_list_append
	str	wzr, [x20, #40]
	add	x0, sp, #8
	bl	_core_info_get_list
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_15
; %bb.4:
	mov	x21, #0
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x21]
	ldr	x1, [x20, #24]
	bl	_string_is_equal
	cbnz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	add	x21, x21, #24
	cmp	x22, x9
	b.lo	LBB0_5
	b	LBB0_15
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_free
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_free
LBB0_11:
	mov	w0, #0
	b	LBB0_16
LBB0_12:
	ldr	x0, [x20, #48]
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	x1, [x8, #8]
	mov	w2, #8
	bl	_strlcpy
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_string_is_not_equal
	cbz	x0, LBB0_15
; %bb.13:
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	x0, [x8, #16]
	bl	_string_is_empty
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	x0, [x20, #56]
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	x1, [x8, #16]
	mov	w2, #8
	bl	_strlcpy
LBB0_15:
Lloh4:
	adrp	x8, _TASK_TYPE_BLOCKING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TASK_TYPE_BLOCKING@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	str	x20, [x19, #80]
Lloh7:
	adrp	x8, _task_netplay_crc_scan_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _task_netplay_crc_scan_handler@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _netplay_crc_scan_callback@GOTPAGE
Lloh11:
	ldr	x9, [x9, _netplay_crc_scan_callback@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #68]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_strdup
	str	w0, [x19, #64]
	mov	x0, x19
	bl	_task_queue_push
	mov	w0, #1
LBB0_16:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08X|crc"

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

	.comm	_TASK_TYPE_BLOCKING,4,2         ; @TASK_TYPE_BLOCKING
	.comm	_task_netplay_crc_scan_handler,4,2 ; @task_netplay_crc_scan_handler
	.comm	_netplay_crc_scan_callback,4,2  ; @netplay_crc_scan_callback
l_.str.2:                               ; @.str.2
	.asciz	"Looking for matching content..."

.subsections_via_symbols
