	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvaser_usb_leaf_handle_command
_kvaser_usb_leaf_handle_command:        ## @kvaser_usb_leaf_handle_command
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %edx
	leal	-128(%rdx), %eax
	cmpl	$9, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	popq	%rbp
	jmp	_kvaser_usb_leaf_rx_can_msg     ## TAILCALL
LBB0_3:
	movl	8(%rdi), %eax
	movq	_KVASER_LEAF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.4:
	popq	%rbp
	jmp	_kvaser_usb_leaf_leaf_rx_error  ## TAILCALL
LBB0_5:
	movl	8(%rdi), %eax
	movq	_KVASER_USBCAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
	jmp	LBB0_14
LBB0_6:
	popq	%rbp
	jmp	_kvaser_usb_leaf_tx_acknowledge ## TAILCALL
LBB0_7:
	popq	%rbp
	jmp	_kvaser_usb_leaf_stop_chip_reply ## TAILCALL
LBB0_8:
	popq	%rbp
	jmp	_kvaser_usb_leaf_start_chip_reply ## TAILCALL
LBB0_9:
	movl	8(%rdi), %eax
	movq	_KVASER_LEAF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_10:
	popq	%rbp
	retq
LBB0_11:
	popq	%rbp
	jmp	_kvaser_usb_leaf_usbcan_rx_error ## TAILCALL
LBB0_12:
	movl	8(%rdi), %eax
	movq	_KVASER_LEAF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
LBB0_14:
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_KVASER_LEAF,4,2                ## @KVASER_LEAF
	.comm	_KVASER_USBCAN,4,2              ## @KVASER_USBCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled command (%d)\n"

	.no_dead_strip	_kvaser_usb_leaf_handle_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvaser_usb_leaf_handle_command
_kvaser_usb_leaf_handle_command:        ; @kvaser_usb_leaf_handle_command
	.cfi_startproc
; %bb.0:
	ldr	w2, [x1]
	sub	w8, w2, #128
	cmp	w8, #9
	b.hi	LBB0_14
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	b	_kvaser_usb_leaf_rx_can_msg
LBB0_3:
	ldr	w8, [x0, #8]
Lloh2:
	adrp	x9, _KVASER_LEAF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KVASER_LEAF@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.4:
	b	_kvaser_usb_leaf_leaf_rx_error
LBB0_5:
	ldr	w8, [x0, #8]
Lloh5:
	adrp	x9, _KVASER_USBCAN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KVASER_USBCAN@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	b	_kvaser_usb_leaf_tx_acknowledge
LBB0_7:
	b	_kvaser_usb_leaf_stop_chip_reply
LBB0_8:
	b	_kvaser_usb_leaf_start_chip_reply
LBB0_9:
	ldr	w8, [x0, #8]
Lloh7:
	adrp	x9, _KVASER_LEAF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _KVASER_LEAF@GOTPAGEOFF]
LBB0_10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.11:
	ret
LBB0_12:
	b	_kvaser_usb_leaf_usbcan_rx_error
LBB0_13:
	ldr	w8, [x0, #8]
Lloh9:
	adrp	x9, _KVASER_LEAF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KVASER_LEAF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
LBB0_14:
	ldr	x0, [x0]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_KVASER_LEAF,4,2                ; @KVASER_LEAF
	.comm	_KVASER_USBCAN,4,2              ; @KVASER_USBCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled command (%d)\n"

	.no_dead_strip	_kvaser_usb_leaf_handle_command
.subsections_via_symbols
