	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_overlay_load_default ## -- Begin function task_push_overlay_load_default
	.p2align	4, 0x90
_task_push_overlay_load_default:        ## @task_push_overlay_load_default
	.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
	movq	%r8, %r15
	movss	%xmm1, -60(%rbp)                ## 4-byte Spill
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	%rsi, %rdi
	callq	_string_is_empty
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_task_overlay_finder@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	%rbx, -88(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_task_queue_find
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	movl	$1, %edi
	movl	$56, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_config_file_new_from_path_to_string
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_config_get_uint
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movl	$56, %esi
	callq	_calloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movl	%r13d, 4(%r12)
	movl	%r14d, 8(%r12)
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%r12)
	movss	-60(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 16(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r12)
	movq	_OVERLAY_STATUS_DEFERRED_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
	movl	(%r12), %ecx
	leal	3(%rcx), %eax
	movl	$4, %edx
	cmpl	$7, %eax
	jb	LBB0_9
## %bb.8:
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	movl	%eax, %edx
LBB0_9:
	movl	%edx, 20(%r12)
	xorl	%eax, %eax
	movq	%r12, %r13
	callq	_task_init
	testq	%rax, %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_19
## %bb.10:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strdup
	movl	%eax, 24(%r13)
	movq	_task_overlay_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_task_overlay_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%r13, 16(%r14)
	movl	%r12d, 8(%r14)
	movq	%r15, (%r14)
	movq	%r14, %rdi
	callq	_task_queue_push
	movl	$1, %ecx
	jmp	LBB0_18
LBB0_12:
	movq	%r15, %rdi
	jmp	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_14:
	callq	_config_file_free
LBB0_15:
	movq	%r12, %rdi
LBB0_16:
	callq	_free
LBB0_17:
	xorl	%ecx, %ecx
LBB0_18:
	movl	%ecx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_config_file_free
	movq	32(%r13), %rdi
	callq	_free
	movq	%r13, %rdi
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_task_overlay_finder,4,2        ## @task_overlay_finder
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overlays"

	.comm	_OVERLAY_STATUS_DEFERRED_LOAD,4,2 ## @OVERLAY_STATUS_DEFERRED_LOAD
	.comm	_task_overlay_handler,4,2       ## @task_overlay_handler
	.comm	_task_overlay_free,4,2          ## @task_overlay_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_overlay_load_default ; -- Begin function task_push_overlay_load_default
	.p2align	2
_task_push_overlay_load_default:        ; @task_push_overlay_load_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x4
	fmov	s8, s1
	fmov	s9, s0
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_string_is_empty
	cbnz	x0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _task_overlay_finder@GOTPAGE
Lloh1:
	ldr	x8, [x8, _task_overlay_finder@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	x22, [sp]
	mov	x0, sp
	bl	_task_queue_find
	cbnz	x0, LBB0_11
; %bb.2:
	mov	w0, #1
	mov	w1, #56
	bl	_calloc
	cbz	x0, LBB0_12
; %bb.3:
	mov	x21, x0
	mov	x0, x22
	bl	_config_file_new_from_path_to_string
	cbz	x0, LBB0_10
; %bb.4:
	mov	x25, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_config_get_uint
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w0, [x21]
	mov	w1, #56
	bl	_calloc
	str	x0, [x21, #32]
	cbz	x0, LBB0_8
; %bb.6:
	stp	w24, w23, [x21, #4]
	stp	s9, s8, [x21, #12]
Lloh5:
	adrp	x8, _OVERLAY_STATUS_DEFERRED_LOAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OVERLAY_STATUS_DEFERRED_LOAD@GOTPAGEOFF]
	str	x25, [x21, #48]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #44]
	ldr	w8, [x21]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	mov	w10, #4
	cmp	w9, #7
	csel	w8, w10, w8, lo
	str	w8, [x21, #20]
	bl	_task_init
	cbz	x0, LBB0_9
; %bb.7:
	mov	x23, x0
	mov	x0, x22
	bl	_strdup
	str	w0, [x21, #24]
Lloh8:
	adrp	x8, _task_overlay_handler@GOTPAGE
Lloh9:
	ldr	x8, [x8, _task_overlay_handler@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _task_overlay_free@GOTPAGE
Lloh12:
	ldr	x9, [x9, _task_overlay_free@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #24]
	str	x21, [x23, #16]
	str	w20, [x23, #8]
	str	x19, [x23]
	mov	x0, x23
	bl	_task_queue_push
	mov	w0, #1
	b	LBB0_12
LBB0_8:
	mov	x0, x25
	bl	_config_file_free
	b	LBB0_10
LBB0_9:
	mov	x0, x25
	bl	_config_file_free
	ldr	x0, [x21, #32]
	bl	_free
LBB0_10:
	mov	x0, x21
	bl	_free
LBB0_11:
	mov	w0, #0
LBB0_12:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_task_overlay_finder,4,2        ; @task_overlay_finder
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overlays"

	.comm	_OVERLAY_STATUS_DEFERRED_LOAD,4,2 ; @OVERLAY_STATUS_DEFERRED_LOAD
	.comm	_task_overlay_handler,4,2       ; @task_overlay_handler
	.comm	_task_overlay_free,4,2          ; @task_overlay_free
.subsections_via_symbols
