	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvaser_pciefd_handle_eflush_packet
_kvaser_pciefd_handle_eflush_packet:    ## @kvaser_pciefd_handle_eflush_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movl	4(%rax), %eax
	movq	_KVASER_PCIEFD_PACKET_CHID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	andl	$7, %eax
	cmpq	%rax, (%rdi)
	jbe	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %r14
	movq	%r14, %rdi
	callq	_completion_done
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_complete
	jmp	LBB0_4
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVASER_PCIEFD_PACKET_CHID_SHIFT,4,2 ## @KVASER_PCIEFD_PACKET_CHID_SHIFT
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_kvaser_pciefd_handle_eflush_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvaser_pciefd_handle_eflush_packet
_kvaser_pciefd_handle_eflush_packet:    ; @kvaser_pciefd_handle_eflush_packet
	.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	x8, [x1]
Lloh0:
	adrp	x9, _KVASER_PCIEFD_PACKET_CHID_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KVASER_PCIEFD_PACKET_CHID_SHIFT@GOTPAGEOFF]
	ldr	w8, [x8, #4]
Lloh2:
	ldr	w9, [x9]
	asr	w8, w8, w9
	and	w8, w8, #0x7
	ldr	x9, [x0]
	cmp	x9, x8
	b.ls	LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x19, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_completion_done
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_complete
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KVASER_PCIEFD_PACKET_CHID_SHIFT,4,2 ; @KVASER_PCIEFD_PACKET_CHID_SHIFT
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_kvaser_pciefd_handle_eflush_packet
.subsections_via_symbols
