	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_can_handle_lost_msg_obj
_c_can_handle_lost_msg_obj:             ## @c_can_handle_lost_msg_obj
	.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
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r13
	movq	_IF_MCONT_MSGLST@GOTPCREL(%rip), %rax
	movq	_IF_MCONT_INTPND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movq	_IF_MCONT_NEWDAT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	notl	%r14d
	andl	%r12d, %r14d
	movq	(%r13), %r12
	movq	_MSGCTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_C_CAN_IFACE
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	*%r12
	movq	_IF_COMM_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_c_can_object_put
	incl	4(%rbx)
	incl	(%rbx)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_alloc_can_err_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx
	orl	%eax, 8(%rcx)
	movq	_CAN_ERR_CRTL_RX_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rcx), %rcx
	movl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	callq	_netif_receive_skb
	movl	$1, %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IF_MCONT_MSGLST,4,2            ## @IF_MCONT_MSGLST
	.comm	_IF_MCONT_INTPND,4,2            ## @IF_MCONT_INTPND
	.comm	_IF_MCONT_NEWDAT,4,2            ## @IF_MCONT_NEWDAT
	.comm	_MSGCTRL_REG,4,2                ## @MSGCTRL_REG
	.comm	_IF_COMM_CONTROL,4,2            ## @IF_COMM_CONTROL
	.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	_c_can_handle_lost_msg_obj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_can_handle_lost_msg_obj
_c_can_handle_lost_msg_obj:             ; @c_can_handle_lost_msg_obj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x8, _IF_MCONT_MSGLST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IF_MCONT_MSGLST@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IF_MCONT_INTPND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IF_MCONT_INTPND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IF_MCONT_NEWDAT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IF_MCONT_NEWDAT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w19, w19, w8
	ldr	x24, [x0]
Lloh9:
	adrp	x8, _MSGCTRL_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSGCTRL_REG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_C_CAN_IFACE
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	blr	x24
Lloh12:
	adrp	x8, _IF_COMM_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IF_COMM_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_c_can_object_put
	ldr	d0, [x22]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x22]
	add	x1, sp, #8
	mov	x0, x22
	bl	_alloc_can_err_skb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
Lloh18:
	adrp	x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	x9, [x9]
	str	w8, [x9, #4]
	mov	x0, x19
	bl	_netif_receive_skb
	mov	w0, #1
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IF_MCONT_MSGLST,4,2            ; @IF_MCONT_MSGLST
	.comm	_IF_MCONT_INTPND,4,2            ; @IF_MCONT_INTPND
	.comm	_IF_MCONT_NEWDAT,4,2            ; @IF_MCONT_NEWDAT
	.comm	_MSGCTRL_REG,4,2                ; @MSGCTRL_REG
	.comm	_IF_COMM_CONTROL,4,2            ; @IF_COMM_CONTROL
	.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	_c_can_handle_lost_msg_obj
.subsections_via_symbols
