	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_event                      ## -- Begin function smt_event
	.p2align	4, 0x90
_smt_event:                             ## @smt_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	decq	%rax
	movq	%rax, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	_EVENT_ECM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EC_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_queue_event
LBB0_3:
	movq	_SM_FAST@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.40:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	callq	_smt_timer_poll
	movq	%r15, %rdi
	callq	_smt_start_watchdog
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_smt_srf_event
	xorl	%eax, %eax
	callq	_smt_get_time
	movl	%eax, %r14d
	subl	8(%r15), %eax
	movq	_TICKS_PER_SECOND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$3, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_20
## %bb.5:
	movq	%r15, %rdi
	callq	_sm_lem_evaluate
	movl	%r14d, 8(%r15)
	movq	%r15, %rdi
	callq	_mac_update_counter
	movq	56(%r15), %rbx
	movl	(%rbx), %esi
	subl	4(%rbx), %esi
	movl	8(%rbx), %edi
	addl	%esi, %edi
	subl	12(%rbx), %edi
	addl	16(%rbx), %esi
	subl	20(%rbx), %esi
	callq	_div_ratio
	movq	%rax, 24(%rbx)
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.6:
	movl	8(%rbx), %esi
	movl	$1, %ecx
	cmpl	12(%rbx), %esi
	jne	LBB0_8
LBB0_7:
	xorl	%ecx, %ecx
	cmpq	%rax, %rdx
	setl	%cl
LBB0_8:
	cmpl	%ecx, 40(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_SMT_COND_MAC_FRAME_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INDEX_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_smt_srf_event
LBB0_10:
	movl	44(%rbx), %edi
	subl	48(%rbx), %edi
	movl	52(%rbx), %esi
	addl	%edi, %esi
	subl	56(%rbx), %esi
	callq	_div_ratio
	movq	%rax, 64(%rbx)
	movq	72(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_12
## %bb.11:
	movl	44(%rbx), %esi
	movl	$1, %ecx
	cmpl	48(%rbx), %esi
	jne	LBB0_13
LBB0_12:
	xorl	%ecx, %ecx
	cmpq	%rax, %rdx
	setl	%cl
LBB0_13:
	cmpl	80(%rbx), %ecx
	je	LBB0_15
## %bb.14:
	movq	_SMT_COND_MAC_NOT_COPIED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INDEX_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_smt_srf_event
LBB0_15:
	movl	16(%rbx), %eax
	movl	%eax, 20(%rbx)
	movl	52(%rbx), %eax
	movl	%eax, 56(%rbx)
	movl	(%rbx), %eax
	movl	8(%rbx), %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, 4(%rbx)
	movl	44(%rbx), %eax
	movl	%eax, 48(%rbx)
	movq	_NUMPHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %r12
	movq	(%r12,%rbx), %rcx
	cmpl	$0, 8(%rcx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%rcx), %eax
	subl	4(%rcx), %eax
	xorl	%ecx, %ecx
	cmpl	$6, %eax
	setge	%cl
	movq	_SMT_COND_PORT_EB_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12,%rbx), %edx
	movq	_INDEX_PORT@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movq	%r15, %rdi
	callq	_smt_srf_event
	movq	(%r12,%rbx), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%rax)
	movq	_NUMPHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_20:
	movl	%r14d, %eax
	subl	12(%r15), %eax
	movq	_TICKS_PER_SECOND@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	imull	48(%r15), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_24
## %bb.21:
	movq	40(%r15), %rax
	movq	_SMT_TID_NIF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_23
## %bb.22:
	movq	%r15, %rdi
	callq	_smt_get_tid
	movq	40(%r15), %rcx
	movq	(%rbx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rbx), %rax
	movq	(%rcx,%rax,8), %rcx
LBB0_23:
	movq	_FC_SMT_NSA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SMT_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_fddi_broadcast@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	xorl	%r9d, %r9d
	callq	_smt_send_nif
	movl	%r14d, 12(%r15)
LBB0_24:
	movl	16(%r15), %eax
	testl	%eax, %eax
	je	LBB0_29
## %bb.25:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	imull	$228, (%r13), %eax
	cmpl	%eax, %ecx
	jle	LBB0_29
