	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_8dev_write_bulk_callback
_usb_8dev_write_bulk_callback:          ## @usb_8dev_write_bulk_callback
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_BUG_ON
	movq	16(%r12), %r15
	movq	8(%r15), %r14
	movl	16(%rbx), %edi
	movl	12(%rbx), %esi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	callq	_usb_free_coherent
	movq	%r15, %rdi
	callq	_atomic_dec
	movq	%r14, %rdi
	callq	_netif_device_present
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_info
LBB0_3:
	incl	4(%r14)
	movl	8(%r12), %eax
	addl	%eax, (%r14)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_can_get_echo_skb
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_can_led_event
	movq	_MAX_TX_URBS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx URB aborted (%d)\n"

	.comm	_CAN_LED_EVENT_TX,4,2           ## @CAN_LED_EVENT_TX
	.comm	_MAX_TX_URBS,4,2                ## @MAX_TX_URBS
	.no_dead_strip	_usb_8dev_write_bulk_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_8dev_write_bulk_callback
_usb_8dev_write_bulk_callback:          ; @usb_8dev_write_bulk_callback
	.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	x20, x0
	ldr	x22, [x0, #24]
	cmp	x22, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x21, [x22, #16]
	ldr	x19, [x21, #8]
	ldp	w1, w0, [x20, #12]
	ldp	w3, w2, [x20, #4]
	bl	_usb_free_coherent
	mov	x0, x21
	bl	_atomic_dec
	mov	x0, x19
	bl	_netif_device_present
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w2, [x20]
	cbz	w2, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
LBB0_3:
	add	x8, x22, #8
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x19]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_can_get_echo_skb
Lloh2:
	adrp	x8, _CAN_LED_EVENT_TX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAN_LED_EVENT_TX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_can_led_event
Lloh5:
	adrp	x8, _MAX_TX_URBS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_TX_URBS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x19
	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
	b	_netif_wake_queue
LBB0_4:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx URB aborted (%d)\n"

	.comm	_CAN_LED_EVENT_TX,4,2           ; @CAN_LED_EVENT_TX
	.comm	_MAX_TX_URBS,4,2                ; @MAX_TX_URBS
	.no_dead_strip	_usb_8dev_write_bulk_callback
.subsections_via_symbols
