	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_smu_initialize_toc_empty_job_list
_smu8_smu_initialize_toc_empty_job_list: ## @smu8_smu_initialize_toc_empty_job_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_JOBLIST_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_18
## %bb.1:
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpl	$4, %r10d
	jb	LBB0_2
## %bb.3:
	movq	_IGNORE_JOB@GOTPCREL(%rip), %r8
	leaq	8(%r8), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%r10,8), %rdx
	cmpq	_IGNORE_JOB@GOTPCREL(%rip), %rdx
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %r8
	notq	%r8
	addq	%r10, %r8
	movq	%r10, %rdi
	andq	$3, %rdi
	je	LBB0_15
## %bb.13:
	movq	_IGNORE_JOB@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rax
	movq	%rax, (%rcx,%rdx,8)
	incq	%rdx
	decq	%rdi
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	movq	_IGNORE_JOB@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rax
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rsi), %rax
	movq	%rax, 8(%rcx,%rdx,8)
	movq	(%rsi), %rax
	movq	%rax, 16(%rcx,%rdx,8)
	movq	(%rsi), %rax
	movq	%rax, 24(%rcx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movl	%r10d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.7:
	movq	%r9, %rdi
	andq	$-2, %rdi
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,8)
	movdqu	%xmm0, 16(%rcx,%rsi,8)
	movdqu	%xmm0, 32(%rcx,%rsi,8)
	movdqu	%xmm0, 48(%rcx,%rsi,8)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %r9b
	je	LBB0_11
LBB0_10:
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqu	%xmm0, (%rcx,%rsi,8)
	movdqu	%xmm0, 16(%rcx,%rsi,8)
LBB0_11:
	cmpq	%r10, %rdx
	jne	LBB0_12
LBB0_18:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_19:
	xorl	%esi, %esi
	testb	$1, %r9b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_JOBLIST_ENTRIES,4,2        ## @NUM_JOBLIST_ENTRIES
	.comm	_IGNORE_JOB,8,3                 ## @IGNORE_JOB
	.no_dead_strip	_smu8_smu_initialize_toc_empty_job_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_smu_initialize_toc_empty_job_list
_smu8_smu_initialize_toc_empty_job_list: ; @smu8_smu_initialize_toc_empty_job_list
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_JOBLIST_ENTRIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_JOBLIST_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _IGNORE_JOB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGNORE_JOB@GOTPAGEOFF]
	cmp	w9, #8
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #3
	add	x12, x8, #8
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffff8
	ld1r.2d	{ v0 }, [x8]
	add	x12, x10, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x8]
	dup.2d	v1, v1[0]
	stp	q0, q0, [x12, #-32]
	stp	q0, q1, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	add	x10, x10, x11, lsl #3
	sub	x9, x9, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_JOBLIST_ENTRIES,4,2        ; @NUM_JOBLIST_ENTRIES
	.comm	_IGNORE_JOB,8,3                 ; @IGNORE_JOB
	.no_dead_strip	_smu8_smu_initialize_toc_empty_job_list
.subsections_via_symbols
