	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dispatch                       ## -- Begin function dispatch
	.p2align	4, 0x90
_dispatch:                              ## @dispatch
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_StartAdapterDiscovery
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movq	_AdapterStateChangedEvent@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, -72(%rbp)
	movq	_WSA_INVALID_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	xorl	%eax, %eax
	callq	_ApiLock
	movl	$2, %r15d
	leaq	-96(%rbp), %r13
	movq	_timeouts@GOTPCREL(%rip), %r14
	movq	_free_timeouts@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movl	16(%rbx), %edi
	callq	*24(%rbx)
	movq	(%r12), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, (%r12)
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	%r13, %rdi
	callq	_time
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	subq	-96(%rbp), %rax
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rax
	cmovlq	%rax, %rcx
	imull	$1000, %ecx, %ebx               ## imm = 0x3E8
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_INFINITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	movq	_DhcpSocket@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WSA_INVALID_EVENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_WSACreateEvent
	movq	%rax, -64(%rbp)
	movq	_WSA_INVALID_EVENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	movq	_DhcpSocket@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_FD_CLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_FD_READ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_WSAEventSelect
	movl	$3, %r15d
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %edx
	cmpq	%rcx, %rax
	jne	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %r15d
	callq	_WSACloseEvent
	movq	_WSA_INVALID_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ApiUnlock
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	leaq	-80(%rbp), %rsi
	movl	%ebx, %ecx
	callq	_WaitForMultipleObjects
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_ApiLock
	movq	_WAIT_OBJECT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	je	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rax), %ecx
	cmpl	%ecx, %ebx
	je	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	$2, %eax
	cmpl	%eax, %ebx
	jne	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	callq	_WSAResetEvent
	movq	_protocols@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	_MID_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_DH_DbgPrint
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	16(%rbx), %rbx
LBB0_23:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.18:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	_got_one@GOTPCREL(%rip), %rcx
	cmpq	%rcx, (%rbx)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpl	$0, (%rax)
	jne	LBB0_22
	jmp	LBB0_21
LBB0_24:
	movq	_AdapterStateChangedEvent@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	-80(%rbp), %rdi
	callq	_CloseHandle
	movq	-72(%rbp), %rdi
	callq	_CloseHandle
	movq	-64(%rbp), %rdi
	callq	_WSACloseEvent
	xorl	%eax, %eax
	callq	_ApiUnlock
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AdapterStateChangedEvent,8,3   ## @AdapterStateChangedEvent
	.comm	_WSA_INVALID_EVENT,8,3          ## @WSA_INVALID_EVENT
	.comm	_timeouts,8,3                   ## @timeouts
	.comm	_free_timeouts,8,3              ## @free_timeouts
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_INFINITE,4,2                   ## @INFINITE
	.comm	_DhcpSocket,8,3                 ## @DhcpSocket
	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_FD_READ,4,2                    ## @FD_READ
	.comm	_FD_CLOSE,4,2                   ## @FD_CLOSE
	.comm	_NO_ERROR,4,2                   ## @NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WAIT_OBJECT_0,4,2              ## @WAIT_OBJECT_0
	.comm	_protocols,8,3                  ## @protocols
	.comm	_MID_TRACE,4,2                  ## @MID_TRACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dispatch                       ; -- Begin function dispatch
	.p2align	2
_dispatch:                              ; @dispatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_StartAdapterDiscovery
	str	x0, [sp, #16]
	cbz	x0, LBB0_26
; %bb.1:
Lloh3:
	adrp	x8, _AdapterStateChangedEvent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AdapterStateChangedEvent@GOTPAGEOFF]
Lloh5:
	str	x0, [x8]
