	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sseu_dump
_sseu_dump:                             ## @sseu_dump
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	32(%rdi), %edi
	callq	_hweight8
	movl	32(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	movq	%r12, %rdi
	callq	_intel_sseu_subslice_total
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_intel_sseu_subslices_per_slice
	movq	24(%r12), %rcx
	movl	(%rcx,%rbx,4), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_drm_printf
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movl	20(%r12), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_drm_printf
	movl	16(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_drm_printf
	movl	12(%r12), %edi
	callq	_yesno
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	movl	8(%r12), %edi
	callq	_yesno
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	movl	4(%r12), %edi
	callq	_yesno
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"slice total: %u, mask=%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"subslice total: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"slice%d: %u subslices, mask=%04x\n"

L_.str.3:                               ## @.str.3
	.asciz	"EU total: %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"EU per subslice: %u\n"

L_.str.5:                               ## @.str.5
	.asciz	"has slice power gating: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"has subslice power gating: %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"has EU power gating: %s\n"

	.no_dead_strip	_sseu_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sseu_dump
_sseu_dump:                             ; @sseu_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	w0, [x0, #32]
	bl	_hweight8
	mov	x2, x0
	ldr	w8, [x20, #32]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	mov	x0, x20
	bl	_intel_sseu_subslice_total
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_intel_sseu_subslices_per_slice
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x20, #24]
	ldr	w8, [x8, x21, lsl #2]
	stp	x0, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_drm_printf
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w2, [x20, #20]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x20, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w0, [x20, #12]
	bl	_yesno
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w0, [x20, #8]
	bl	_yesno
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w0, [x20, #4]
	bl	_yesno
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_drm_printf
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"slice total: %u, mask=%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"subslice total: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"slice%d: %u subslices, mask=%04x\n"

l_.str.3:                               ; @.str.3
	.asciz	"EU total: %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"EU per subslice: %u\n"

l_.str.5:                               ; @.str.5
	.asciz	"has slice power gating: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"has subslice power gating: %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"has EU power gating: %s\n"

	.no_dead_strip	_sseu_dump
.subsections_via_symbols
