	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_cfg_itr_gran
_ice_cfg_itr_gran:                      ## @ice_cfg_itr_gran
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_GLINT_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_rd32
	movq	_GLINT_CTL_DIS_AUTOMASK_M@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_ICE_ITR_GRAN_US@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GLINT_CTL_ITR_GRAN_200_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GLINT_CTL_ITR_GRAN_200_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_2
LBB0_3:
	movq	_GLINT_CTL_ITR_GRAN_200_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r8d, %edx
	andl	%eax, %edx
	movq	_GLINT_CTL_ITR_GRAN_200_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	sarl	%cl, %edx
	movq	_ICE_ITR_GRAN_US@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_4
## %bb.5:
	movq	_GLINT_CTL_ITR_GRAN_100_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%eax, %edi
	movq	_GLINT_CTL_ITR_GRAN_100_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edi
	cmpl	%edx, %edi
	jne	LBB0_2
## %bb.6:
	movq	_GLINT_CTL_ITR_GRAN_50_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%eax, %edi
	movq	_GLINT_CTL_ITR_GRAN_50_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edi
	cmpl	%edx, %edi
	jne	LBB0_2
## %bb.7:
	movq	_GLINT_CTL_ITR_GRAN_25_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_GLINT_CTL_ITR_GRAN_25_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %edx
LBB0_2:
	movl	%edx, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	movq	_GLINT_CTL_ITR_GRAN_100_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	movq	_GLINT_CTL_ITR_GRAN_100_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_GLINT_CTL_ITR_GRAN_50_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %edi
	shll	%cl, %edi
	movq	_GLINT_CTL_ITR_GRAN_50_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movq	_GLINT_CTL_ITR_GRAN_25_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	andl	%r8d, %eax
	movq	_GLINT_CTL_ITR_GRAN_25_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	orl	%eax, %esi
	orl	%edi, %edx
	orl	%esi, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLINT_CTL,4,2                  ## @GLINT_CTL
	.comm	_GLINT_CTL_DIS_AUTOMASK_M,4,2   ## @GLINT_CTL_DIS_AUTOMASK_M
	.comm	_GLINT_CTL_ITR_GRAN_200_M,4,2   ## @GLINT_CTL_ITR_GRAN_200_M
	.comm	_GLINT_CTL_ITR_GRAN_200_S,4,2   ## @GLINT_CTL_ITR_GRAN_200_S
	.comm	_ICE_ITR_GRAN_US,4,2            ## @ICE_ITR_GRAN_US
	.comm	_GLINT_CTL_ITR_GRAN_100_M,4,2   ## @GLINT_CTL_ITR_GRAN_100_M
	.comm	_GLINT_CTL_ITR_GRAN_100_S,4,2   ## @GLINT_CTL_ITR_GRAN_100_S
	.comm	_GLINT_CTL_ITR_GRAN_50_M,4,2    ## @GLINT_CTL_ITR_GRAN_50_M
	.comm	_GLINT_CTL_ITR_GRAN_50_S,4,2    ## @GLINT_CTL_ITR_GRAN_50_S
	.comm	_GLINT_CTL_ITR_GRAN_25_M,4,2    ## @GLINT_CTL_ITR_GRAN_25_M
	.comm	_GLINT_CTL_ITR_GRAN_25_S,4,2    ## @GLINT_CTL_ITR_GRAN_25_S
	.no_dead_strip	_ice_cfg_itr_gran
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_cfg_itr_gran
_ice_cfg_itr_gran:                      ; @ice_cfg_itr_gran
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _GLINT_CTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GLINT_CTL@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_rd32
Lloh2:
	adrp	x8, _GLINT_CTL_DIS_AUTOMASK_M@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLINT_CTL_DIS_AUTOMASK_M@GOTPAGEOFF]
Lloh4:
	adrp	x11, _GLINT_CTL_ITR_GRAN_100_M@GOTPAGE
Lloh5:
	ldr	x11, [x11, _GLINT_CTL_ITR_GRAN_100_M@GOTPAGEOFF]
Lloh6:
	adrp	x13, _GLINT_CTL_ITR_GRAN_100_S@GOTPAGE
Lloh7:
	ldr	x13, [x13, _GLINT_CTL_ITR_GRAN_100_S@GOTPAGEOFF]
Lloh8:
	adrp	x9, _GLINT_CTL_ITR_GRAN_50_M@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GLINT_CTL_ITR_GRAN_50_M@GOTPAGEOFF]
Lloh10:
	adrp	x12, _GLINT_CTL_ITR_GRAN_50_S@GOTPAGE
Lloh11:
	ldr	x12, [x12, _GLINT_CTL_ITR_GRAN_50_S@GOTPAGEOFF]
Lloh12:
	ldr	w14, [x8]
Lloh13:
	adrp	x8, _GLINT_CTL_ITR_GRAN_25_M@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GLINT_CTL_ITR_GRAN_25_M@GOTPAGEOFF]
