	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ems_usb_start_xmit
_ems_usb_start_xmit:                    ## @ems_usb_start_xmit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rbx
	movq	_CPC_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movq	_CPC_MSG_HEADER_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_can_dropped_invalid_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_31
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r13
	addq	$4, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movl	(%r12), %edx
	movq	%r13, %rsi
	movq	%rbx, %rcx
	callq	_usb_alloc_coherent
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	movq	_CPC_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_CAN_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	andl	(%r14), %edi
	callq	_cpu_to_le32
	movl	%eax, 24(%r15,%r12,4)
	movl	4(%r14), %eax
	movl	%eax, 8(%r15,%r12,4)
	movl	(%r14), %ecx
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rsi
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, (%rsi)
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.6:
	testl	%ecx, %edx
	jne	LBB0_7
## %bb.8:
	movq	_CPC_CMD_TYPE_RTR_FRAME@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_err
	movq	%rbx, %rdi
	callq	_usb_free_urb
LBB0_4:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_30:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_10:
	testl	%ecx, %edx
	jne	LBB0_11
## %bb.12:
	movq	_CPC_CMD_TYPE_CAN_FRAME@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_7:
	movq	_CPC_CMD_TYPE_EXT_RTR_FRAME@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r15,%r12,4)
	movq	_CPC_CAN_MSG_MIN_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_17
LBB0_11:
	movq	_CPC_CMD_TYPE_EXT_CAN_FRAME@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r15,%r12,4)
	testl	%eax, %eax
	jle	LBB0_16
## %bb.14:
	movq	8(%r14), %rcx
	movq	16(%r15,%r12,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	movslq	4(%r14), %rax
	cmpq	%rax, %rsi
	jl	LBB0_15
LBB0_16:
	movslq	%eax, %rcx
	movq	_CPC_CAN_MSG_MIN_SIZE@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_17:
	movq	%r15, %r14
	movq	%rcx, (%r15,%r12,4)
	movq	_MAX_TX_URBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_21
## %bb.18:
	movq	24(%r13), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, (%rbx)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	incq	%rdx
	addq	$16, %rbx
	cmpq	%rdx, %rcx
	jne	LBB0_19
LBB0_21:
	movl	12(%r13), %edi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_usb_free_coherent
	movq	%rbx, %rdi
	callq	_usb_free_urb
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_netdev_warn
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rcx
LBB0_31:
	movl	(%rcx), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%r13, 8(%rbx)
	movl	%edx, (%rbx)
	movl	%eax, 4(%rbx)
	movl	12(%r13), %r15d
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_usb_sndbulkpipe
	movq	_ems_usb_write_bulk_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, (%rsp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%rdi, %r14
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_usb_fill_bulk_urb
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	leaq	16(%r13), %rsi
	movq	%r14, %rdi
	callq	_usb_anchor_urb
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_can_put_echo_skb
	movq	%r13, %rdi
	addq	$8, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_atomic_inc
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_submit_urb
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_can_free_echo_skb
	movq	%r14, %rdi
	callq	_usb_unanchor_urb
	movl	12(%r13), %edi
	movl	(%r14), %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_usb_free_coherent
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_dec
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	addl	%edx, %eax
	jne	LBB0_25
## %bb.24:
	movq	%r15, %rdi
	callq	_netif_device_detach
	jmp	LBB0_29
LBB0_26:
	movq	%r15, %rdi
	callq	_netif_trans_update
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	movq	_MAX_TX_URBS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%r15, %rdi
	jge	LBB0_28
## %bb.27:
	movq	(%r13), %rax
	movq	_CPC_TX_QUEUE_TRIGGER_LOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_29
LBB0_28:
	callq	_netif_stop_queue
	jmp	LBB0_29
LBB0_25:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_warn
	incl	(%r15)
LBB0_29:
	movq	%r14, %rdi
	callq	_usb_free_urb
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_CPC_HEADER_SIZE,4,2            ## @CPC_HEADER_SIZE
	.comm	_CPC_MSG_HEADER_LEN,4,2         ## @CPC_MSG_HEADER_LEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No memory left for USB buffer\n"

	.comm	_CAN_ERR_MASK,4,2               ## @CAN_ERR_MASK
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CPC_CMD_TYPE_EXT_RTR_FRAME,4,2 ## @CPC_CMD_TYPE_EXT_RTR_FRAME
	.comm	_CPC_CMD_TYPE_RTR_FRAME,4,2     ## @CPC_CMD_TYPE_RTR_FRAME
	.comm	_CPC_CAN_MSG_MIN_SIZE,8,3       ## @CPC_CAN_MSG_MIN_SIZE
	.comm	_CPC_CMD_TYPE_EXT_CAN_FRAME,4,2 ## @CPC_CMD_TYPE_EXT_CAN_FRAME
	.comm	_CPC_CMD_TYPE_CAN_FRAME,4,2     ## @CPC_CMD_TYPE_CAN_FRAME
	.comm	_MAX_TX_URBS,4,2                ## @MAX_TX_URBS
L_.str.1:                               ## @.str.1
	.asciz	"couldn't find free context\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_ems_usb_write_bulk_callback,4,2 ## @ems_usb_write_bulk_callback
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"failed tx_urb %d\n"

	.comm	_CPC_TX_QUEUE_TRIGGER_LOW,8,3   ## @CPC_TX_QUEUE_TRIGGER_LOW
	.no_dead_strip	_ems_usb_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ems_usb_start_xmit
_ems_usb_start_xmit:                    ; @ems_usb_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	x25, [x21]
Lloh0:
	adrp	x26, _CPC_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CPC_HEADER_SIZE@GOTPAGEOFF]
	ldrsw	x23, [x26]
Lloh2:
	adrp	x8, _CPC_MSG_HEADER_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPC_MSG_HEADER_LEN@GOTPAGEOFF]
