	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __i915_chipset_val
___i915_chipset_val:                    ## @__i915_chipset_val
	.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	%rdi, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	movq	%rax, %r15
	movq	_mchdev_lock@GOTPCREL(%rip), %rdi
	callq	_assert_spin_locked
	movq	%r15, %rax
	subq	(%rbx), %rax
	cmpq	$10, %rax
	ja	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	jmp	LBB0_12
LBB0_2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DMIEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	%rax, %r14
	movq	_DDREC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	%rax, %r12
	movq	_CSIEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	addq	%r14, %r12
	addq	%rax, %r12
	movq	16(%rbx), %r13
	movq	%r13, %rax
	negq	%rax
	cmpq	%r13, %r12
	notq	%r13
	cmovgeq	%rax, %r13
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	addq	%r12, %r13
	movq	_cparams@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	$24, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %r15
	cmpq	%rax, %r14
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	-24(%rdi,%r15), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-16(%rdi,%r15), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_4
## %bb.7:
	movq	-8(%rdi,%r15), %r12
	movq	(%rdi,%r15), %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_8:
	xorl	%r14d, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_9:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
LBB0_10:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_div_u64
	imulq	%rax, %r12
	addq	%r14, %r12
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_div_u64
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rbx)
	movq	%r15, (%rbx)
	movq	%rax, 8(%rbx)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_mchdev_lock,4,2                ## @mchdev_lock
	.comm	_DMIEC,4,2                      ## @DMIEC
	.comm	_DDREC,4,2                      ## @DDREC
	.comm	_CSIEC,4,2                      ## @CSIEC
	.comm	_cparams,8,3                    ## @cparams
	.no_dead_strip	___i915_chipset_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __i915_chipset_val
___i915_chipset_val:                    ; @__i915_chipset_val
	.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
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
	mov	x20, x0
Lloh3:
	adrp	x0, _mchdev_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _mchdev_lock@GOTPAGEOFF]
	bl	_assert_spin_locked
	ldr	x8, [x19]
	sub	x21, x20, x8
	cmp	x21, #10
	b.hi	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	b	LBB0_10
LBB0_2:
Lloh5:
	adrp	x8, _DMIEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMIEC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x22, x0
Lloh8:
	adrp	x8, _DDREC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DDREC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x23, x0
Lloh11:
	adrp	x8, _CSIEC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CSIEC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_I915_READ
	add	x8, x23, x22
	add	x23, x8, x0
	ldr	x8, [x19, #16]
	neg	x9, x8
	cmp	x23, x8
	csinv	x8, x9, x8, ge
	add	x22, x8, x23
Lloh14:
	adrp	x24, _cparams@GOTPAGE
Lloh15:
	ldr	x24, [x24, _cparams@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x25, #0
	mov	x26, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #32
	cmp	x26, w0, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0, x25]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x0, x25
	ldr	x9, [x8, #8]
	ldr	x10, [x19, #32]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.7:
	ldp	x24, x25, [x8, #16]
	b	LBB0_9
LBB0_8:
	mov	x24, #0
	mov	x25, #0
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	bl	_div_u64
	madd	x0, x0, x24, x25
	mov	w1, #10
	bl	_div_u64
	stp	x0, x23, [x19, #8]
	str	x20, [x19]
LBB0_10:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_mchdev_lock,4,2                ; @mchdev_lock
	.comm	_DMIEC,4,2                      ; @DMIEC
	.comm	_DDREC,4,2                      ; @DDREC
	.comm	_CSIEC,4,2                      ; @CSIEC
	.comm	_cparams,8,3                    ; @cparams
	.no_dead_strip	___i915_chipset_val
.subsections_via_symbols