Lloh6:
	adrp	x22, _WSA_INVALID_EVENT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _WSA_INVALID_EVENT@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x19, x8, [sp, #24]
	bl	_ApiLock
Lloh8:
	adrp	x23, _timeouts@GOTPAGE
Lloh9:
	ldr	x23, [x23, _timeouts@GOTPAGEOFF]
	mov	w19, #2
Lloh10:
	adrp	x25, _DhcpSocket@GOTPAGE
Lloh11:
	ldr	x25, [x25, _DhcpSocket@GOTPAGEOFF]
Lloh12:
	adrp	x27, _FALSE@GOTPAGE
Lloh13:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
Lloh14:
	adrp	x28, _WAIT_OBJECT_0@GOTPAGE
Lloh15:
	ldr	x28, [x28, _WAIT_OBJECT_0@GOTPAGEOFF]
Lloh16:
	adrp	x21, _got_one@GOTPAGE
Lloh17:
	ldr	x21, [x21, _got_one@GOTPAGEOFF]
Lloh18:
	adrp	x24, _MID_TRACE@GOTPAGE
Lloh19:
	ldr	x24, [x24, _MID_TRACE@GOTPAGEOFF]
Lloh20:
	adrp	x26, _free_timeouts@GOTPAGE
Lloh21:
	ldr	x26, [x26, _free_timeouts@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	str	x8, [x23]
	ldr	x8, [x20, #24]
	ldr	w0, [x20, #16]
	blr	x8
	ldr	x8, [x26]
	str	x8, [x20, #8]
	str	x20, [x26]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	add	x0, sp, #8
	bl	_time
	ldr	x20, [x23]
	cbz	x20, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x9, [sp, #8]
	subs	x8, x8, x9
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh22:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh23:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh24:
	ldrsw	x9, [x9]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	sxtw	x9, w9
	cmp	x8, x9
	csel	x8, x8, x9, lt
	mov	w9, #1000
	mul	w20, w8, w9
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh25:
	adrp	x8, _INFINITE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]
	ldr	x10, [x22]
	ldr	x8, [x25]
Lloh28:
	adrp	x9, _INVALID_SOCKET@GOTPAGE
Lloh29:
	ldr	x9, [x9, _INVALID_SOCKET@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x0, x10
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_WSACreateEvent
	str	x0, [sp, #32]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	ldr	x0, [x25]
Lloh31:
	adrp	x8, _FD_READ@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FD_READ@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _FD_CLOSE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FD_CLOSE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_WSAEventSelect
Lloh37:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #3
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #2
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_WSACloseEvent
	ldr	x8, [x22]
	str	x8, [sp, #32]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ApiUnlock
	ldr	w2, [x27]
	add	x1, sp, #16
	mov	x0, x19
	mov	x3, x20
	bl	_WaitForMultipleObjects
	mov	x20, x0
	bl	_ApiLock
	ldr	w8, [x28]
	cmp	w20, w8
	b.eq	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w8, #1
	cmp	w20, w9
	b.eq	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #2
	cmp	w20, w8
	b.ne	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]
	bl	_WSAResetEvent
Lloh40:
	adrp	x8, _protocols@GOTPAGE
Lloh41:
	ldr	x8, [x8, _protocols@GOTPAGEOFF]
Lloh42:
	ldr	x20, [x8]
	cbnz	x20, LBB0_22
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=2
	ldr	w0, [x24]
	mov	x1, x20
	bl	_DH_DbgPrint
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_3
LBB0_22:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	x9, [x20]
	cmp	x9, x21
	b.ne	LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
	b	LBB0_20
LBB0_25:
Lloh43:
	adrp	x8, _AdapterStateChangedEvent@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AdapterStateChangedEvent@GOTPAGEOFF]
Lloh45:
	str	xzr, [x8]
	ldr	x0, [sp, #16]
	bl	_CloseHandle
	ldr	x0, [sp, #24]
	bl	_CloseHandle
	ldr	x0, [sp, #32]
	bl	_WSACloseEvent
	bl	_ApiUnlock
LBB0_26:
	ldr	x8, [sp, #40]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_AdapterStateChangedEvent,8,3   ; @AdapterStateChangedEvent
	.comm	_WSA_INVALID_EVENT,8,3          ; @WSA_INVALID_EVENT
	.comm	_timeouts,8,3                   ; @timeouts
	.comm	_free_timeouts,8,3              ; @free_timeouts
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_INFINITE,4,2                   ; @INFINITE
	.comm	_DhcpSocket,8,3                 ; @DhcpSocket
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_FD_READ,4,2                    ; @FD_READ
	.comm	_FD_CLOSE,4,2                   ; @FD_CLOSE
	.comm	_NO_ERROR,4,2                   ; @NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WAIT_OBJECT_0,4,2              ; @WAIT_OBJECT_0
	.comm	_protocols,8,3                  ; @protocols
	.comm	_MID_TRACE,4,2                  ; @MID_TRACE
.subsections_via_symbols