## %bb.26:
	leaq	L_.str(%rip), %rdi
	callq	_DB_SMT
	movl	$0, 16(%r15)
	movq	56(%r15), %rax
	movq	_MAC0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	shlq	$7, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$112, %rdi
	movq	_SMT_Unknown@GOTPCREL(%rip), %r12
	movq	%r12, %rsi
	callq	_is_equal
	movq	56(%r15), %rcx
	movq	(%rbx), %rdx
	testl	%eax, %eax
	jne	LBB0_28
## %bb.27:
	movq	%rdx, %rax
	shlq	$7, %rax
	movq	112(%rcx,%rax), %rsi
	movq	%rsi, 120(%rcx,%rax)
LBB0_28:
	movq	(%r12), %rax
	shlq	$7, %rdx
	movq	%rax, 112(%rcx,%rdx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rcx,%rdx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_update_dac
	movq	_SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INDEX_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_smt_srf_event
LBB0_29:
	movl	20(%r15), %eax
	testl	%eax, %eax
	je	LBB0_34
## %bb.30:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	imull	$228, (%r13), %eax
	cmpl	%eax, %ecx
	jle	LBB0_34
## %bb.31:
	leaq	L_.str.1(%rip), %rdi
	callq	_DB_SMT
	movl	$0, 20(%r15)
	movq	56(%r15), %rax
	movq	_MAC0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	shlq	$7, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$88, %rdi
	movq	_SMT_Unknown@GOTPCREL(%rip), %r12
	movq	%r12, %rsi
	callq	_is_equal
	movq	56(%r15), %rcx
	movq	(%rbx), %rdx
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	movq	%rdx, %rax
	shlq	$7, %rax
	movq	88(%rcx,%rax), %rsi
	movq	%rsi, 96(%rcx,%rax)
LBB0_33:
	movq	(%r12), %rax
	shlq	$7, %rdx
	movq	%rax, 88(%rcx,%rdx)
	movq	_SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INDEX_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_smt_srf_event
LBB0_34:
	movq	_MAC0@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_NUMMACS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%ecx, %eax
	jle	LBB0_39
## %bb.35:
	movslq	%ecx, %rbx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_39
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rcx
	movl	%r14d, %edx
	subl	(%rcx,%rbx,4), %edx
	movl	(%r13), %ecx
	addl	%ecx, %ecx
	cmpl	%ecx, %edx
	jle	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_smt_emulate_token_ct
	movl	(%r12), %eax
	jmp	LBB0_38
LBB0_39:
	leaq	32(%r15), %rbx
	movq	_EVENT_SMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SM_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EV_TOKEN
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1000000, %edx                  ## imm = 0xF4240
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smt_timer_start                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_ECM,4,2                  ## @EVENT_ECM
	.comm	_EC_CONNECT,4,2                 ## @EC_CONNECT
	.comm	_SM_FAST,4,2                    ## @SM_FAST
	.comm	_TICKS_PER_SECOND,4,2           ## @TICKS_PER_SECOND
	.comm	_SMT_COND_MAC_FRAME_ERROR,4,2   ## @SMT_COND_MAC_FRAME_ERROR
	.comm	_INDEX_MAC,4,2                  ## @INDEX_MAC
	.comm	_SMT_COND_MAC_NOT_COPIED,4,2    ## @SMT_COND_MAC_NOT_COPIED
	.comm	_NUMPHYS,4,2                    ## @NUMPHYS
	.comm	_SMT_COND_PORT_EB_ERROR,4,2     ## @SMT_COND_PORT_EB_ERROR
	.comm	_INDEX_PORT,8,3                 ## @INDEX_PORT
	.comm	_SMT_TID_NIF,8,3                ## @SMT_TID_NIF
	.comm	_fddi_broadcast,4,2             ## @fddi_broadcast
	.comm	_FC_SMT_NSA,4,2                 ## @FC_SMT_NSA
	.comm	_SMT_REQUEST,4,2                ## @SMT_REQUEST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMT : UNA expired"

	.comm	_MAC0,8,3                       ## @MAC0
	.comm	_SMT_Unknown,8,3                ## @SMT_Unknown
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SMT_EVENT_MAC_NEIGHBOR_CHANGE,4,2 ## @SMT_EVENT_MAC_NEIGHBOR_CHANGE
L_.str.1:                               ## @.str.1
	.asciz	"SMT : DNA expired"

	.comm	_NUMMACS,4,2                    ## @NUMMACS
	.comm	_EVENT_SMT,4,2                  ## @EVENT_SMT
	.comm	_SM_TIMER,4,2                   ## @SM_TIMER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_event                      ; -- Begin function smt_event
	.p2align	2
_smt_event:                             ; @smt_event
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	subs	x8, x8, #1
	str	x8, [x19]
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EVENT_ECM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVENT_ECM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _EC_CONNECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EC_CONNECT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_queue_event
LBB0_3:
Lloh6:
	adrp	x8, _SM_FAST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SM_FAST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_smt_timer_poll
	mov	x0, x19
	bl	_smt_start_watchdog
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_smt_srf_event
	bl	_smt_get_time
	mov	x20, x0
	ldr	w8, [x19, #8]
	sub	w8, w0, w8
Lloh9:
	adrp	x22, _TICKS_PER_SECOND@GOTPAGE
Lloh10:
	ldr	x22, [x22, _TICKS_PER_SECOND@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9, lsl #3
	b.lt	LBB0_23
; %bb.6:
	mov	x0, x19
	bl	_sm_lem_evaluate
	str	w20, [x19, #8]
	mov	x0, x19
	bl	_mac_update_counter
	ldr	x21, [x19, #56]
	ldp	w8, w9, [x21]
	ldp	w10, w11, [x21, #8]
	sub	w8, w8, w9
	add	w9, w8, w10
	sub	w0, w9, w11
	ldp	w9, w10, [x21, #16]
	add	w8, w9, w8
	sub	w1, w8, w10
	bl	_div_ratio
	str	x0, [x21, #24]
	ldr	x8, [x21, #32]
	cbnz	x8, LBB0_8
; %bb.7:
	ldp	w9, w10, [x21, #8]
	cmp	w9, w10
	b.ne	LBB0_9
LBB0_8:
	cmp	x8, x0
	cset	w3, lt
	b	LBB0_10
LBB0_9:
	mov	w3, #1
LBB0_10:
	ldr	w8, [x21, #40]
Lloh11:
	adrp	x23, _INDEX_MAC@GOTPAGE
Lloh12:
	ldr	x23, [x23, _INDEX_MAC@GOTPAGEOFF]
	cmp	w8, w3
	b.eq	LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _SMT_COND_MAC_FRAME_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SMT_COND_MAC_FRAME_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_smt_srf_event
LBB0_12:
	ldp	w8, w9, [x21, #44]
	ldp	w10, w11, [x21, #52]
	sub	w0, w8, w9
	add	w8, w0, w10
	sub	w1, w8, w11
	bl	_div_ratio
	str	x0, [x21, #64]
	ldr	x8, [x21, #72]
	cbnz	x8, LBB0_14
; %bb.13:
	ldp	w9, w10, [x21, #44]
	cmp	w9, w10
	b.ne	LBB0_15
LBB0_14:
	cmp	x8, x0
	cset	w3, lt
	b	LBB0_16
LBB0_15:
	mov	w3, #1
LBB0_16:
	ldr	w8, [x21, #80]
	cmp	w3, w8
	b.eq	LBB0_18
; %bb.17:
Lloh16:
	adrp	x8, _SMT_COND_MAC_NOT_COPIED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SMT_COND_MAC_NOT_COPIED@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_smt_srf_event
LBB0_18:
	ldr	w8, [x21, #16]
	str	w8, [x21, #20]
	ldr	w8, [x21, #52]
	str	w8, [x21, #56]
	ldr	w8, [x21, #8]
	str	w8, [x21, #12]
	ldr	w8, [x21]
	str	w8, [x21, #4]
	ldr	w8, [x21, #44]
	str	w8, [x21, #48]
Lloh19:
	adrp	x21, _NUMPHYS@GOTPAGE
Lloh20:
	ldr	x21, [x21, _NUMPHYS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.19:
	mov	x23, #0
	mov	x24, #0
Lloh21:
	adrp	x25, _SMT_COND_PORT_EB_ERROR@GOTPAGE
Lloh22:
	ldr	x25, [x25, _SMT_COND_PORT_EB_ERROR@GOTPAGEOFF]
Lloh23:
	adrp	x26, _INDEX_PORT@GOTPAGE
Lloh24:
	ldr	x26, [x26, _INDEX_PORT@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x24, x24, #1
	add	x23, x23, #16
	cmp	x24, w8, sxtw
	b.ge	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #64]
	ldr	x10, [x9, x23]
	ldr	w11, [x10, #8]
	cbz	w11, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldp	w8, w10, [x10]
	sub	w8, w8, w10
	cmp	w8, #5
	cset	w3, gt
	ldr	w1, [x25]
	ldr	w8, [x26]
	add	x27, x9, x23
	ldr	w9, [x27, #8]
	add	w2, w9, w8
	mov	x0, x19
	bl	_smt_srf_event
	ldr	x8, [x27]
	ldr	w9, [x8]
	str	w9, [x8, #4]
	ldr	w8, [x21]
	b	LBB0_20
LBB0_23:
	ldr	w8, [x19, #12]
	ldr	w9, [x19, #48]
	ldr	w10, [x22]
	mul	w9, w10, w9
	sub	w8, w20, w8
	cmp	w8, w9
	b.lt	LBB0_27
; %bb.24:
	ldr	x8, [x19, #40]
Lloh25:
	adrp	x21, _SMT_TID_NIF@GOTPAGE
Lloh26:
	ldr	x21, [x21, _SMT_TID_NIF@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x3, [x8, x9, lsl #3]
	cbnz	x3, LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_smt_get_tid
	ldr	x8, [x19, #40]
	ldr	x9, [x21]
	str	x0, [x8, x9, lsl #3]
	ldr	x9, [x21]
	ldr	x3, [x8, x9, lsl #3]
LBB0_26:
Lloh27:
	adrp	x8, _FC_SMT_NSA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FC_SMT_NSA@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _SMT_REQUEST@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SMT_REQUEST@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
Lloh33:
	adrp	x1, _fddi_broadcast@GOTPAGE
Lloh34:
	ldr	x1, [x1, _fddi_broadcast@GOTPAGEOFF]
	mov	x0, x19
	mov	w5, #0
	bl	_smt_send_nif
	str	w20, [x19, #12]
LBB0_27:
	ldr	w8, [x19, #16]
Lloh35:
	adrp	x23, _MAC0@GOTPAGE
Lloh36:
	ldr	x23, [x23, _MAC0@GOTPAGEOFF]
	cbz	w8, LBB0_32
; %bb.28:
	ldr	w9, [x22]
	mov	w10, #228
	mul	w9, w9, w10
	sub	w8, w20, w8
	cmp	w8, w9
	b.le	LBB0_32
; %bb.29:
Lloh37:
	adrp	x0, l_.str@PAGE
Lloh38:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DB_SMT
	str	wzr, [x19, #16]
	ldr	x8, [x19, #56]
	ldr	x9, [x23]
	add	x8, x8, x9, lsl #7
	add	x0, x8, #112
Lloh39:
	adrp	x21, _SMT_Unknown@GOTPAGE
Lloh40:
	ldr	x21, [x21, _SMT_Unknown@GOTPAGEOFF]
	mov	x1, x21
	bl	_is_equal
	ldr	x8, [x19, #56]
	ldr	x9, [x23]
	cbnz	w0, LBB0_31
; %bb.30:
	add	x10, x8, x9, lsl #7
	ldr	x11, [x10, #112]
	str	x11, [x10, #120]
LBB0_31:
	ldr	x10, [x21]
	add	x8, x8, x9, lsl #7
	str	x10, [x8, #112]
Lloh41:
	adrp	x9, _FALSE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	str	w9, [x8, #104]
	mov	x0, x19
	mov	w1, #0
	bl	_update_dac
Lloh44:
	adrp	x8, _SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x8, _INDEX_MAC@GOTPAGE
Lloh48:
	ldr	x8, [x8, _INDEX_MAC@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_smt_srf_event
LBB0_32:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_37
; %bb.33:
	ldr	w9, [x22]
	mov	w10, #228
	mul	w9, w9, w10
	sub	w8, w20, w8
	cmp	w8, w9
	b.le	LBB0_37
; %bb.34:
Lloh50:
	adrp	x0, l_.str.1@PAGE
Lloh51:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DB_SMT
	str	wzr, [x19, #20]
	ldr	x8, [x19, #56]
	ldr	x9, [x23]
	add	x8, x8, x9, lsl #7
	add	x0, x8, #88
Lloh52:
	adrp	x21, _SMT_Unknown@GOTPAGE
Lloh53:
	ldr	x21, [x21, _SMT_Unknown@GOTPAGEOFF]
	mov	x1, x21
	bl	_is_equal
	ldr	x8, [x19, #56]
	ldr	x9, [x23]
	cbnz	w0, LBB0_36
; %bb.35:
	add	x10, x8, x9, lsl #7
	ldr	x11, [x10, #88]
	str	x11, [x10, #96]
LBB0_36:
	ldr	x10, [x21]
	add	x8, x8, x9, lsl #7
	str	x10, [x8, #88]
Lloh54:
	adrp	x8, _SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SMT_EVENT_MAC_NEIGHBOR_CHANGE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _INDEX_MAC@GOTPAGE
Lloh58:
	ldr	x8, [x8, _INDEX_MAC@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_smt_srf_event
LBB0_37:
	ldr	x9, [x23]
Lloh60:
	adrp	x23, _NUMMACS@GOTPAGE
Lloh61:
	ldr	x23, [x23, _NUMMACS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w9
	b.le	LBB0_42
; %bb.38:
	sxtw	x21, w9
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_42
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	w9, [x9, x21, lsl #2]
	sub	w9, w20, w9
	ldr	w10, [x22]
	cmp	w9, w10, lsl #1
	b.le	LBB0_39
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_smt_emulate_token_ct
	ldr	w8, [x23]
	b	LBB0_39
LBB0_42:
	add	x20, x19, #32
Lloh62:
	adrp	x8, _EVENT_SMT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EVENT_SMT@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
Lloh65:
	adrp	x8, _SM_TIMER@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SM_TIMER@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	bl	_EV_TOKEN
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #16960
	movk	w2, #15, lsl #16
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_smt_timer_start
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_ECM,4,2                  ; @EVENT_ECM
	.comm	_EC_CONNECT,4,2                 ; @EC_CONNECT
	.comm	_SM_FAST,4,2                    ; @SM_FAST
	.comm	_TICKS_PER_SECOND,4,2           ; @TICKS_PER_SECOND
	.comm	_SMT_COND_MAC_FRAME_ERROR,4,2   ; @SMT_COND_MAC_FRAME_ERROR
	.comm	_INDEX_MAC,4,2                  ; @INDEX_MAC
	.comm	_SMT_COND_MAC_NOT_COPIED,4,2    ; @SMT_COND_MAC_NOT_COPIED
	.comm	_NUMPHYS,4,2                    ; @NUMPHYS
	.comm	_SMT_COND_PORT_EB_ERROR,4,2     ; @SMT_COND_PORT_EB_ERROR
	.comm	_INDEX_PORT,8,3                 ; @INDEX_PORT
	.comm	_SMT_TID_NIF,8,3                ; @SMT_TID_NIF
	.comm	_fddi_broadcast,4,2             ; @fddi_broadcast
	.comm	_FC_SMT_NSA,4,2                 ; @FC_SMT_NSA
	.comm	_SMT_REQUEST,4,2                ; @SMT_REQUEST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMT : UNA expired"

	.comm	_MAC0,8,3                       ; @MAC0
	.comm	_SMT_Unknown,8,3                ; @SMT_Unknown
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SMT_EVENT_MAC_NEIGHBOR_CHANGE,4,2 ; @SMT_EVENT_MAC_NEIGHBOR_CHANGE
l_.str.1:                               ; @.str.1
	.asciz	"SMT : DNA expired"

	.comm	_NUMMACS,4,2                    ; @NUMMACS
	.comm	_EVENT_SMT,4,2                  ; @EVENT_SMT
	.comm	_SM_TIMER,4,2                   ; @SM_TIMER
.subsections_via_symbols
