	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function capture_gen_state
_capture_gen_state:                     ## @capture_gen_state
	.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, %rbx
	movq	40(%rdi), %r14
	movl	20(%r14), %eax
	movl	%eax, 32(%rdi)
	leaq	16(%r14), %rdi
	callq	_atomic_read
	movl	%eax, 28(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	$-1, (%rbx)
	leaq	8(%r14), %rdi
	callq	_i915_reset_count
	movl	%eax, 20(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 16(%rbx)
	leaq	12(%rbx), %r15
	movq	%r14, %rdi
	callq	_INTEL_INFO
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
	leaq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	_RUNTIME_INFO
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_iommu_gfx_mapped,4,2     ## @intel_iommu_gfx_mapped
	.no_dead_strip	_capture_gen_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function capture_gen_state
_capture_gen_state:                     ; @capture_gen_state
	.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
	ldr	x20, [x0, #40]
	ldr	w8, [x20, #20]
	str	w8, [x0, #32]
	add	x0, x20, #16
	bl	_atomic_read
	ldr	w8, [x20, #12]
	stp	w8, w0, [x19, #24]
	mov	w8, #-1
	str	w8, [x19]
	add	x0, x20, #8
	bl	_i915_reset_count
	ldr	w8, [x20, #4]
	stp	w8, w0, [x19, #16]
	add	x21, x19, #12
	mov	x0, x20
	bl	_INTEL_INFO
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	add	x21, x19, #8
	mov	x0, x20
	bl	_RUNTIME_INFO
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x19, #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
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_iommu_gfx_mapped,4,2     ; @intel_iommu_gfx_mapped
	.no_dead_strip	_capture_gen_state
.subsections_via_symbols
