	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_can_rx_register                ## -- Begin function can_rx_register
	.p2align	4, 0x90
_can_rx_register:                       ## @can_rx_register
	.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
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdi, %r13
	movq	%rsi, -56(%rbp)
	movq	%rdx, -48(%rbp)
	movq	_rcv_cache@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmem_cache_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_can_rcvlists_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	%r13, %rdi
	callq	_find_dev_rcv_lists
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r13
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdx
	callq	_find_rcv_list
	movq	-56(%rbp), %rcx
	movq	%rcx, 48(%rbx)
	movq	-48(%rbp), %rcx
	movq	%rcx, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	%r12, (%rbx)
	movq	%r15, 24(%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_hlist_add_head_rcu
	incl	(%r13)
	movq	_can_pstats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	leaq	1(%rdx), %rcx
	movq	%rcx, (%rax)
	xorl	%ebx, %ebx
	cmpq	%rdx, %rsi
	jg	LBB0_6
## %bb.4:
	movq	%rcx, 8(%rax)
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_kmem_cache_free
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	_can_rcvlists_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rcv_cache,4,2                  ## @rcv_cache
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_can_rcvlists_lock,4,2          ## @can_rcvlists_lock
	.comm	_can_pstats,16,3                ## @can_pstats
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_can_rx_register                ; -- Begin function can_rx_register
	.p2align	2
_can_rx_register:                       ; @can_rx_register
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x0
	stp	x2, x1, [sp]
Lloh0:
	adrp	x24, _rcv_cache@GOTPAGE
Lloh1:
	ldr	x24, [x24, _rcv_cache@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmem_cache_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
Lloh5:
	adrp	x0, _can_rcvlists_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _can_rcvlists_lock@GOTPAGEOFF]
	bl	_spin_lock
	mov	x0, x23
	bl	_find_dev_rcv_lists
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x23
	bl	_find_rcv_list
	mov	x1, x0
	ldp	x9, x8, [sp]
	stp	x9, x8, [x22, #40]
	stp	x20, xzr, [x22, #24]
	stp	x21, x19, [x22]
	add	x0, x22, #16
	bl	_hlist_add_head_rcu
	ldr	w8, [x23]
	add	w9, w8, #1
Lloh7:
	adrp	x8, _can_pstats@GOTPAGE
Lloh8:
	ldr	x8, [x8, _can_pstats@GOTPAGEOFF]
	str	w9, [x23]
	ldp	x10, x11, [x8]
	add	x9, x10, #1
	str	x9, [x8]
	cmp	x11, x10
	b.le	LBB0_6
; %bb.3:
	mov	w19, #0
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_8
LBB0_5:
	ldr	w0, [x24]
	mov	x1, x22
	bl	_kmem_cache_free
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_7
LBB0_6:
	mov	w19, #0
	str	x9, [x8, #8]
LBB0_7:
Lloh15:
	adrp	x0, _can_rcvlists_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _can_rcvlists_lock@GOTPAGEOFF]
	bl	_spin_unlock
LBB0_8:
	mov	x0, x19
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_rcv_cache,4,2                  ; @rcv_cache
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_can_rcvlists_lock,4,2          ; @can_rcvlists_lock
	.comm	_can_pstats,16,3                ; @can_pstats
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
