	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcan_usb_pro_restart_async
_pcan_usb_pro_restart_async:            ## @pcan_usb_pro_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
	subq	$24, %rsp
	.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, %r13
	movq	_PCAN_USB_MAX_CMD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_pcan_msg_init_empty
	movq	_PCAN_USBPRO_SETBUSACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r13), %edx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_pcan_msg_add_rec
	movl	(%r13), %ebx
	movq	_PCAN_USBPRO_EP_CMDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_usb_sndbulkpipe
	movq	_PCAN_USB_MAX_CMD_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_pcan_usb_pro_restart_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r13, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_usb_fill_bulk_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_submit_urb
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAN_USB_MAX_CMD_LEN,4,2       ## @PCAN_USB_MAX_CMD_LEN
	.comm	_PCAN_USBPRO_SETBUSACT,4,2      ## @PCAN_USBPRO_SETBUSACT
	.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_pro_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_pro_restart_async
_pcan_usb_pro_restart_async:            ; @pcan_usb_pro_restart_async
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _PCAN_USB_MAX_CMD_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCAN_USB_MAX_CMD_LEN@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x0, sp, #8
	mov	x1, x19
	bl	_pcan_msg_init_empty
Lloh2:
	adrp	x8, _PCAN_USBPRO_SETBUSACT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCAN_USBPRO_SETBUSACT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	add	x0, sp, #8
	mov	w3, #1
	bl	_pcan_msg_add_rec
	ldr	w22, [x21]
Lloh5:
	adrp	x8, _PCAN_USBPRO_EP_CMDOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCAN_USBPRO_EP_CMDOUT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldr	w4, [x23]
Lloh8:
	adrp	x8, _pcan_usb_pro_restart_complete@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pcan_usb_pro_restart_complete@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	mov	x6, x21
	bl	_usb_fill_bulk_urb
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_usb_submit_urb
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAN_USB_MAX_CMD_LEN,4,2       ; @PCAN_USB_MAX_CMD_LEN
	.comm	_PCAN_USBPRO_SETBUSACT,4,2      ; @PCAN_USBPRO_SETBUSACT
	.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_pro_restart_async
.subsections_via_symbols
