	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function broadwell_sseu_info_init
_broadwell_sseu_info_init:              ## @broadwell_sseu_info_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_RUNTIME_INFO
	movq	%rax, %r13
	movq	_GEN8_FUSE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r12d
	movq	_GEN8_F2_S_ENA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_GEN8_F2_S_ENA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, (%r13)
	movabsq	$12884901891, %rax              ## imm = 0x300000003
	movq	%rax, 4(%r13)
	movl	$8, 12(%r13)
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	_GEN8_F2_SS_DIS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r12d
	movq	_GEN8_F2_SS_DIS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r12d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_GEN8_EU_DISABLE0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_I915_READ
	movq	_GEN8_EU_DIS0_S0_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -60(%rbp)
	movl	(%rbx), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_GEN8_EU_DIS0_S1_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %ebx
	movq	_GEN8_EU_DISABLE1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_I915_READ
	movq	_GEN8_EU_DIS1_S1_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	xorl	%ecx, %ecx
	subb	(%r14), %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%ebx, %eax
	movl	%eax, -56(%rbp)
	movl	(%r15), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_GEN8_EU_DIS1_S2_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %ebx
	movq	_GEN8_EU_DISABLE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_GEN8_EU_DIS2_S2_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movb	(%r14), %dl
	xorl	%ecx, %ecx
	subb	%dl, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%ebx, %eax
	movl	%eax, -52(%rbp)
	cmpl	$0, 4(%r13)
	jle	LBB0_11
## %bb.1:
	notl	%r12d
	andl	%r12d, -64(%rbp)                ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	4(%r13), %rax
	cmpq	%rax, %r12
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%r12,4)
	cmpl	$0, 8(%r13)
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r15d
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-1(%r15), %ebx
	movl	%ebx, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	-60(%rbp,%r12,4), %r14d
	movl	12(%r13), %ecx
	imull	%ebx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r14d
	movl	%r14d, %ecx
	notl	%ecx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_sseu_set_eus
	movl	%r14d, %edi
	callq	_hweight8
	movl	12(%r13), %ecx
	subl	%eax, %ecx
	cmpl	$7, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movq	24(%r13), %rcx
	orl	%eax, (%rcx,%r12,4)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	cmpl	8(%r13), %r15d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%r13), %rax
	movl	(%rax,%r12,4), %r14d
	incl	%r15d
	jmp	LBB0_5
LBB0_11:
	movq	%r13, %rdi
	callq	_compute_eu_total
	movl	%eax, 56(%r13)
	movq	%r13, %rdi
	callq	_intel_sseu_subslice_total
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_13
## %bb.12:
	movl	56(%r13), %ebx
	movq	%r13, %rdi
	callq	_intel_sseu_subslice_total
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_DIV_ROUND_UP
LBB0_13:
	movl	%eax, 60(%r13)
	movl	(%r13), %edi
	callq	_hweight8
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setge	%cl
	movl	%ecx, 32(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r13)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN8_FUSE2,4,2                 ## @GEN8_FUSE2
	.comm	_GEN8_F2_S_ENA_MASK,4,2         ## @GEN8_F2_S_ENA_MASK
	.comm	_GEN8_F2_S_ENA_SHIFT,4,2        ## @GEN8_F2_S_ENA_SHIFT
	.comm	_GEN8_F2_SS_DIS_MASK,4,2        ## @GEN8_F2_SS_DIS_MASK
	.comm	_GEN8_F2_SS_DIS_SHIFT,4,2       ## @GEN8_F2_SS_DIS_SHIFT
	.comm	_GEN8_EU_DISABLE0,4,2           ## @GEN8_EU_DISABLE0
	.comm	_GEN8_EU_DIS0_S0_MASK,4,2       ## @GEN8_EU_DIS0_S0_MASK
	.comm	_GEN8_EU_DIS0_S1_SHIFT,4,2      ## @GEN8_EU_DIS0_S1_SHIFT
	.comm	_GEN8_EU_DISABLE1,4,2           ## @GEN8_EU_DISABLE1
	.comm	_GEN8_EU_DIS1_S1_MASK,4,2       ## @GEN8_EU_DIS1_S1_MASK
	.comm	_GEN8_EU_DIS1_S2_SHIFT,4,2      ## @GEN8_EU_DIS1_S2_SHIFT
	.comm	_GEN8_EU_DISABLE2,4,2           ## @GEN8_EU_DISABLE2
	.comm	_GEN8_EU_DIS2_S2_MASK,4,2       ## @GEN8_EU_DIS2_S2_MASK
	.no_dead_strip	_broadwell_sseu_info_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function broadwell_sseu_info_init
_broadwell_sseu_info_init:              ; @broadwell_sseu_info_init
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_RUNTIME_INFO
	mov	x19, x0
Lloh3:
	adrp	x8, _GEN8_FUSE2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN8_FUSE2@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x21, x0
