	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvaser_usb_start_xmit
_kvaser_usb_start_xmit:                 ## @kvaser_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, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	24(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -68(%rbp)
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_can_dropped_invalid_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	jmp	LBB0_21
LBB0_2:
	movl	%ebx, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%r15), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%rbx, %r14
	movl	(%rbx), %eax
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%r15, %rbx
	movq	16(%r15), %r14
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%r14)
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rcx
	addq	$24, %r14
	cmpq	%rcx, %rax
	jne	LBB0_6
LBB0_12:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netdev_warn
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_19:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_20:
	movq	%r14, %rdi
	callq	_usb_free_urb
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_21
LBB0_3:
	incl	(%r13)
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%ecx, (%r14)
	movl	(%rbx), %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
	cmpl	%eax, %ecx
	jl	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_netif_stop_queue
LBB0_9:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	leaq	16(%r14), %rdx
	movl	(%r14), %r8d
	leaq	-68(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rax)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.13:
	movq	%rbx, 8(%r14)
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_can_put_echo_skb
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %r13d
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_usb_sndbulkpipe
	movl	-68(%rbp), %r8d
	movq	_kvaser_usb_write_bulk_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, (%rsp)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	_usb_fill_bulk_urb
	movq	%rbx, %rsi
	addq	$8, %rsi
	movq	%r12, %rdi
	callq	_usb_anchor_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %esi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_can_free_echo_skb
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r14)
	decl	(%rbx)
	movq	%r12, %rdi
	callq	_netif_wake_queue
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_usb_unanchor_urb
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	incl	(%r12)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	jne	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_netif_device_detach
	jmp	LBB0_20
LBB0_10:
	incl	(%r13)
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r14)
	decl	(%rbx)
	movq	%r13, %rdi
	callq	_netif_wake_queue
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_19
LBB0_17:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_netdev_warn
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.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	"cannot find free context\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_kvaser_usb_write_bulk_callback,4,2 ## @kvaser_usb_write_bulk_callback
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"Failed tx_urb %d\n"

	.no_dead_strip	_kvaser_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 kvaser_usb_start_xmit
_kvaser_usb_start_xmit:                 ; @kvaser_usb_start_xmit
	.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, x1
	mov	x25, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	x27, [x0, #24]
	str	wzr, [sp, #28]
Lloh0:
	adrp	x28, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x28, [x28, _NETDEV_TX_OK@GOTPAGEOFF]
	ldr	w19, [x28]
	mov	x0, x21
	mov	x1, x25
	bl	_can_dropped_invalid_skb
	cbz	x0, LBB0_2
LBB0_1:
	ldr	w19, [x28]
	b	LBB0_9
LBB0_2:
Lloh2:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_usb_alloc_urb
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	add	x23, x22, #4
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w8, [x27]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x9, #0
	ldr	x24, [x22, #16]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x24]
	cmp	w10, w8
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	add	x24, x24, #24
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_7:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_warn
Lloh6:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
LBB0_8:
	mov	x0, x20
	bl	_usb_free_urb
LBB0_9:
	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
LBB0_10:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x25
	bl	_dev_kfree_skb
	b	LBB0_1
LBB0_11:
	str	w9, [x24]
	ldr	w9, [x22]
	add	w9, w9, #1
	str	w9, [x22]
	cmp	w9, w8
	b.lt	LBB0_13
; %bb.12:
	mov	x0, x21
	bl	_netif_stop_queue
LBB0_13:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	ldr	x8, [x27, #24]
	ldr	x8, [x8]
	mov	x2, x24
	ldr	w4, [x2], #16
	add	x3, sp, #28
	mov	x0, x22
	mov	x1, x25
	blr	x8
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_17
; %bb.14:
	str	x22, [x24, #8]
	ldr	w2, [x24]
	mov	x0, x25
	mov	x1, x21
	bl	_can_put_echo_skb
	ldr	w25, [x27, #16]
	ldr	x8, [x27, #8]
	ldr	w1, [x8]
	mov	x0, x25
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldr	w4, [sp, #28]
Lloh9:
	adrp	x8, _kvaser_usb_write_bulk_callback@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kvaser_usb_write_bulk_callback@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x25
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	mov	x6, x24
	bl	_usb_fill_bulk_urb
	add	x1, x22, #8
	mov	x0, x20
	bl	_usb_anchor_urb
	ldr	w1, [x26]
	mov	x0, x20
	bl	_usb_submit_urb
	mov	x25, x0
	bl	_unlikely
	cbz	x0, LBB0_18
; %bb.15:
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w1, [x24]
	mov	x0, x21
	bl	_can_free_echo_skb
	ldr	w8, [x27]
	str	w8, [x24]
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
	mov	x0, x21
	bl	_netif_wake_queue
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_usb_unanchor_urb
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_kfree
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w25, w8
	b.ne	LBB0_19
; %bb.16:
	mov	x0, x21
	bl	_netif_device_detach
	b	LBB0_8
LBB0_17:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x25
	bl	_dev_kfree_skb
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w8, [x27]
	str	w8, [x24]
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
	mov	x0, x21
	bl	_netif_wake_queue
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	b	LBB0_8
LBB0_18:
	ldr	w19, [x28]
	b	LBB0_8
LBB0_19:
	str	x25, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_netdev_warn
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.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	"cannot find free context\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_kvaser_usb_write_bulk_callback,4,2 ; @kvaser_usb_write_bulk_callback
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"Failed tx_urb %d\n"

	.no_dead_strip	_kvaser_usb_start_xmit
.subsections_via_symbols
