	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EtherIPProcInterrupts          ## -- Begin function EtherIPProcInterrupts
	.p2align	4, 0x90
_EtherIPProcInterrupts:                 ## @EtherIPProcInterrupts
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 40(%rdi)
	je	LBB0_9
## %bb.2:
	movq	72(%r14), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, (%r14)
	movq	8(%r14), %rdx
	movq	80(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_SearchEtherIPId
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	80(%r14), %rdi
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rsi
	callq	_SearchEtherIPId
	testl	%eax, %eax
	je	LBB0_8
LBB0_5:
	movl	96(%r14), %edi
	movl	-40(%rbp), %esi
	callq	_StrCmpi
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movl	92(%r14), %edi
	movl	-44(%rbp), %esi
	callq	_StrCmpi
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	88(%r14), %edi
	movl	-48(%rbp), %esi
	callq	_StrCmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movq	40(%r14), %rdi
	callq	_FreeIPC
	movq	$0, 40(%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_EtherIPLog
LBB0_9:
	movl	56(%r14), %edi
	callq	_Lock
	cmpq	$0, 40(%r14)
	jne	LBB0_14
## %bb.10:
	cmpq	$0, 64(%r14)
	jne	LBB0_14
## %bb.11:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_ETHERIP_VPN_CONNECT_RETRY_INTERVAL@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	cmpq	24(%r14), %rax
	jg	LBB0_14
LBB0_13:
	movq	80(%r14), %rax
	movl	(%rax), %edi
	callq	_Lock
	leaq	32(%r14), %rdi
	movq	80(%r14), %rsi
	addq	$4, %rsi
	movl	$4, %edx
	callq	_Copy
	movq	80(%r14), %rax
	movl	(%rax), %edi
	callq	_Unlock
	movq	_EtherIPIpcConnectThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_NewThread
	movq	%rax, 64(%r14)
	movq	72(%r14), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_AddThreadToThreadList
	movl	60(%r14), %edi
	callq	_AddRef
LBB0_14:
	movl	56(%r14), %edi
	callq	_Unlock
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.15:
	movl	52(%r14), %esi
	callq	_IPCSetSockEventWhenRecvL2Packet
	movq	40(%r14), %rdi
	callq	_IPCProcessInterrupts
	movq	40(%r14), %rdi
	callq	_IPCRecvL2
	testq	%rax, %rax
	je	LBB0_23
## %bb.16:
	movq	%rax, %rbx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx), %rdi
	movl	%r15d, %esi
	callq	_Clone
	movq	%rax, %r12
	movl	(%rbx), %r15d
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_NewBlock
	movl	48(%r14), %edi
	movq	%rax, %rsi
	callq	_Add
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	_FreeBlock
	movq	40(%r14), %rdi
	callq	_IPCRecvL2
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_23
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %r15d
	cmpl	$14, %r15d
	jl	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$0, 36(%r14)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	addl	$2, %r15d
	movl	%r15d, %edi
	callq	_Malloc
	movq	%rax, %r12
	movq	$48, (%rax)
	leaq	8(%rax), %rdi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	callq	_Copy
	jmp	LBB0_21
LBB0_23:
	movq	40(%r14), %rdi
	callq	_IsIPCConnected
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movq	40(%r14), %rdi
	callq	_FreeIPC
	movq	$0, 40(%r14)
LBB0_25:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

L_.str.1:                               ## @.str.1
	.asciz	"LE_RECONNECT"

	.comm	_ETHERIP_VPN_CONNECT_RETRY_INTERVAL,8,3 ## @ETHERIP_VPN_CONNECT_RETRY_INTERVAL
	.comm	_EtherIPIpcConnectThread,4,2    ## @EtherIPIpcConnectThread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function EtherIPProcInterrupts
lCPI0_0:
	.long	48                              ; 0x30
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_EtherIPProcInterrupts
	.p2align	2
_EtherIPProcInterrupts:                 ; @EtherIPProcInterrupts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	cbz	x0, LBB0_25
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x8, [x19, #72]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.3:
	str	x8, [x19]
	ldr	x0, [x19, #80]
	ldr	x2, [x19, #8]
	mov	x1, sp
	bl	_SearchEtherIPId
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #80]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, sp
	bl	_SearchEtherIPId
	cbz	w0, LBB0_8
LBB0_5:
	ldr	w0, [x19, #96]
	ldr	w1, [sp, #8]
	bl	_StrCmpi
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	w0, [x19, #92]
	ldr	w1, [sp, #4]
	bl	_StrCmpi
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #88]
	ldr	w1, [sp]
	bl	_StrCmp
	cbz	x0, LBB0_9
LBB0_8:
	ldr	x0, [x19, #40]
	bl	_FreeIPC
	str	xzr, [x19, #40]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_EtherIPLog
LBB0_9:
	ldr	w0, [x19, #56]
	bl	_Lock
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_14
; %bb.10:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_14
; %bb.11:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.12:
Lloh4:
	adrp	x9, _ETHERIP_VPN_CONNECT_RETRY_INTERVAL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ETHERIP_VPN_CONNECT_RETRY_INTERVAL@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x10, [x19, #24]
	add	x8, x9, x8
	cmp	x8, x10
	b.gt	LBB0_14
LBB0_13:
	ldr	x8, [x19, #80]
	ldr	w0, [x8]
	bl	_Lock
	add	x0, x19, #32
	ldr	x8, [x19, #80]
	add	x1, x8, #4
	mov	w2, #4
	bl	_Copy
	ldr	x8, [x19, #80]
	ldr	w0, [x8]
	bl	_Unlock
Lloh7:
	adrp	x8, _EtherIPIpcConnectThread@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EtherIPIpcConnectThread@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_NewThread
	mov	x1, x0
	str	x0, [x19, #64]
	ldr	x8, [x19, #72]
	ldr	w0, [x8]
	bl	_AddThreadToThreadList
	ldr	w0, [x19, #60]
	bl	_AddRef
LBB0_14:
	ldr	w0, [x19, #56]
	bl	_Unlock
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_25
; %bb.15:
	ldr	w1, [x19, #52]
	bl	_IPCSetSockEventWhenRecvL2Packet
	ldr	x0, [x19, #40]
	bl	_IPCProcessInterrupts
	ldr	x0, [x19, #40]
	bl	_IPCRecvL2
	cbz	x0, LBB0_23
; %bb.16:
	mov	x20, x0
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x20, #8]
	bl	_Clone
	mov	x22, x0
	ldr	w21, [x20]
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_NewBlock
	mov	x1, x0
	ldr	w0, [x19, #48]
	bl	_Add
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	bl	_FreeBlock
	ldr	x0, [x19, #40]
	bl	_IPCRecvL2
	mov	x20, x0
	cbz	x0, LBB0_23
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	cmp	w1, #14
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	add	w21, w1, #2
	mov	x0, x21
	bl	_Malloc
	mov	x22, x0
	str	d8, [x0], #8
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	bl	_Copy
	b	LBB0_18
LBB0_23:
	ldr	x0, [x19, #40]
	bl	_IsIPCConnected
	cbnz	w0, LBB0_25
; %bb.24:
	ldr	x0, [x19, #40]
	bl	_FreeIPC
	str	xzr, [x19, #40]
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

l_.str.1:                               ; @.str.1
	.asciz	"LE_RECONNECT"

	.comm	_ETHERIP_VPN_CONNECT_RETRY_INTERVAL,8,3 ; @ETHERIP_VPN_CONNECT_RETRY_INTERVAL
	.comm	_EtherIPIpcConnectThread,4,2    ; @EtherIPIpcConnectThread
.subsections_via_symbols
