	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvaser_usb_leaf_leaf_rx_error
_kvaser_usb_leaf_leaf_rx_error:         ## @kvaser_usb_leaf_leaf_rx_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	$0, -16(%rbp)
	movl	(%rsi), %edx
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_5
## %bb.3:
	movl	56(%rsi), %eax
	movl	%eax, -16(%rbp)
	movups	40(%rsi), %xmm0
	movaps	%xmm0, -32(%rbp)
	jmp	LBB0_7
LBB0_6:
	movl	32(%rsi), %eax
	movl	%eax, -16(%rbp)
	movq	24(%rsi), %rax
	movl	(%rax), %ecx
	movl	%ecx, -20(%rbp)
	movl	8(%rax), %ecx
	movl	%ecx, -24(%rbp)
	movl	12(%rax), %ecx
	movl	%ecx, -28(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -32(%rbp)
	jmp	LBB0_7
LBB0_4:
	movups	8(%rsi), %xmm0
	movups	%xmm0, -28(%rbp)
LBB0_7:
	leaq	-32(%rbp), %rsi
	callq	_kvaser_usb_leaf_rx_error
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_5:
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$32, %rsp
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid cmd id (%d)\n"

	.no_dead_strip	_kvaser_usb_leaf_leaf_rx_error
.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_leaf_rx_error
_kvaser_usb_leaf_leaf_rx_error:         ; @kvaser_usb_leaf_leaf_rx_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stp	xzr, xzr, [sp]
	str	wzr, [sp, #16]
	ldr	w2, [x1]
	cmp	w2, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x1, #56]
	str	w8, [sp, #16]
	ldur	q0, [x1, #40]
	str	q0, [sp]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x1, #32]
	str	w8, [sp, #16]
	ldr	x8, [x1, #24]
	ldr	w9, [x8]
	str	w9, [sp, #12]
	ldr	d0, [x8, #8]
	rev64.2s	v0, v0
	stur	d0, [sp, #4]
	ldr	w8, [x8, #4]
	str	w8, [sp]
	b	LBB0_6
LBB0_5:
	ldur	q0, [x1, #8]
	stur	q0, [sp, #4]
LBB0_6:
	mov	x1, sp
	bl	_kvaser_usb_leaf_rx_error
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dev_err
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid cmd id (%d)\n"

	.no_dead_strip	_kvaser_usb_leaf_leaf_rx_error
.subsections_via_symbols
