	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_device_info_dump_topology ## -- Begin function intel_device_info_dump_topology
	.p2align	4, 0x90
_intel_device_info_dump_topology:       ## @intel_device_info_dump_topology
	.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	%rsi, %r14
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.1:
	jle	LBB0_7
## %bb.2:
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_sseu_subslices_per_slice
	movq	8(%rbx), %rcx
	movl	(%rcx,%r13,4), %r8d
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_drm_printf
	cmpl	$0, 4(%rbx)
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_sseu_get_eus
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_hweight16
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_drm_printf
	incl	%r15d
	cmpl	4(%rbx), %r15d
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unavailable\n"

L_.str.1:                               ## @.str.1
	.asciz	"slice%d: %u subslice(s) (0x%hhx):\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tsubslice%d: %u EUs (0x%hx)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_device_info_dump_topology ; -- Begin function intel_device_info_dump_topology
	.p2align	2
_intel_device_info_dump_topology:       ; @intel_device_info_dump_topology
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x20, x0
	mov	x21, #0
Lloh0:
	adrp	x22, l_.str.1@PAGE
Lloh1:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh2:
	adrp	x23, l_.str.2@PAGE
Lloh3:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x20
	mov	x1, x21
	bl	_intel_sseu_subslices_per_slice
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x21, lsl #2]
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_drm_printf
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_sseu_get_eus
	mov	x25, x0
	bl	_hweight16
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x25, [sp, #8]
	str	x24, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_drm_printf
	add	w24, w24, #1
	ldr	w8, [x20, #4]
	cmp	w24, w8
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_drm_printf
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unavailable\n"

l_.str.1:                               ; @.str.1
	.asciz	"slice%d: %u subslice(s) (0x%hhx):\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tsubslice%d: %u EUs (0x%hx)\n"

.subsections_via_symbols