Lloh15:
	adrp	x10, _GLINT_CTL_ITR_GRAN_25_S@GOTPAGE
Lloh16:
	ldr	x10, [x10, _GLINT_CTL_ITR_GRAN_25_S@GOTPAGEOFF]
	tst	w14, w0
	b.eq	LBB0_2
; %bb.1:
Lloh17:
	adrp	x14, _ICE_ITR_GRAN_US@GOTPAGE
Lloh18:
	ldr	x14, [x14, _ICE_ITR_GRAN_US@GOTPAGEOFF]
Lloh19:
	ldr	w14, [x14]
Lloh20:
	adrp	x15, _GLINT_CTL_ITR_GRAN_200_S@GOTPAGE
Lloh21:
	ldr	x15, [x15, _GLINT_CTL_ITR_GRAN_200_S@GOTPAGEOFF]
Lloh22:
	ldr	w16, [x15]
Lloh23:
	adrp	x15, _GLINT_CTL_ITR_GRAN_200_M@GOTPAGE
Lloh24:
	ldr	x15, [x15, _GLINT_CTL_ITR_GRAN_200_M@GOTPAGEOFF]
Lloh25:
	ldr	w15, [x15]
	b	LBB0_8
LBB0_2:
Lloh26:
	adrp	x14, _GLINT_CTL_ITR_GRAN_200_M@GOTPAGE
Lloh27:
	ldr	x14, [x14, _GLINT_CTL_ITR_GRAN_200_M@GOTPAGEOFF]
Lloh28:
	ldr	w15, [x14]
	and	w14, w15, w0
Lloh29:
	adrp	x16, _GLINT_CTL_ITR_GRAN_200_S@GOTPAGE
Lloh30:
	ldr	x16, [x16, _GLINT_CTL_ITR_GRAN_200_S@GOTPAGEOFF]
Lloh31:
	ldr	w16, [x16]
	asr	w14, w14, w16
Lloh32:
	adrp	x17, _ICE_ITR_GRAN_US@GOTPAGE
Lloh33:
	ldr	x17, [x17, _ICE_ITR_GRAN_US@GOTPAGEOFF]
Lloh34:
	ldr	w17, [x17]
	cmp	w14, w17
	b.ne	LBB0_7
; %bb.3:
	ldr	w17, [x11]
	and	w17, w17, w0
	ldr	w1, [x13]
	asr	w17, w17, w1
	cmp	w17, w14
	b.ne	LBB0_8
; %bb.4:
	ldr	w17, [x9]
	and	w17, w17, w0
	ldr	w1, [x12]
	asr	w17, w17, w1
	cmp	w17, w14
	b.ne	LBB0_8
; %bb.5:
	ldr	w17, [x8]
	and	w17, w17, w0
	ldr	w0, [x10]
	asr	w17, w17, w0
	cmp	w17, w14
	b.ne	LBB0_8
; %bb.6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x14, x17
LBB0_8:
	lsl	w16, w14, w16
	and	w15, w16, w15
	ldr	w13, [x13]
	lsl	w13, w14, w13
	ldr	w11, [x11]
	and	w11, w13, w11
	orr	w11, w11, w15
	ldr	w12, [x12]
	lsl	w12, w14, w12
	ldr	w9, [x9]
	and	w9, w12, w9
	orr	w9, w11, w9
	ldr	w10, [x10]
	lsl	w10, w14, w10
	ldr	w8, [x8]
	and	w8, w10, w8
	orr	w2, w9, w8
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_GLINT_CTL,4,2                  ; @GLINT_CTL
	.comm	_GLINT_CTL_DIS_AUTOMASK_M,4,2   ; @GLINT_CTL_DIS_AUTOMASK_M
	.comm	_GLINT_CTL_ITR_GRAN_200_M,4,2   ; @GLINT_CTL_ITR_GRAN_200_M
	.comm	_GLINT_CTL_ITR_GRAN_200_S,4,2   ; @GLINT_CTL_ITR_GRAN_200_S
	.comm	_ICE_ITR_GRAN_US,4,2            ; @ICE_ITR_GRAN_US
	.comm	_GLINT_CTL_ITR_GRAN_100_M,4,2   ; @GLINT_CTL_ITR_GRAN_100_M
	.comm	_GLINT_CTL_ITR_GRAN_100_S,4,2   ; @GLINT_CTL_ITR_GRAN_100_S
	.comm	_GLINT_CTL_ITR_GRAN_50_M,4,2    ; @GLINT_CTL_ITR_GRAN_50_M
	.comm	_GLINT_CTL_ITR_GRAN_50_S,4,2    ; @GLINT_CTL_ITR_GRAN_50_S
	.comm	_GLINT_CTL_ITR_GRAN_25_M,4,2    ; @GLINT_CTL_ITR_GRAN_25_M
	.comm	_GLINT_CTL_ITR_GRAN_25_S,4,2    ; @GLINT_CTL_ITR_GRAN_25_S
	.no_dead_strip	_ice_cfg_itr_gran
.subsections_via_symbols
