	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_can_read_msg_object
_c_can_read_msg_object:                 ## @c_can_read_msg_object
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r12
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_alloc_can_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	andl	$15, %ebx
	movl	%ebx, %edi
	callq	_get_can_dlc
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	(%r12), %rbx
	movq	_ARB1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_C_CAN_IFACE
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	_IF_ARB_MSGXTD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	jmp	LBB0_5
LBB0_1:
	incl	8(%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_4:
	movl	%eax, %ecx
	sarl	$18, %ecx
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
LBB0_5:
	movq	-48(%rbp), %rdx
	movl	%ecx, 4(%rdx)
	movq	_IF_ARB_TRANSMIT@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_7
## %bb.6:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rdx)
	movl	(%rdx), %eax
LBB0_14:
	incl	4(%r15)
	addl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_netif_receive_skb
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_DATA1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_C_CAN_IFACE
	movl	%eax, %r13d
	movq	8(%r12), %rcx
	movq	_BOSCH_D_CAN@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.11:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	*(%r12)
	movq	-48(%rbp), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx,%rbx,4)
	movl	%eax, %esi
	sarl	$8, %esi
	movl	%esi, 4(%rdx,%rbx,4)
	movl	%eax, %esi
	sarl	$16, %esi
	movl	%esi, 8(%rdx,%rbx,4)
	sarl	$24, %eax
	movl	%eax, 12(%rdx,%rbx,4)
	addq	$4, %rbx
	addl	$2, %r13d
	movl	(%rcx), %eax
	cmpl	%ebx, %eax
	jg	LBB0_13
	jmp	LBB0_14
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	*16(%r12)
	movq	-48(%rbp), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx,%rbx,4)
	sarl	$8, %eax
	movl	%eax, 4(%rdx,%rbx,4)
	addq	$2, %rbx
	incl	%r13d
	movl	(%rcx), %eax
	cmpl	%ebx, %eax
	jg	LBB0_10
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ARB1_REG,4,2                   ## @ARB1_REG
	.comm	_IF_ARB_MSGXTD,4,2              ## @IF_ARB_MSGXTD
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_IF_ARB_TRANSMIT,4,2            ## @IF_ARB_TRANSMIT
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_DATA1_REG,4,2                  ## @DATA1_REG
	.comm	_BOSCH_D_CAN,8,3                ## @BOSCH_D_CAN
	.no_dead_strip	_c_can_read_msg_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function c_can_read_msg_object
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_c_can_read_msg_object:                 ; @c_can_read_msg_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_alloc_can_skb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	and	w0, w23, #0xf
	bl	_get_can_dlc
	ldr	x8, [sp, #8]
	str	w0, [x8]
	ldr	x23, [x21]
Lloh0:
	adrp	x8, _ARB1_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARB1_REG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_C_CAN_IFACE
	mov	x1, x0
	mov	x0, x21
	blr	x23
Lloh3:
	adrp	x8, _IF_ARB_MSGXTD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IF_ARB_MSGXTD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _CAN_EFF_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_5
LBB0_3:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
Lloh15:
	adrp	x8, _CAN_SFF_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w0, asr #18
LBB0_5:
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
Lloh18:
	adrp	x10, _IF_ARB_TRANSMIT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IF_ARB_TRANSMIT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w0
	b.eq	LBB0_9
; %bb.6:
Lloh21:
	adrp	x10, _CAN_RTR_FLAG@GOTPAGE
Lloh22:
	ldr	x10, [x10, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x9, #4]
	ldr	w8, [x9]
LBB0_7:
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x20
	bl	_netif_receive_skb
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
Lloh24:
	adrp	x8, _DATA1_REG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DATA1_REG@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_C_CAN_IFACE
	mov	x22, x0
	ldr	x9, [x21, #8]
Lloh27:
	adrp	x8, _BOSCH_D_CAN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BOSCH_D_CAN@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x8]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.10:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.11:
	mov	x23, #0
	mov	x24, #0
Lloh30:
	adrp	x8, lCPI0_0@PAGE
Lloh31:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	mov	w22, w22
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w22, w23
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	add	x10, x9, x24, lsl #2
	str	w0, [x10]
	dup.2s	v0, w0
	sshl.2s	v0, v0, v8
	add	x9, x9, x23, lsl #3
	stur	d0, [x9, #4]
	asr	w9, w0, #24
	str	w9, [x10, #12]
	add	x24, x24, #4
	ldr	w8, [x8]
	add	x23, x23, #2
	cmp	w8, w24
	b.gt	LBB0_12
	b	LBB0_7
LBB0_13:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.14:
	mov	x23, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	add	x9, x9, x23, lsl #2
	asr	w10, w0, #8
	stp	w0, w10, [x9]
	add	x23, x23, #2
	add	w22, w22, #1
	ldr	w8, [x8]
	cmp	w8, w23
	b.gt	LBB0_15
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdr	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ARB1_REG,4,2                   ; @ARB1_REG
	.comm	_IF_ARB_MSGXTD,4,2              ; @IF_ARB_MSGXTD
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_IF_ARB_TRANSMIT,4,2            ; @IF_ARB_TRANSMIT
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_DATA1_REG,4,2                  ; @DATA1_REG
	.comm	_BOSCH_D_CAN,8,3                ; @BOSCH_D_CAN
	.no_dead_strip	_c_can_read_msg_object
.subsections_via_symbols
