	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvaser_usb_hydra_error_event
_kvaser_usb_hydra_error_event:          ## @kvaser_usb_hydra_error_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rsi), %edx
	cmpl	$129, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_4
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kvaser_usb_hydra_error_event_parameter ## TAILCALL
LBB0_3:
	movq	(%rdi), %rbx
	movl	4(%rsi), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_4:
	movq	(%rdi), %rdi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received CAN error event for cmd_no (%u)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unhandled error event (%d)\n"

	.no_dead_strip	_kvaser_usb_hydra_error_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvaser_usb_hydra_error_event
_kvaser_usb_hydra_error_event:          ; @kvaser_usb_hydra_error_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w2, [x1]
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kvaser_usb_hydra_error_event_parameter
LBB0_3:
	ldr	x19, [x0]
	ldr	w0, [x1, #4]
	bl	_le16_to_cpu
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_4:
	ldr	x0, [x0]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received CAN error event for cmd_no (%u)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unhandled error event (%d)\n"

	.no_dead_strip	_kvaser_usb_hydra_error_event
.subsections_via_symbols
