	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_IrqHandle
_IFX_MEI_IrqHandle:                     ## @IFX_MEI_IrqHandle
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_IFX_MEI_EMSG
LBB0_2:
	movq	_ARC_MEI_MAILBOXR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_IFX_MEI_DebugRead
	movl	-28(%rbp), %eax
	movq	_OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_IFX_MEI_EMSG
	jmp	LBB0_15
LBB0_4:
	movq	_OMB_CLEAREOC_INTERRUPT_CODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_IFX_MEI_DMSG
	movq	_DSL_BSP_CB_CEOC_IRQ@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_OMB_REBOOT_INTERRUPT_CODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	_IFX_MEI_DMSG
	movq	_DSL_BSP_CB_FIRMWARE_REBOOT@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %r14
	movq	_ME_ARC2ME_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARC_TO_MEI_MSGAV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_IFX_MEI_LongWordWriteOffset
	movq	_dsl_bsp_event_callback@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movl	(%rcx,%rdx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_15:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	(%rax), %rsi
	movq	_MSG_LENGTH@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_IFX_MEI_MailboxRead
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	8(%rax), %r14d
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	cmpl	$1, %r14d
	jne	LBB0_12
## %bb.11:
	movl	$1, 12(%rax)
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	$0, 8(%rax)
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	36(%rax), %edi
	jmp	LBB0_14
LBB0_12:
	incl	32(%rax)
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	24(%rax), %r14
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	(%rax), %rsi
	movl	(%r15), %edx
	addl	%edx, %edx
	movq	%r14, %rdi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	(%rax), %rax
	movl	(%rax), %eax
	shrl	$4, %eax
	movzbl	%al, %eax
	movq	_D2H_AUTONOMOUS_MODEM_READY_MSG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	callq	_IFX_MEI_DMSG
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	$1, 16(%rax)
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	20(%rax), %edi
LBB0_14:
	callq	_MEI_WAKEUP_EVENT
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: Got Interrupt but pDev is NULL!!!!\n"

	.comm	_ARC_MEI_MAILBOXR,4,2           ## @ARC_MEI_MAILBOXR
	.comm	_OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK,4,2 ## @OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Receive Code Swap Request interrupt!!!\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_OMB_CLEAREOC_INTERRUPT_CODE,4,2 ## @OMB_CLEAREOC_INTERRUPT_CODE
L_.str.2:                               ## @.str.2
	.asciz	"OMB_CLEAREOC_INTERRUPT_CODE\n"

	.comm	_DSL_BSP_CB_CEOC_IRQ,8,3        ## @DSL_BSP_CB_CEOC_IRQ
	.comm	_ME_ARC2ME_STAT,8,3             ## @ME_ARC2ME_STAT
	.comm	_ARC_TO_MEI_MSGAV,4,2           ## @ARC_TO_MEI_MSGAV
	.comm	_dsl_bsp_event_callback,8,3     ## @dsl_bsp_event_callback
	.comm	_OMB_REBOOT_INTERRUPT_CODE,4,2  ## @OMB_REBOOT_INTERRUPT_CODE
L_.str.3:                               ## @.str.3
	.asciz	"OMB_REBOOT_INTERRUPT_CODE\n"

	.comm	_DSL_BSP_CB_FIRMWARE_REBOOT,8,3 ## @DSL_BSP_CB_FIRMWARE_REBOOT
	.comm	_MSG_LENGTH,4,2                 ## @MSG_LENGTH
	.comm	_D2H_AUTONOMOUS_MODEM_READY_MSG,4,2 ## @D2H_AUTONOMOUS_MODEM_READY_MSG
L_.str.4:                               ## @.str.4
	.asciz	"Got MODEM_READY_MSG\n"

	.no_dead_strip	_IFX_MEI_IrqHandle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_IrqHandle
_IFX_MEI_IrqHandle:                     ; @IFX_MEI_IrqHandle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	cbnz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IFX_MEI_EMSG
LBB0_2:
Lloh2:
	adrp	x8, _ARC_MEI_MAILBOXR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARC_MEI_MAILBOXR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	bl	_IFX_MEI_DebugRead
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IFX_MEI_EMSG
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x9, _OMB_CLEAREOC_INTERRUPT_CODE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OMB_CLEAREOC_INTERRUPT_CODE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IFX_MEI_DMSG
Lloh15:
	adrp	x8, _DSL_BSP_CB_CEOC_IRQ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DSL_BSP_CB_CEOC_IRQ@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x9, _OMB_REBOOT_INTERRUPT_CODE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OMB_REBOOT_INTERRUPT_CODE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.7:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IFX_MEI_DMSG
Lloh22:
	adrp	x8, _DSL_BSP_CB_FIRMWARE_REBOOT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DSL_BSP_CB_FIRMWARE_REBOOT@GOTPAGEOFF]
