	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __create_context
___create_context:                      ## @__create_context
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	leaq	68(%rax), %rdi
	callq	_kref_init
	leaq	64(%r13), %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	%r14, 56(%r13)
	movq	_I915_PRIORITY_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_USER_PRIORITY
	movl	%eax, 48(%r13)
	leaq	44(%r13), %rdi
	callq	_mutex_init
	leaq	40(%r13), %rdi
	callq	_mutex_init
	movq	%r13, %rdi
	callq	_default_engines
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_kfree
	movl	%r14d, %edi
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movl	36(%r13), %edi
	movq	%r15, %rsi
	callq	_RCU_INIT_POINTER
	leaq	32(%r13), %rdi
	movl	(%r12), %esi
	callq	_INIT_RADIX_TREE
	movq	%r13, %rdi
	addq	$28, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	callq	_ALL_L3_SLICES
	movl	%eax, 24(%r13)
	movq	%r13, %rdi
	callq	_i915_gem_context_set_bannable
	movq	%r13, %rdi
	callq	_i915_gem_context_set_recoverable
	movq	16(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	_CONTEXT_FAST_HANG_JIFFIES@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	subq	(%r15), %rax
	movq	16(%r13), %rdi
	movq	%rax, (%rdi,%rbx,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I915_PRIORITY_NORMAL,4,2       ## @I915_PRIORITY_NORMAL
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_CONTEXT_FAST_HANG_JIFFIES,8,3  ## @CONTEXT_FAST_HANG_JIFFIES
	.no_dead_strip	___create_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __create_context
___create_context:                      ; @__create_context
	.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	x20, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x0, #68
	bl	_kref_init
	add	x0, x19, #64
	mov	x1, x20
	bl	_list_add_tail
	str	x20, [x19, #56]
Lloh2:
	adrp	x8, _I915_PRIORITY_NORMAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I915_PRIORITY_NORMAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_I915_USER_PRIORITY
	str	w0, [x19, #48]
	add	x0, x19, #44
	bl	_mutex_init
	add	x0, x19, #40
	bl	_mutex_init
	mov	x0, x19
	bl	_default_engines
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x20, x0
	mov	x0, x19
	bl	_kfree
	mov	x0, x20
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	_ERR_PTR
LBB0_5:
	ldr	w0, [x19, #36]
	mov	x1, x21
	bl	_RCU_INIT_POINTER
	add	x0, x19, #32
	ldr	w1, [x22]
	bl	_INIT_RADIX_TREE
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	bl	_ALL_L3_SLICES
	str	w0, [x19, #24]
	mov	x0, x19
	bl	_i915_gem_context_set_bannable
	mov	x0, x19
	bl	_i915_gem_context_set_recoverable
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x20, #0
Lloh8:
	adrp	x21, _jiffies@GOTPAGE
Lloh9:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
Lloh10:
	adrp	x22, _CONTEXT_FAST_HANG_JIFFIES@GOTPAGE
Lloh11:
	ldr	x22, [x22, _CONTEXT_FAST_HANG_JIFFIES@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	sub	x8, x8, x9
	ldr	x0, [x19, #16]
	str	x8, [x0, x20, lsl #3]
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_7
LBB0_8:
	stp	xzr, xzr, [x19]
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I915_PRIORITY_NORMAL,4,2       ; @I915_PRIORITY_NORMAL
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_CONTEXT_FAST_HANG_JIFFIES,8,3  ; @CONTEXT_FAST_HANG_JIFFIES
	.no_dead_strip	___create_context
.subsections_via_symbols
