	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcan_usb_fd_restart_async
_pcan_usb_fd_restart_async:             ## @pcan_usb_fd_restart_async
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rsi
	callq	_pcan_usb_fd_build_restart_cmd
	movslq	%eax, %r13
	leaq	(%r15,%r13,4), %rdi
	movl	$255, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r12), %ebx
	movq	_PCAN_USBPRO_EP_CMDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_usb_sndbulkpipe
	leaq	16(,%r13,4), %r8
	shrq	$2, %r8
	movq	_pcan_usb_pro_restart_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r12, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_usb_fill_bulk_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_submit_urb                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAN_USBPRO_EP_CMDOUT,4,2      ## @PCAN_USBPRO_EP_CMDOUT
	.comm	_pcan_usb_pro_restart_complete,4,2 ## @pcan_usb_pro_restart_complete
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_pcan_usb_fd_restart_async
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcan_usb_fd_restart_async
_pcan_usb_fd_restart_async:             ; @pcan_usb_fd_restart_async
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x1, x2
	bl	_pcan_usb_fd_build_restart_cmd
                                        ; kill: def $w0 killed $w0 def $x0
	sbfiz	x23, x0, #2, #32
	add	x0, x19, x23
	mov	w1, #255
	mov	w2, #4
	bl	_memset
	ldr	w22, [x21]
Lloh0:
	adrp	x8, _PCAN_USBPRO_EP_CMDOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAN_USBPRO_EP_CMDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_usb_sndbulkpipe
	mov	x2, x0
	add	x8, x23, #16
	lsr	x4, x8, #2
Lloh3:
	adrp	x8, _pcan_usb_pro_restart_complete@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pcan_usb_pro_restart_complete@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	x6, x21
	bl	_usb_fill_bulk_urb
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_usb_submit_urb
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAN_USBPRO_EP_CMDOUT,4,2      ; @PCAN_USBPRO_EP_CMDOUT
	.comm	_pcan_usb_pro_restart_complete,4,2 ; @pcan_usb_pro_restart_complete
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_pcan_usb_fd_restart_async
.subsections_via_symbols
