	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_sched_pipe_init           ## -- Begin function lima_sched_pipe_init
	.p2align	4, 0x90
_lima_sched_pipe_init:                  ## @lima_sched_pipe_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_lima_sched_timeout_ms@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movl	$500, %r15d                     ## imm = 0x1F4
	cmovgl	%eax, %r15d
	movl	$1, %edi
	callq	_dma_fence_context_alloc
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	callq	_spin_lock_init
	leaq	4(%rbx), %rdi
	movq	_lima_sched_error_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movl	%r15d, %edi
	callq	_msecs_to_jiffies
	movq	_lima_sched_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_sched_init                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_sched_timeout_ms,4,2      ## @lima_sched_timeout_ms
	.comm	_lima_sched_error_work,4,2      ## @lima_sched_error_work
	.comm	_lima_sched_ops,4,2             ## @lima_sched_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_sched_pipe_init           ; -- Begin function lima_sched_pipe_init
	.p2align	2
_lima_sched_pipe_init:                  ; @lima_sched_pipe_init
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _lima_sched_timeout_ms@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_sched_timeout_ms@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #500
	cmp	w8, #0
	csel	w21, w8, w9, gt
	mov	w0, #1
	bl	_dma_fence_context_alloc
	str	w0, [x20, #12]
	add	x0, x20, #8
	bl	_spin_lock_init
	add	x0, x20, #4
Lloh3:
	adrp	x8, _lima_sched_error_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lima_sched_error_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	x0, x21
	bl	_msecs_to_jiffies
	mov	x4, x0
Lloh6:
	adrp	x1, _lima_sched_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _lima_sched_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	mov	x5, x19
	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	_drm_sched_init
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_sched_timeout_ms,4,2      ; @lima_sched_timeout_ms
	.comm	_lima_sched_error_work,4,2      ; @lima_sched_error_work
	.comm	_lima_sched_ops,4,2             ; @lima_sched_ops
.subsections_via_symbols
