	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ican3_handle_nmtsind
_ican3_handle_nmtsind:                  ## @ican3_handle_nmtsind
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movslq	(%rax), %rcx
	movslq	4(%rax), %rdx
	shlq	$8, %rdx
	addq	%rcx, %rdx
	movq	_NMTS_SLAVE_EVENT_IND@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jne	LBB0_4
## %bb.1:
	movl	8(%rax), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.2:
	leal	-130(%rax), %ecx
	cmpl	$1, %ecx
	ja	LBB0_3
## %bb.8:
	movq	%rsi, %rbx
	leaq	8(%rsi), %rdi
	movl	$-3, %esi
	callq	_le16_add_cpu
	movq	(%rbx), %r15
	leaq	12(%r15), %r12
	movl	8(%rbx), %edi
	callq	_le16_to_cpu
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memmove
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ican3_handle_cevtind           ## TAILCALL
LBB0_4:
	movq	_NMTS_SLAVE_STATE_IND@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	movslq	%eax, %rdx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NMTS_SLAVE_EVENT_IND,8,3       ## @NMTS_SLAVE_EVENT_IND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown NMTS event indication %x\n"

	.comm	_NMTS_SLAVE_STATE_IND,8,3       ## @NMTS_SLAVE_STATE_IND
L_.str.1:                               ## @.str.1
	.asciz	"unhandled NMTS indication %x\n"

	.no_dead_strip	_ican3_handle_nmtsind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ican3_handle_nmtsind
_ican3_handle_nmtsind:                  ; @ican3_handle_nmtsind
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x1]
	ldpsw	x9, x10, [x8]
	add	x2, x9, x10, lsl #8
Lloh0:
	adrp	x9, _NMTS_SLAVE_EVENT_IND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NMTS_SLAVE_EVENT_IND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x2
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x8, #8]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_5
; %bb.2:
	sub	w9, w8, #130
	cmp	w9, #1
	b.hi	LBB0_7
; %bb.3:
	mov	x20, x1
	add	x0, x1, #8
	mov	w1, #-3
	bl	_le16_add_cpu
	ldr	x21, [x20]
	add	x22, x21, #12
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ican3_handle_cevtind
LBB0_4:
Lloh3:
	adrp	x8, _NMTS_SLAVE_STATE_IND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NMTS_SLAVE_STATE_IND@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	sxtw	x2, w8
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netdev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NMTS_SLAVE_EVENT_IND,8,3       ; @NMTS_SLAVE_EVENT_IND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown NMTS event indication %x\n"

	.comm	_NMTS_SLAVE_STATE_IND,8,3       ; @NMTS_SLAVE_STATE_IND
l_.str.1:                               ; @.str.1
	.asciz	"unhandled NMTS indication %x\n"

	.no_dead_strip	_ican3_handle_nmtsind
.subsections_via_symbols