LBB0_8:
	ldr	x20, [x8]
Lloh24:
	adrp	x8, _ME_ARC2ME_STAT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ME_ARC2ME_STAT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _ARC_TO_MEI_MSGAV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARC_TO_MEI_MSGAV@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IFX_MEI_LongWordWriteOffset
Lloh30:
	adrp	x8, _dsl_bsp_event_callback@GOTPAGE
Lloh31:
	ldr	x8, [x8, _dsl_bsp_event_callback@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x8]
	add	x8, x9, x20, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.9:
	lsl	x10, x20, #4
	ldr	w2, [x9, x10]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_10:
Lloh33:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	x1, [x0]
Lloh36:
	adrp	x21, _MSG_LENGTH@GOTPAGE
Lloh37:
	ldr	x21, [x21, _MSG_LENGTH@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_IFX_MEI_MailboxRead
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	w20, [x0, #8]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	cmp	w20, #1
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x0, #12]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	str	wzr, [x0, #8]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	w0, [x0, #36]
	b	LBB0_15
LBB0_13:
	ldr	w8, [x0, #32]
	add	w8, w8, #1
	str	w8, [x0, #32]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	x20, [x0, #24]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	x1, [x0]
	ldr	w8, [x21]
	lsl	w2, w8, #1
	mov	x0, x20
	bl	_memcpy
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	x8, [x0]
	ldr	w8, [x8]
	lsr	w8, w8, #4
Lloh38:
	adrp	x9, _D2H_AUTONOMOUS_MODEM_READY_MSG@GOTPAGE
Lloh39:
	ldr	x9, [x9, _D2H_AUTONOMOUS_MODEM_READY_MSG@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w9, w8, uxtb
	b.ne	LBB0_10
; %bb.14:
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_IFX_MEI_DMSG
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	mov	w8, #1
	str	w8, [x0, #16]
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	ldr	w0, [x0, #20]
LBB0_15:
	bl	_MEI_WAKEUP_EVENT
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: Got Interrupt but pDev is NULL!!!!\n"

	.comm	_ARC_MEI_MAILBOXR,4,2           ; @ARC_MEI_MAILBOXR
	.comm	_OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK,4,2 ; @OMB_CODESWAP_MESSAGE_MSG_TYPE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Receive Code Swap Request interrupt!!!\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_OMB_CLEAREOC_INTERRUPT_CODE,4,2 ; @OMB_CLEAREOC_INTERRUPT_CODE
l_.str.2:                               ; @.str.2
	.asciz	"OMB_CLEAREOC_INTERRUPT_CODE\n"

	.comm	_DSL_BSP_CB_CEOC_IRQ,8,3        ; @DSL_BSP_CB_CEOC_IRQ
	.comm	_ME_ARC2ME_STAT,8,3             ; @ME_ARC2ME_STAT
	.comm	_ARC_TO_MEI_MSGAV,4,2           ; @ARC_TO_MEI_MSGAV
	.comm	_dsl_bsp_event_callback,8,3     ; @dsl_bsp_event_callback
	.comm	_OMB_REBOOT_INTERRUPT_CODE,4,2  ; @OMB_REBOOT_INTERRUPT_CODE
l_.str.3:                               ; @.str.3
	.asciz	"OMB_REBOOT_INTERRUPT_CODE\n"

	.comm	_DSL_BSP_CB_FIRMWARE_REBOOT,8,3 ; @DSL_BSP_CB_FIRMWARE_REBOOT
	.comm	_MSG_LENGTH,4,2                 ; @MSG_LENGTH
	.comm	_D2H_AUTONOMOUS_MODEM_READY_MSG,4,2 ; @D2H_AUTONOMOUS_MODEM_READY_MSG
l_.str.4:                               ; @.str.4
	.asciz	"Got MODEM_READY_MSG\n"

	.no_dead_strip	_IFX_MEI_IrqHandle
.subsections_via_symbols
