	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_rx_msg_lost
_pch_can_rx_msg_lost:                   ## @pch_can_rx_msg_lost
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_dbg
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	movq	_PCH_IF_MCONT_MSGLOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pch_can_bit_clear
	movq	_PCH_CMASK_RDWR@GOTPCREL(%rip), %rax
	movq	_PCH_CMASK_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movl	%r15d, %esi
	callq	_pch_can_rw_msg_obj
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_alloc_can_err_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-40(%rbp), %rdx
	orl	%ecx, 8(%rdx)
	movq	_CAN_ERR_CRTL_RX_OVERFLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rdx), %rdx
	movl	%ecx, 4(%rdx)
	incl	4(%r14)
	incl	(%r14)
	movq	%rax, %rdi
	callq	_netif_receive_skb
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Msg Obj is overwritten.\n"

	.comm	_PCH_IF_MCONT_MSGLOST,4,2       ## @PCH_IF_MCONT_MSGLOST
	.comm	_PCH_CMASK_RDWR,4,2             ## @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_CTRL,4,2             ## @PCH_CMASK_CTRL
	.comm	_CAN_ERR_CRTL,4,2               ## @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ## @CAN_ERR_CRTL_RX_OVERFLOW
	.no_dead_strip	_pch_can_rx_msg_lost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_can_rx_msg_lost
_pch_can_rx_msg_lost:                   ; @pch_can_rx_msg_lost
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
	ldr	x8, [x22]
	ldr	x8, [x8]
	add	x0, x8, #8
Lloh2:
	adrp	x8, _PCH_IF_MCONT_MSGLOST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCH_IF_MCONT_MSGLOST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_pch_can_bit_clear
Lloh5:
	adrp	x8, _PCH_CMASK_RDWR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCH_CMASK_RDWR@GOTPAGEOFF]
Lloh7:
	adrp	x9, _PCH_CMASK_CTRL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PCH_CMASK_CTRL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x22]
	ldr	x8, [x8]
	add	x1, x8, #4
	bl	_iowrite32
	ldr	x8, [x22]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	add	x1, sp, #8
	mov	x0, x21
	bl	_alloc_can_err_skb
	cbz	x0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
Lloh14:
	adrp	x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	x9, [x9]
	str	w8, [x9, #4]
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
	bl	_netif_receive_skb
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Msg Obj is overwritten.\n"

	.comm	_PCH_IF_MCONT_MSGLOST,4,2       ; @PCH_IF_MCONT_MSGLOST
	.comm	_PCH_CMASK_RDWR,4,2             ; @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_CTRL,4,2             ; @PCH_CMASK_CTRL
	.comm	_CAN_ERR_CRTL,4,2               ; @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ; @CAN_ERR_CRTL_RX_OVERFLOW
	.no_dead_strip	_pch_can_rx_msg_lost
.subsections_via_symbols
