	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_context
_record_context:                        ## @record_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	16(%rbx), %rdi
	movq	_PIDTYPE_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pid_task
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movl	28(%r14), %edi
	movl	4(%rax), %esi
	callq	_strcpy
	movl	(%r15), %eax
	movl	%eax, 24(%r14)
LBB0_3:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_4:
	movl	12(%rbx), %eax
	movl	%eax, 20(%r14)
	movl	8(%rbx), %eax
	movl	%eax, 16(%r14)
	leaq	4(%rbx), %rdi
	callq	_atomic_read
	movq	%rax, 8(%r14)
	movq	%rbx, %rdi
	callq	_atomic_read
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i915_gem_context_no_error_capture ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIDTYPE_PID,4,2                ## @PIDTYPE_PID
	.no_dead_strip	_record_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_context
_record_context:                        ; @record_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
	ldr	x19, [x1]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.1:
	bl	_rcu_read_lock
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _PIDTYPE_PID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIDTYPE_PID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pid_task
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	ldr	w0, [x20, #28]
	ldr	w1, [x21, #4]
	bl	_strcpy
	ldr	w8, [x21]
	str	w8, [x20, #24]
LBB0_3:
	bl	_rcu_read_unlock
LBB0_4:
	ldr	d0, [x19, #8]
	str	d0, [x20, #16]
	add	x0, x19, #4
	bl	_atomic_read
	str	x0, [x20, #8]
	mov	x0, x19
	bl	_atomic_read
	str	x0, [x20]
	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
	b	_i915_gem_context_no_error_capture
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PIDTYPE_PID,4,2                ; @PIDTYPE_PID
	.no_dead_strip	_record_context
.subsections_via_symbols
