	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_uncore_prune_mmio_domains ## -- Begin function intel_uncore_prune_mmio_domains
	.p2align	4, 0x90
_intel_uncore_prune_mmio_domains:       ## @intel_uncore_prune_mmio_domains
	.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	8(%rdi), %r15
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_intel_uncore_has_forcewake
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	%r15, %rdi
	callq	_INTEL_GEN
	cmpl	$11, %eax
	jl	LBB0_14
## %bb.2:
	movq	_I915_MAX_VCS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	movq	_FW_DOMAIN_ID_MEDIA_VDBOX0@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	_I915_MAX_VCS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %r12d
	addl	%ebx, %r12d
	movl	%ebx, %edi
	callq	__VCS
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_HAS_ENGINE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edi
	callq	_BIT
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_fw_domain_fini
	jmp	LBB0_7
LBB0_8:
	movq	_I915_MAX_VECS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.9:
	xorl	%ebx, %ebx
	movq	_FW_DOMAIN_ID_MEDIA_VEBOX0@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%ebx
	movq	_I915_MAX_VECS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %r12d
	addl	%ebx, %r12d
	movl	%ebx, %edi
	callq	__VECS
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_HAS_ENGINE
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%r12d, %edi
	callq	_BIT
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_fw_domain_fini
	jmp	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_MAX_VCS,4,2               ## @I915_MAX_VCS
	.comm	_FW_DOMAIN_ID_MEDIA_VDBOX0,4,2  ## @FW_DOMAIN_ID_MEDIA_VDBOX0
	.comm	_I915_MAX_VECS,4,2              ## @I915_MAX_VECS
	.comm	_FW_DOMAIN_ID_MEDIA_VEBOX0,4,2  ## @FW_DOMAIN_ID_MEDIA_VEBOX0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_uncore_prune_mmio_domains ; -- Begin function intel_uncore_prune_mmio_domains
	.p2align	2
_intel_uncore_prune_mmio_domains:       ; @intel_uncore_prune_mmio_domains
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w23, [x0]
	bl	_intel_uncore_has_forcewake
	cbz	w0, LBB0_14
; %bb.1:
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #11
	b.lt	LBB0_14
; %bb.2:
Lloh0:
	adrp	x24, _I915_MAX_VCS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _I915_MAX_VCS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w21, #0
Lloh2:
	adrp	x25, _FW_DOMAIN_ID_MEDIA_VDBOX0@GOTPAGE
Lloh3:
	ldr	x25, [x25, _FW_DOMAIN_ID_MEDIA_VDBOX0@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	ldr	w8, [x24]
	cmp	w21, w8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x25]
	mov	x0, x21
	bl	__VCS
	mov	x1, x0
	mov	x0, x20
	bl	_HAS_ENGINE
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w21, w22
	mov	x0, x22
	bl	_BIT
	tst	w0, w23
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_fw_domain_fini
	b	LBB0_4
LBB0_8:
Lloh4:
	adrp	x24, _I915_MAX_VECS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _I915_MAX_VECS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
	mov	w21, #0
Lloh6:
	adrp	x25, _FW_DOMAIN_ID_MEDIA_VEBOX0@GOTPAGE
Lloh7:
	ldr	x25, [x25, _FW_DOMAIN_ID_MEDIA_VEBOX0@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w21, w21, #1
	ldr	w8, [x24]
	cmp	w21, w8
	b.ge	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x25]
	mov	x0, x21
	bl	__VECS
	mov	x1, x0
	mov	x0, x20
	bl	_HAS_ENGINE
	cbnz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w22, w21, w22
	mov	x0, x22
	bl	_BIT
	tst	w0, w23
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_fw_domain_fini
	b	LBB0_10
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_MAX_VCS,4,2               ; @I915_MAX_VCS
	.comm	_FW_DOMAIN_ID_MEDIA_VDBOX0,4,2  ; @FW_DOMAIN_ID_MEDIA_VDBOX0
	.comm	_I915_MAX_VECS,4,2              ; @I915_MAX_VECS
	.comm	_FW_DOMAIN_ID_MEDIA_VEBOX0,4,2  ; @FW_DOMAIN_ID_MEDIA_VEBOX0
.subsections_via_symbols
