	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_panfrost_job_enable_interrupts ## -- Begin function panfrost_job_enable_interrupts
	.p2align	4, 0x90
_panfrost_job_enable_interrupts:        ## @panfrost_job_enable_interrupts
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_NUM_JOB_SLOTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_MK_JS_MASK
	orl	%eax, %r15d
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_JOB_INT_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_job_write
	movq	_JOB_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_job_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_JOB_SLOTS,4,2              ## @NUM_JOB_SLOTS
	.comm	_JOB_INT_CLEAR,4,2              ## @JOB_INT_CLEAR
	.comm	_JOB_INT_MASK,4,2               ## @JOB_INT_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_panfrost_job_enable_interrupts ; -- Begin function panfrost_job_enable_interrupts
	.p2align	2
_panfrost_job_enable_interrupts:        ; @panfrost_job_enable_interrupts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _NUM_JOB_SLOTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NUM_JOB_SLOTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_MK_JS_MASK
	orr	w20, w0, w20
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
Lloh2:
	adrp	x8, _JOB_INT_CLEAR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JOB_INT_CLEAR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_job_write
Lloh5:
	adrp	x8, _JOB_INT_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _JOB_INT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_job_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_JOB_SLOTS,4,2              ; @NUM_JOB_SLOTS
	.comm	_JOB_INT_CLEAR,4,2              ; @JOB_INT_CLEAR
	.comm	_JOB_INT_MASK,4,2               ; @JOB_INT_MASK
.subsections_via_symbols
