	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsReconnectHackNeeded          ## -- Begin function IsReconnectHackNeeded
	.p2align	4, 0x90
_IsReconnectHackNeeded:                 ## @IsReconnectHackNeeded
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_find_protocol_by_adapter
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_S_BOUND@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpq	%rdx, %rcx
	jne	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_18
LBB0_2:
	cmpq	%rdx, %rcx
	je	LBB0_4
## %bb.3:
	movq	_S_STATIC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_18
LBB0_4:
	xorl	%eax, %eax
	callq	_ApiUnlock
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	$4, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	$4, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_GetAdaptersInfo
	movq	_ERROR_BUFFER_OVERFLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.7:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-32(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%rax, %r15
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_GetAdaptersInfo
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.9:
	movq	(%r14), %rcx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_13:
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.14:
	movq	%r15, %rax
LBB0_15:
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_ApiLock
	testl	%r14d, %r14d
	jne	LBB0_16
## %bb.17:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_18
LBB0_12:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
LBB0_5:
	xorl	%eax, %eax
	callq	_ApiLock
LBB0_18:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0.0.0.0"

	.comm	_S_BOUND,8,3                    ## @S_BOUND
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_S_STATIC,8,3                   ## @S_STATIC
	.comm	_ERROR_BUFFER_OVERFLOW,8,3      ## @ERROR_BUFFER_OVERFLOW
	.comm	_NO_ERROR,8,3                   ## @NO_ERROR
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsReconnectHackNeeded          ; -- Begin function IsReconnectHackNeeded
	.p2align	2
_IsReconnectHackNeeded:                 ; @IsReconnectHackNeeded
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_find_protocol_by_adapter
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _S_BOUND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S_BOUND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_14
; %bb.1:
Lloh3:
	adrp	x10, _S_STATIC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _S_STATIC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x21, _FALSE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.2:
	bl	_ApiUnlock
	bl	_GetProcessHeap
	mov	w22, #4
	mov	w1, #0
	mov	w2, #4
	bl	_HeapAlloc
	str	x22, [sp, #8]
	cbz	x0, LBB0_13
; %bb.3:
	mov	x19, x0
	add	x1, sp, #8
	bl	_GetAdaptersInfo
Lloh8:
	adrp	x8, _ERROR_BUFFER_OVERFLOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR_BUFFER_OVERFLOW@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [sp, #8]
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_13
; %bb.5:
	mov	x19, x0
	add	x1, sp, #8
	bl	_GetAdaptersInfo
Lloh11:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.6:
	ldr	x9, [x20]
	mov	x8, x19
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_7
	b	LBB0_12
LBB0_9:
Lloh14:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x8, x19
LBB0_11:
	ldr	w0, [x8, #8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	mov	x20, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	bl	_ApiLock
Lloh19:
	adrp	x8, _TRUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x21, x8, x21, eq
	b	LBB0_15
LBB0_12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_13:
	bl	_ApiLock
LBB0_14:
Lloh21:
	adrp	x21, _FALSE@GOTPAGE
Lloh22:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0.0.0.0"

	.comm	_S_BOUND,8,3                    ; @S_BOUND
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_S_STATIC,8,3                   ; @S_STATIC
	.comm	_ERROR_BUFFER_OVERFLOW,8,3      ; @ERROR_BUFFER_OVERFLOW
	.comm	_NO_ERROR,8,3                   ; @NO_ERROR
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
