	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_send_to_user
_bcm_send_to_user:                      ## @bcm_send_to_user
	.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	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	_CFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	imull	(%rsi), %r12d
	leal	8(%r12), %ebx
	xorl	%eax, %eax
	callq	_gfp_any
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_skb_put
	movl	%eax, %edi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_memcpy
	cmpl	$0, (%r13)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_skb_tail_pointer
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	cmpl	$1, (%r13)
	jne	LBB0_4
## %bb.3:
	movq	_BCM_CAN_DLC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, 4(%rbx)
LBB0_4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movl	4(%r15), %eax
	movl	%eax, 8(%r14)
LBB0_6:
	xorl	%edi, %edi
	callq	_BUILD_BUG_ON
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_AF_CAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sock_queue_rcv_skb
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_bcm_sk
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_kfree_skb
	incl	(%rbx)
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFSIZ,4,2                      ## @CFSIZ
	.comm	_BCM_CAN_DLC_MASK,4,2           ## @BCM_CAN_DLC_MASK
	.comm	_AF_CAN,4,2                     ## @AF_CAN
	.no_dead_strip	_bcm_send_to_user
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_send_to_user
_bcm_send_to_user:                      ; @bcm_send_to_user
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _CFSIZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CFSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w25, w9, w8
	add	w20, w25, #8
	bl	_gfp_any
	mov	x1, x0
	mov	x0, x20
	bl	_alloc_skb
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	w1, #8
	bl	_skb_put
	mov	x1, x23
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x23]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_skb_tail_pointer
	mov	x26, x0
	mov	x0, x20
	mov	x1, x25
	bl	_skb_put
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	ldr	w8, [x23]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _BCM_CAN_DLC_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCM_CAN_DLC_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x26, #4]
	and	w8, w9, w8
	str	w8, [x26, #4]
LBB0_4:
	cbz	w22, LBB0_6
; %bb.5:
	ldr	w8, [x21, #4]
	str	w8, [x20, #8]
LBB0_6:
	mov	w0, #0
	bl	_BUILD_BUG_ON
	ldr	x22, [x20]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh6:
	adrp	x8, _AF_CAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_CAN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21]
	stp	w9, w8, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_sock_queue_rcv_skb
	tbz	w0, #31, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_bcm_sk
	mov	x19, x0
	mov	x0, x20
	bl	_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CFSIZ,4,2                      ; @CFSIZ
	.comm	_BCM_CAN_DLC_MASK,4,2           ; @BCM_CAN_DLC_MASK
	.comm	_AF_CAN,4,2                     ; @AF_CAN
	.no_dead_strip	_bcm_send_to_user
.subsections_via_symbols