Lloh6:
	adrp	x8, _GEN8_F2_S_ENA_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GEN8_F2_S_ENA_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _GEN8_F2_S_ENA_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GEN8_F2_S_ENA_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x19]
	movi.2s	v0, #3
	stur	d0, [x19, #4]
	mov	w8, #8
	str	w8, [x19, #12]
	mov	w0, #2
	mov	w1, #0
	bl	_GENMASK
	mov	x22, x0
Lloh12:
	adrp	x8, _GEN8_F2_SS_DIS_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN8_F2_SS_DIS_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
Lloh15:
	adrp	x8, _GEN8_F2_SS_DIS_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN8_F2_SS_DIS_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
Lloh18:
	adrp	x20, _GEN8_EU_DISABLE0@GOTPAGE
Lloh19:
	ldr	x20, [x20, _GEN8_EU_DISABLE0@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_I915_READ
Lloh20:
	adrp	x8, _GEN8_EU_DIS0_S0_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GEN8_EU_DIS0_S0_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [sp, #12]
	ldr	w0, [x20]
	bl	_I915_READ
Lloh23:
	adrp	x20, _GEN8_EU_DIS0_S1_SHIFT@GOTPAGE
Lloh24:
	ldr	x20, [x20, _GEN8_EU_DIS0_S1_SHIFT@GOTPAGEOFF]
	ldr	w8, [x20]
	asr	w25, w0, w8
Lloh25:
	adrp	x26, _GEN8_EU_DISABLE1@GOTPAGE
Lloh26:
	ldr	x26, [x26, _GEN8_EU_DISABLE1@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_I915_READ
Lloh27:
	adrp	x8, _GEN8_EU_DIS1_S1_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GEN8_EU_DIS1_S1_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x20]
	neg	w9, w9
	lsl	w8, w8, w9
	orr	w8, w8, w25
	str	w8, [sp, #16]
	ldr	w0, [x26]
	bl	_I915_READ
Lloh30:
	adrp	x20, _GEN8_EU_DIS1_S2_SHIFT@GOTPAGE
Lloh31:
	ldr	x20, [x20, _GEN8_EU_DIS1_S2_SHIFT@GOTPAGEOFF]
	ldr	w8, [x20]
	asr	w25, w0, w8
Lloh32:
	adrp	x8, _GEN8_EU_DISABLE2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GEN8_EU_DISABLE2@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh35:
	adrp	x8, _GEN8_EU_DIS2_S2_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GEN8_EU_DIS2_S2_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x20]
	neg	w9, w9
	lsl	w8, w8, w9
	orr	w8, w8, w25
	str	w8, [sp, #20]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x20, #0
	and	w8, w24, w21
	asr	w8, w8, w23
	bic	w23, w22, w8
	add	x24, sp, #12
	mov	w25, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w21, [x19]
	mov	x0, x20
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	str	w23, [x8, x20, lsl #2]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #1
	mov	x22, x23
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w21, w26, #1
	mov	x0, x21
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x24, x20, lsl #2]
	ldr	w9, [x19, #12]
	mul	w9, w9, w21
	asr	w22, w8, w9
	mvn	w3, w22
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_sseu_set_eus
	mov	x0, x22
	bl	_hweight8
	ldr	w8, [x19, #12]
	sub	w8, w8, w0
	cmp	w8, #7
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	lsl	w8, w25, w21
	ldr	x9, [x19, #24]
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x19, #8]
	cmp	w26, w8
	b.ge	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #16]
	ldr	w22, [x8, x20, lsl #2]
	add	w26, w26, #1
	b	LBB0_6
LBB0_11:
	mov	x0, x19
	bl	_compute_eu_total
	str	w0, [x19, #56]
	mov	x0, x19
	bl	_intel_sseu_subslice_total
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w20, [x19, #56]
	mov	x0, x19
	bl	_intel_sseu_subslice_total
	mov	x1, x0
	mov	x0, x20
	bl	_DIV_ROUND_UP
LBB0_13:
	str	w0, [x19, #60]
	ldr	w0, [x19]
	bl	_hweight8
	cmp	w0, #1
	cset	w8, gt
	str	w8, [x19, #32]
	stp	xzr, xzr, [x19, #40]
	ldr	x8, [sp, #24]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN8_FUSE2,4,2                 ; @GEN8_FUSE2
	.comm	_GEN8_F2_S_ENA_MASK,4,2         ; @GEN8_F2_S_ENA_MASK
	.comm	_GEN8_F2_S_ENA_SHIFT,4,2        ; @GEN8_F2_S_ENA_SHIFT
	.comm	_GEN8_F2_SS_DIS_MASK,4,2        ; @GEN8_F2_SS_DIS_MASK
	.comm	_GEN8_F2_SS_DIS_SHIFT,4,2       ; @GEN8_F2_SS_DIS_SHIFT
	.comm	_GEN8_EU_DISABLE0,4,2           ; @GEN8_EU_DISABLE0
	.comm	_GEN8_EU_DIS0_S0_MASK,4,2       ; @GEN8_EU_DIS0_S0_MASK
	.comm	_GEN8_EU_DIS0_S1_SHIFT,4,2      ; @GEN8_EU_DIS0_S1_SHIFT
	.comm	_GEN8_EU_DISABLE1,4,2           ; @GEN8_EU_DISABLE1
	.comm	_GEN8_EU_DIS1_S1_MASK,4,2       ; @GEN8_EU_DIS1_S1_MASK
	.comm	_GEN8_EU_DIS1_S2_SHIFT,4,2      ; @GEN8_EU_DIS1_S2_SHIFT
	.comm	_GEN8_EU_DISABLE2,4,2           ; @GEN8_EU_DISABLE2
	.comm	_GEN8_EU_DIS2_S2_MASK,4,2       ; @GEN8_EU_DIS2_S2_MASK
	.no_dead_strip	_broadwell_sseu_info_init
.subsections_via_symbols
