	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCAsyncThreadProc             ## -- Begin function IPCAsyncThreadProc
	.p2align	4, 0x90
_IPCAsyncThreadProc:                    ## @IPCAsyncThreadProc
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movl	60(%r14), %edi
	leaq	48(%r14), %rbx
	leaq	56(%r14), %rdx
	movq	%rbx, %rsi
	callq	_NewIPCByParam
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.4:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_Zero
	leaq	L_.str(%rip), %rdi
	callq	_Debug
	movq	24(%r14), %rdi
	movl	44(%r14), %edx
	movq	%rbx, %rsi
	callq	_IPCDhcpAllocateIP
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_Debug
	movl	-56(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	cltq
	imulq	$1431655766, %rax, %rbx         ## imm = 0x55555556
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	addl	%eax, %ebx
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	callq	_Debug
	movl	$1, 4(%r14)
	movq	24(%r14), %rdi
	callq	_FreeIPC
	movq	$0, 24(%r14)
	jmp	LBB0_10
LBB0_6:
	movl	$200, %ebx
LBB0_8:
	leaq	40(%r14), %rdi
	leaq	-56(%rbp), %rsi
	movl	$20, %edx
	callq	_Copy
	imull	$1000, %ebx, %eax               ## imm = 0x3E8
	testl	%ebx, %ebx
	movl	$1000, %ecx                     ## imm = 0x3E8
	cmovnel	%eax, %ecx
	movl	%ecx, (%r14)
	movl	-40(%rbp), %esi
	leaq	-68(%rbp), %r15
	movq	%r15, %rdi
	callq	_UINTToIP
	movl	-44(%rbp), %esi
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_UINTToIP
	movl	-48(%rbp), %esi
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_UINTToIP
	movq	24(%r14), %rdi
	leaq	-52(%rbp), %r8
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_IPCSetIPv4Parameters
	xorl	%eax, %eax
	callq	_Tick64
	movslq	(%r14), %rcx
	addq	%rax, %rcx
	movq	%rcx, 32(%r14)
LBB0_10:
	movl	$1, 8(%r14)
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_SetSockEvent
LBB0_12:
	addq	$48, %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	"IPCDhcpAllocateIP() start...\n"

L_.str.1:                               ## @.str.1
	.asciz	"IPCDhcpAllocateIP() Ok.\n"

L_.str.2:                               ## @.str.2
	.asciz	"IPCDhcpAllocateIP() Error.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCAsyncThreadProc             ; -- Begin function IPCAsyncThreadProc
	.p2align	2
_IPCAsyncThreadProc:                    ; @IPCAsyncThreadProc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	ldr	w0, [x19, #60]
	add	x20, x19, #48
	add	x2, x19, #56
	mov	x1, x20
	bl	_NewIPCByParam
	str	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.4:
	add	x20, sp, #24
	add	x0, sp, #24
	mov	w1, #20
	bl	_Zero
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Debug
	ldr	x0, [x19, #24]
	ldr	w2, [x19, #44]
	add	x1, sp, #24
	bl	_IPCDhcpAllocateIP
	cbz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Debug
	ldrsw	x8, [sp, #24]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	mov	w10, #200
	cmp	w8, #0
	csel	w21, w10, w9, eq
	add	x0, x19, #40
	add	x1, sp, #24
	mov	w2, #20
	bl	_Copy
	mov	w8, #1000
	mul	w9, w21, w8
	cmp	w21, #0
	csel	w8, w8, w9, eq
	str	w8, [x19]
	ldr	w1, [sp, #40]
	add	x0, sp, #20
	bl	_UINTToIP
	ldr	w1, [sp, #36]
	add	x0, sp, #16
	bl	_UINTToIP
	ldr	w1, [sp, #32]
	add	x0, sp, #12
	bl	_UINTToIP
	ldr	x0, [x19, #24]
	orr	x4, x20, #0x4
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_IPCSetIPv4Parameters
	bl	_Tick64
	ldrsw	x8, [x19]
	add	x8, x0, x8
	str	x8, [x19, #32]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Debug
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	x0, [x19, #24]
	bl	_FreeIPC
	str	xzr, [x19, #24]
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_SetSockEvent
LBB0_9:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPCDhcpAllocateIP() start...\n"

l_.str.1:                               ; @.str.1
	.asciz	"IPCDhcpAllocateIP() Ok.\n"

l_.str.2:                               ; @.str.2
	.asciz	"IPCDhcpAllocateIP() Error.\n"

.subsections_via_symbols
