	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vcan_tx
_vcan_tx:                               ## @vcan_tx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_can_dropped_invalid_skb
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	incl	12(%r14)
	movl	(%r15), %eax
	addl	%eax, 8(%r14)
	movq	(%rbx), %rcx
	movq	_PACKET_LOOPBACK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_echo@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.5:
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	callq	_can_create_echo_skb
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_vcan_rx
	jmp	LBB0_8
LBB0_2:
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.3:
	incl	4(%r14)
	addl	%eax, (%r14)
LBB0_4:
	movq	%rbx, %rdi
	callq	_consume_skb
LBB0_8:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_PACKET_LOOPBACK,8,3            ## @PACKET_LOOPBACK
	.comm	_echo,4,2                       ## @echo
	.no_dead_strip	_vcan_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcan_tx
_vcan_tx:                               ; @vcan_tx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x1
	mov	x1, x20
	bl	_can_dropped_invalid_skb
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	d1, [x19, #8]
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x21]
	add.2s	v1, v1, v0
	str	d1, [x19, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PACKET_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACKET_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _echo@GOTPAGE
Lloh4:
	ldr	x10, [x10, _echo@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cbz	w10, LBB0_5
; %bb.2:
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_can_create_echo_skb
	cbz	x0, LBB0_8
; %bb.4:
	mov	x1, x19
	bl	_vcan_rx
	b	LBB0_8
LBB0_5:
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	d1, [x19]
	add.2s	v0, v1, v0
	str	d0, [x19]
LBB0_7:
	mov	x0, x20
	bl	_consume_skb
LBB0_8:
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_PACKET_LOOPBACK,8,3            ; @PACKET_LOOPBACK
	.comm	_echo,4,2                       ; @echo
	.no_dead_strip	_vcan_tx
.subsections_via_symbols
