	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctx_setparam
_ctx_setparam:                          ## @ctx_setparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_32
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_30:
	movq	%r14, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_ppgtt                      ## TAILCALL
LBB0_29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_sseu                       ## TAILCALL
LBB0_17:
	cmpl	$0, 4(%rbx)
	jne	LBB0_32
## %bb.18:
	cmpl	$0, 8(%rbx)
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_i915_gem_context_set_recoverable
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_21:
	cmpl	$0, 4(%rbx)
	jne	LBB0_32
## %bb.22:
	movq	8(%r14), %rax
	movq	_I915_SCHEDULER_CAP_PRIORITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_23
## %bb.24:
	movl	8(%rbx), %ebx
	movq	_I915_CONTEXT_MAX_USER_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_32
## %bb.25:
	movq	_I915_CONTEXT_MIN_USER_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_32
## %bb.26:
	movq	_I915_CONTEXT_DEFAULT_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_28
## %bb.27:
	movq	_CAP_SYS_NICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_13
LBB0_28:
	movl	%ebx, %edi
	callq	_I915_USER_PRIORITY
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_2:
	cmpl	$0, 4(%rbx)
	jne	LBB0_32
## %bb.3:
	addq	$16, %r14
	cmpl	$0, 8(%rbx)
	movq	_UCONTEXT_NO_ZEROMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	je	LBB0_5
## %bb.4:
	callq	_set_bit
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_6:
	cmpl	$0, 4(%rbx)
	jne	LBB0_32
## %bb.7:
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_i915_gem_context_set_no_error_capture
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_31:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_engines                    ## TAILCALL
LBB0_10:
	cmpl	$0, 4(%rbx)
	je	LBB0_11
LBB0_32:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_33:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_34:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	movl	8(%rbx), %ecx
	testl	%eax, %eax
	je	LBB0_12
## %bb.14:
	testl	%ecx, %ecx
	jne	LBB0_15
## %bb.16:
	movq	%r14, %rdi
	callq	_i915_gem_context_clear_bannable
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_20:
	movq	%r14, %rdi
	callq	_i915_gem_context_clear_recoverable
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_23:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_33
LBB0_5:
	callq	_clear_bit
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_9:
	movq	%r14, %rdi
	callq	_i915_gem_context_clear_no_error_capture
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_12:
	testl	%ecx, %ecx
	je	LBB0_13
LBB0_15:
	movq	%r14, %rdi
	callq	_i915_gem_context_set_bannable
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_13:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_33
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_30
	.long	L0_0_set_29
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_31
	.long	L0_0_set_32
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UCONTEXT_NO_ZEROMAP,4,2        ## @UCONTEXT_NO_ZEROMAP
	.comm	_CAP_SYS_ADMIN,4,2              ## @CAP_SYS_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_I915_SCHEDULER_CAP_PRIORITY,4,2 ## @I915_SCHEDULER_CAP_PRIORITY
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_I915_CONTEXT_MAX_USER_PRIORITY,4,2 ## @I915_CONTEXT_MAX_USER_PRIORITY
	.comm	_I915_CONTEXT_MIN_USER_PRIORITY,4,2 ## @I915_CONTEXT_MIN_USER_PRIORITY
	.comm	_I915_CONTEXT_DEFAULT_PRIORITY,4,2 ## @I915_CONTEXT_DEFAULT_PRIORITY
	.comm	_CAP_SYS_NICE,4,2               ## @CAP_SYS_NICE
	.no_dead_strip	_ctx_setparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctx_setparam
_ctx_setparam:                          ; @ctx_setparam
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x2]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_21
; %bb.1:
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_ppgtt
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_sseu
LBB0_4:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_21
; %bb.5:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_27
; %bb.6:
	mov	x0, x19
	bl	_i915_gem_context_set_recoverable
	mov	w0, #0
	b	LBB0_23
LBB0_7:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_21
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _I915_SCHEDULER_CAP_PRIORITY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I915_SCHEDULER_CAP_PRIORITY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.9:
	ldr	w20, [x20, #8]
Lloh5:
	adrp	x8, _I915_CONTEXT_MAX_USER_PRIORITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I915_CONTEXT_MAX_USER_PRIORITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _I915_CONTEXT_MIN_USER_PRIORITY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I915_CONTEXT_MIN_USER_PRIORITY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w20, w8
	ccmp	w20, w9, #8, le
	b.lt	LBB0_21
; %bb.10:
Lloh11:
	adrp	x8, _I915_CONTEXT_DEFAULT_PRIORITY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I915_CONTEXT_DEFAULT_PRIORITY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w20, w8
	b.le	LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _CAP_SYS_NICE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAP_SYS_NICE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_33
LBB0_12:
	mov	x0, x20
	bl	_I915_USER_PRIORITY
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_23
LBB0_13:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_21
; %bb.14:
	ldr	w8, [x20, #8]
Lloh17:
	adrp	x9, _UCONTEXT_NO_ZEROMAP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _UCONTEXT_NO_ZEROMAP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	add	x1, x19, #16
	cbz	w8, LBB0_29
; %bb.15:
	bl	_set_bit
	mov	w0, #0
	b	LBB0_23
LBB0_16:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_21
; %bb.17:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_30
; %bb.18:
	mov	x0, x19
	bl	_i915_gem_context_set_no_error_capture
	mov	w0, #0
	b	LBB0_23
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_engines
LBB0_20:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_24
LBB0_21:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh22:
	adrp	x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_capable
	ldr	w8, [x20, #8]
	cbz	w0, LBB0_31
; %bb.25:
	cbnz	w8, LBB0_32
; %bb.26:
	mov	x0, x19
	bl	_i915_gem_context_clear_bannable
	mov	w0, #0
	b	LBB0_23
LBB0_27:
	mov	x0, x19
	bl	_i915_gem_context_clear_recoverable
	mov	w0, #0
	b	LBB0_23
LBB0_28:
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_22
LBB0_29:
	bl	_clear_bit
	mov	w0, #0
	b	LBB0_23
LBB0_30:
	mov	x0, x19
	bl	_i915_gem_context_clear_no_error_capture
	mov	w0, #0
	b	LBB0_23
LBB0_31:
	cbz	w8, LBB0_33
LBB0_32:
	mov	x0, x19
	bl	_i915_gem_context_set_bannable
	mov	w0, #0
	b	LBB0_23
LBB0_33:
Lloh27:
	adrp	x8, _EPERM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UCONTEXT_NO_ZEROMAP,4,2        ; @UCONTEXT_NO_ZEROMAP
	.comm	_CAP_SYS_ADMIN,4,2              ; @CAP_SYS_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_I915_SCHEDULER_CAP_PRIORITY,4,2 ; @I915_SCHEDULER_CAP_PRIORITY
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_I915_CONTEXT_MAX_USER_PRIORITY,4,2 ; @I915_CONTEXT_MAX_USER_PRIORITY
	.comm	_I915_CONTEXT_MIN_USER_PRIORITY,4,2 ; @I915_CONTEXT_MIN_USER_PRIORITY
	.comm	_I915_CONTEXT_DEFAULT_PRIORITY,4,2 ; @I915_CONTEXT_DEFAULT_PRIORITY
	.comm	_CAP_SYS_NICE,4,2               ; @CAP_SYS_NICE
	.no_dead_strip	_ctx_setparam
.subsections_via_symbols