Lloh4:
	ldrsw	x24, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_can_dropped_invalid_skb
	cbnz	x0, LBB0_7
; %bb.1:
Lloh5:
	adrp	x27, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x27, [x27, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_usb_alloc_urb
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	add	x8, x24, x23
	add	x23, x8, #4
	ldr	w0, [x22, #12]
	ldr	w2, [x27]
	mov	x1, x23
	mov	x3, x20
	bl	_usb_alloc_coherent
	cbz	x0, LBB0_5
; %bb.3:
	mov	x24, x0
	ldrsw	x8, [x26]
	add	x26, x0, x8, lsl #2
	ldr	w8, [x25]
Lloh7:
	adrp	x9, _CAN_ERR_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CAN_ERR_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [x26, #24]
	ldp	w10, w8, [x25]
	str	w8, [x26, #8]
Lloh10:
	adrp	x9, _CAN_RTR_FLAG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x9]
Lloh13:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w9, w9, w10
	tst	w11, w10
	b.eq	LBB0_9
; %bb.4:
Lloh16:
	adrp	x10, _CPC_CMD_TYPE_EXT_RTR_FRAME@GOTPAGE
Lloh17:
	ldr	x10, [x10, _CPC_CMD_TYPE_EXT_RTR_FRAME@GOTPAGEOFF]
Lloh18:
	adrp	x11, _CPC_CMD_TYPE_RTR_FRAME@GOTPAGE
Lloh19:
	ldr	x11, [x11, _CPC_CMD_TYPE_RTR_FRAME@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	str	w9, [x26, #32]
Lloh20:
	adrp	x9, _CPC_CAN_MSG_MIN_SIZE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CPC_CAN_MSG_MIN_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	b	LBB0_13
LBB0_5:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	mov	x0, x20
	bl	_usb_free_urb
LBB0_6:
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_7:
Lloh25:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
Lloh27:
	adrp	x10, _CPC_CMD_TYPE_EXT_CAN_FRAME@GOTPAGE
Lloh28:
	ldr	x10, [x10, _CPC_CMD_TYPE_EXT_CAN_FRAME@GOTPAGEOFF]
Lloh29:
	adrp	x11, _CPC_CMD_TYPE_CAN_FRAME@GOTPAGE
Lloh30:
	ldr	x11, [x11, _CPC_CMD_TYPE_CAN_FRAME@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	str	w9, [x26, #32]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x9, #0
	ldr	x10, [x25, #8]
	ldr	x11, [x26, #16]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x9, #2
	ldr	w12, [x10, x8]
	str	w12, [x11, x8]
	add	x9, x9, #1
	ldrsw	x8, [x25, #4]
	cmp	x9, x8
	b.lt	LBB0_11
LBB0_12:
Lloh31:
	adrp	x9, _CPC_CAN_MSG_MIN_SIZE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CPC_CAN_MSG_MIN_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x9, x9, w8, sxtw
LBB0_13:
	str	x9, [x26]
Lloh34:
	adrp	x28, _MAX_TX_URBS@GOTPAGE
Lloh35:
	ldr	x28, [x28, _MAX_TX_URBS@GOTPAGEOFF]
	ldr	w9, [x28]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.14:
	mov	x10, #0
	ldr	x25, [x22, #24]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x25]
	cmp	w11, w9
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x10, x10, #1
	add	x25, x25, #16
	cmp	x9, x10
	b.ne	LBB0_15
LBB0_17:
	ldr	w0, [x22, #12]
	ldr	w3, [x20]
	mov	x1, x23
	mov	x2, x24
	bl	_usb_free_coherent
	mov	x0, x20
	bl	_usb_free_urb
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
Lloh38:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh39:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_18:
	str	x22, [x25, #8]
	stp	w10, w8, [x25]
	ldr	w26, [x22, #12]
	mov	x0, x26
	mov	w1, #2
	bl	_usb_sndbulkpipe
	mov	x2, x0
Lloh40:
	adrp	x8, _ems_usb_write_bulk_callback@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ems_usb_write_bulk_callback@GOTPAGEOFF]
Lloh42:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x26
	mov	x3, x24
	mov	x4, x23
	mov	x6, x25
	bl	_usb_fill_bulk_urb
Lloh43:
	adrp	x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	add	x1, x22, #16
	mov	x0, x20
	bl	_usb_anchor_urb
	ldr	w2, [x25]
	mov	x0, x21
	mov	x1, x19
	bl	_can_put_echo_skb
	add	x26, x22, #8
	mov	x0, x26
	bl	_atomic_inc
	ldr	w1, [x27]
	mov	x0, x20
	bl	_usb_submit_urb
	mov	x27, x0
	bl	_unlikely
	cbz	x0, LBB0_21
; %bb.19:
	ldr	w1, [x25]
	mov	x0, x19
	bl	_can_free_echo_skb
	mov	x0, x20
	bl	_usb_unanchor_urb
	ldr	w0, [x22, #12]
	ldr	w3, [x20]
	mov	x1, x23
	mov	x2, x24
	bl	_usb_free_coherent
	mov	x0, x21
	bl	_dev_kfree_skb
	mov	x0, x26
	bl	_atomic_dec
Lloh46:
	adrp	x8, _ENODEV@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmn	w27, w8
	b.ne	LBB0_24
; %bb.20:
	mov	x0, x19
	bl	_netif_device_detach
	b	LBB0_25
LBB0_21:
	mov	x0, x19
	bl	_netif_trans_update
	mov	x0, x26
	bl	_atomic_read
	ldr	w8, [x28]
	cmp	w0, w8
	b.ge	LBB0_23
; %bb.22:
	ldr	x8, [x22]
Lloh49:
	adrp	x9, _CPC_TX_QUEUE_TRIGGER_LOW@GOTPAGE
Lloh50:
	ldr	x9, [x9, _CPC_TX_QUEUE_TRIGGER_LOW@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_25
LBB0_23:
	mov	x0, x19
	bl	_netif_stop_queue
	b	LBB0_25
LBB0_24:
	str	x27, [sp]
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_25:
	mov	x0, x20
	bl	_usb_free_urb
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_CPC_HEADER_SIZE,4,2            ; @CPC_HEADER_SIZE
	.comm	_CPC_MSG_HEADER_LEN,4,2         ; @CPC_MSG_HEADER_LEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No memory left for USB buffer\n"

	.comm	_CAN_ERR_MASK,4,2               ; @CAN_ERR_MASK
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CPC_CMD_TYPE_EXT_RTR_FRAME,4,2 ; @CPC_CMD_TYPE_EXT_RTR_FRAME
	.comm	_CPC_CMD_TYPE_RTR_FRAME,4,2     ; @CPC_CMD_TYPE_RTR_FRAME
	.comm	_CPC_CAN_MSG_MIN_SIZE,8,3       ; @CPC_CAN_MSG_MIN_SIZE
	.comm	_CPC_CMD_TYPE_EXT_CAN_FRAME,4,2 ; @CPC_CMD_TYPE_EXT_CAN_FRAME
	.comm	_CPC_CMD_TYPE_CAN_FRAME,4,2     ; @CPC_CMD_TYPE_CAN_FRAME
	.comm	_MAX_TX_URBS,4,2                ; @MAX_TX_URBS
l_.str.1:                               ; @.str.1
	.asciz	"couldn't find free context\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_ems_usb_write_bulk_callback,4,2 ; @ems_usb_write_bulk_callback
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"failed tx_urb %d\n"

	.comm	_CPC_TX_QUEUE_TRIGGER_LOW,8,3   ; @CPC_TX_QUEUE_TRIGGER_LOW
	.no_dead_strip	_ems_usb_start_xmit
.subsections_via_symbols
