	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_rx_normal
_pch_can_rx_normal:                     ## @pch_can_rx_normal
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_pch_can_rx_msg_lost
	incl	%ebx
	decl	%r12d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	testl	%r12d, %r12d
	jle	LBB0_17
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	_PCH_CMASK_RX_TX_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movq	(%rax), %rsi
	addq	$24, %rsi
	callq	_iowrite32
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$20, %rdi
	movl	%r13d, %esi
	callq	_pch_can_rw_msg_obj
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	callq	_ioread32
	movq	_PCH_IF_MCONT_EOB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_PCH_IF_MCONT_MSGLOST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_PCH_IF_MCONT_NEWDAT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_alloc_can_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	callq	_ioread32
	movl	%eax, %r15d
	movq	_PCH_ID2_XTD@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$12, %rdi
	callq	_ioread32
	movzwl	%ax, %ecx
	movl	%r15d, %eax
	shll	$16, %eax
	andl	$536805376, %eax                ## imm = 0x1FFF0000
	orl	%ecx, %eax
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %eax
	sarl	$2, %eax
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	_PCH_ID2_DIR@GOTPCREL(%rip), %rdx
	testl	%r15d, (%rdx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	callq	_ioread32
	andl	$15, %eax
	movl	%eax, %edi
	callq	_get_can_dlc
	movq	-48(%rbp), %rcx
	movl	%eax, 4(%rcx)
	testl	%eax, %eax
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_ioread16
	movq	-48(%rbp), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx,%rbx,2)
	sarl	$8, %eax
	movl	%eax, 4(%rdx,%rbx,2)
	addq	$4, %rbx
	addl	$2, %r15d
	cmpl	%r15d, 4(%rcx)
	jg	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_receive_skb
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incl	4(%rcx)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	decl	%r12d
	movq	-48(%rbp), %rax
	movl	4(%rax), %eax
	addl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_pch_fifo_thresh
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ## @PCH_CMASK_RX_TX_GET
	.comm	_PCH_IF_MCONT_EOB,4,2           ## @PCH_IF_MCONT_EOB
	.comm	_PCH_IF_MCONT_MSGLOST,4,2       ## @PCH_IF_MCONT_MSGLOST
	.comm	_PCH_IF_MCONT_NEWDAT,4,2        ## @PCH_IF_MCONT_NEWDAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alloc_can_skb Failed\n"

	.comm	_PCH_ID2_XTD,4,2                ## @PCH_ID2_XTD
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_PCH_ID2_DIR,4,2                ## @PCH_ID2_DIR
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.no_dead_strip	_pch_can_rx_normal
.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_normal
_pch_can_rx_normal:                     ; @pch_can_rx_normal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x25, x0
	bl	_netdev_priv
	mov	x23, x0
	mov	w19, #0
	ldr	x8, [x0, #8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x28, _PCH_CMASK_RX_TX_GET@GOTPAGE
Lloh1:
	ldr	x28, [x28, _PCH_CMASK_RX_TX_GET@GOTPAGEOFF]
Lloh2:
	adrp	x20, _PCH_IF_MCONT_EOB@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PCH_IF_MCONT_EOB@GOTPAGEOFF]
Lloh4:
	adrp	x27, _PCH_IF_MCONT_MSGLOST@GOTPAGE
Lloh5:
	ldr	x27, [x27, _PCH_IF_MCONT_MSGLOST@GOTPAGEOFF]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_pch_can_rx_msg_lost
	add	w19, w19, #1
	sub	w21, w21, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	cmp	w21, #0
	b.le	LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w0, [x28]
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x1, x8, #24
	bl	_iowrite32
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #20
	mov	x1, x22
	bl	_pch_can_rw_msg_obj
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #8
	bl	_ioread32
	ldr	w8, [x20]
	tst	w8, w0
	b.ne	LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh6:
	adrp	x8, _PCH_IF_MCONT_NEWDAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCH_IF_MCONT_NEWDAT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23, #8]
	add	x1, sp, #24
	bl	_alloc_can_skb
	cbz	x0, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #16
	bl	_ioread32
	mov	x25, x0
Lloh9:
	adrp	x8, _PCH_ID2_XTD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCH_ID2_XTD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #12
	bl	_ioread32
	and	w8, w0, #0xffff
	bfi	w8, w25, #16, #13
Lloh12:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh15:
	adrp	x8, _CAN_SFF_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w25, asr #2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #24]
	str	w8, [x9]
Lloh18:
	adrp	x10, _PCH_ID2_DIR@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PCH_ID2_DIR@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w25
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
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]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #8
	bl	_ioread32
	and	w0, w0, #0xf
	bl	_get_can_dlc
	ldr	x8, [sp, #24]
	str	w0, [x8, #4]
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	x26, #0
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x0, x8, x25
	bl	_ioread16
	ldr	x8, [sp, #24]
	ldr	x9, [x8, #8]
	add	x9, x9, x26, lsl #2
	asr	w10, w0, #8
	stp	w0, w10, [x9]
	add	x26, x26, #2
	ldr	w8, [x8, #4]
	add	x25, x25, #4
	cmp	w8, w26
	b.gt	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_netif_receive_skb
	add	w19, w19, #1
	sub	w21, w21, #1
	ldp	x9, x8, [sp, #16]               ; 8-byte Folded Reload
	add	x8, x8, #4
	ldr	d0, [x9]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x9]
	mov	x0, x23
	mov	x1, x22
	bl	_pch_fifo_thresh
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_2
LBB0_16:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_netdev_err
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ; @PCH_CMASK_RX_TX_GET
	.comm	_PCH_IF_MCONT_EOB,4,2           ; @PCH_IF_MCONT_EOB
	.comm	_PCH_IF_MCONT_MSGLOST,4,2       ; @PCH_IF_MCONT_MSGLOST
	.comm	_PCH_IF_MCONT_NEWDAT,4,2        ; @PCH_IF_MCONT_NEWDAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alloc_can_skb Failed\n"

	.comm	_PCH_ID2_XTD,4,2                ; @PCH_ID2_XTD
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_PCH_ID2_DIR,4,2                ; @PCH_ID2_DIR
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.no_dead_strip	_pch_can_rx_normal
.subsections_via_symbols
