	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function panfrost_job_dependency
_panfrost_job_dependency:               ## @panfrost_job_dependency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_panfrost_job
	movq	%rax, %rcx
	movl	(%rax), %edi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	16(%rcx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_2
LBB0_4:
	movl	4(%rcx), %edi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.5:
	movq	8(%rcx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_6
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	movl	%esi, %ecx
	movq	$0, (%rdx,%rcx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_panfrost_job_dependency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function panfrost_job_dependency
_panfrost_job_dependency:               ; @panfrost_job_dependency
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_to_panfrost_job
	ldr	w11, [x0]
	cbz	w11, LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10, x9, lsl #3]
	cbnz	x8, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x11, x9
	b.ne	LBB0_2
LBB0_4:
	ldr	w11, [x0, #4]
	cbz	w11, LBB0_8
; %bb.5:
	mov	x9, #0
	ldr	x10, [x0, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10, x9, lsl #3]
	cbnz	x8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x11, x9
	b.ne	LBB0_6
LBB0_8:
	mov	x8, #0
	b	LBB0_10
LBB0_9:
	str	xzr, [x10, w9, uxtw #3]
LBB0_10:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_panfrost_job_dependency
.subsections_via_symbols
