	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e82545_icr_assert
_e82545_icr_assert:                     ## @e82545_icr_assert
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTF
	movl	(%r14), %eax
	movl	4(%r14), %edx
	movl	%eax, %esi
	notl	%esi
	andl	%ebx, %esi
	orl	%ebx, %eax
	movl	%eax, (%r14)
	andl	%edx, %esi
	je	LBB0_1
## %bb.2:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
LBB0_5:
	cmpl	$0, 8(%r14)
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTF
	movl	$1, 8(%r14)
	movl	24(%r14), %edi
	callq	_pci_lintr_assert
	movl	12(%r14), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ecx
	addl	$3905, %ecx                     ## imm = 0xF41
	movslq	%ecx, %rcx
	imulq	$-2043023357, %rcx, %rcx        ## imm = 0x8639F003
	shrq	$32, %rcx
	leal	(%rcx,%rax), %edi
	addl	$3905, %edi                     ## imm = 0xF41
	movl	%edi, %eax
	shrl	$31, %eax
	sarl	$11, %edi
	addl	%eax, %edi
	movq	_EVF_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_e82545_itr_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_mevent_add
	movq	%rax, 16(%r14)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"icr assert: 0x%x\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"icr assert: masked %x, ims %x\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"icr assert: throttled %x, ims %x\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"icr assert: lintr assert %x\r\n"

	.comm	_EVF_TIMER,4,2                  ## @EVF_TIMER
	.comm	_e82545_itr_callback,4,2        ## @e82545_itr_callback
	.no_dead_strip	_e82545_icr_assert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e82545_icr_assert
_e82545_icr_assert:                     ; @e82545_icr_assert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTF
	ldp	w9, w8, [x19]
	bic	w10, w20, w9
	orr	w9, w9, w20
	str	w9, [x19]
	ands	w1, w10, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_4
; %bb.2:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DPRINTF
	b	LBB0_7
LBB0_3:
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINTF
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_7
; %bb.5:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DPRINTF
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	w0, [x19, #24]
	bl	_pci_lintr_assert
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
; %bb.6:
	add	w8, w8, #3905
	mov	w9, #61443
	movk	w9, #34361, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #11
	add	w0, w9, w8, lsr #31
Lloh8:
	adrp	x8, _EVF_TIMER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVF_TIMER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _e82545_itr_callback@GOTPAGE
Lloh12:
	ldr	x8, [x8, _e82545_itr_callback@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_mevent_add
	str	x0, [x19, #16]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"icr assert: 0x%x\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"icr assert: masked %x, ims %x\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"icr assert: throttled %x, ims %x\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"icr assert: lintr assert %x\r\n"

	.comm	_EVF_TIMER,4,2                  ; @EVF_TIMER
	.comm	_e82545_itr_callback,4,2        ; @e82545_itr_callback
	.no_dead_strip	_e82545_icr_assert
.subsections_via_symbols
