	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HandleAddressMessage
_HandleAddressMessage:                  ## @HandleAddressMessage
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movq	_msg_add_address@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_InitializeUnicastIpAddressEntry
	movl	20(%rbx), %edi
	leaq	16(%rbx), %rsi
	callq	_sockaddr_inet
	movl	%eax, 16(%r15)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r15)
	movl	(%rbx), %eax
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, (%r15)
LBB0_6:
	movq	%r15, %rdi
	cmpq	%r13, %r12
	jne	LBB0_11
## %bb.7:
	callq	_CreateUnicastIpAddressEntry
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:
	movq	_address@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movq	%r15, %rsi
	callq	_AddListItem
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_DeleteAddress
	jmp	LBB0_13
LBB0_1:
	movq	_ERROR_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_14
LBB0_11:
	callq	_DeleteAddress
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	_address@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movq	_CmpAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_RemoveListItem
	movq	%rax, %rdi
	callq	_free
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_4:
	movl	4(%rbx), %edi
	leaq	-44(%rbp), %rsi
	callq	_InterfaceLuid
	testq	%rax, %rax
	je	LBB0_5
## %bb.15:
	movq	%rax, %rbx
LBB0_13:
	movq	%r15, %rdi
	callq	_free
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	-44(%rbp), %eax
	movl	%eax, 4(%r15)
	jmp	LBB0_6
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_msg_add_address,8,3            ## @msg_add_address
	.comm	_ERROR_OUTOFMEMORY,8,3          ## @ERROR_OUTOFMEMORY
	.comm	_address,8,3                    ## @address
	.comm	_CmpAddress,4,2                 ## @CmpAddress
	.no_dead_strip	_HandleAddressMessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HandleAddressMessage
_HandleAddressMessage:                  ; @HandleAddressMessage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x8, _msg_add_address@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msg_add_address@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	bl	_InitializeUnicastIpAddressEntry
	ldr	w0, [x21, #20]
	add	x1, x21, #16
	bl	_sockaddr_inet
	str	w0, [x19, #16]
	ldr	x8, [x21, #8]
	str	x8, [x19, #8]
	ldr	w8, [x21]
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.2:
	str	w8, [x19]
LBB0_3:
	mov	x0, x19
	cmp	x22, x23
	b.ne	LBB0_8
; %bb.4:
	bl	_CreateUnicastIpAddressEntry
	mov	x21, x0
	cbnz	x0, LBB0_12
; %bb.5:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _address@GOTPAGE
Lloh4:
	ldr	x9, [x9, _address@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	mov	x1, x19
	bl	_AddListItem
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.6:
	mov	x0, x19
	bl	_DeleteAddress
	b	LBB0_12
LBB0_7:
Lloh6:
	adrp	x8, _ERROR_OUTOFMEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR_OUTOFMEMORY@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	b	LBB0_13
LBB0_8:
	bl	_DeleteAddress
	mov	x21, x0
	cbnz	x0, LBB0_12
; %bb.9:
Lloh9:
	adrp	x8, _address@GOTPAGE
Lloh10:
	ldr	x8, [x8, _address@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh11:
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
Lloh12:
	adrp	x8, _CmpAddress@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CmpAddress@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_RemoveListItem
	bl	_free
	b	LBB0_12
LBB0_10:
	ldr	w0, [x21, #4]
	add	x1, sp, #12
	bl	_InterfaceLuid
	cbz	x0, LBB0_14
; %bb.11:
	mov	x21, x0
LBB0_12:
	mov	x0, x19
	bl	_free
LBB0_13:
	mov	x0, x21
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	ldr	w8, [sp, #12]
	str	w8, [x19, #4]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_msg_add_address,8,3            ; @msg_add_address
	.comm	_ERROR_OUTOFMEMORY,8,3          ; @ERROR_OUTOFMEMORY
	.comm	_address,8,3                    ; @address
	.comm	_CmpAddress,4,2                 ; @CmpAddress
	.no_dead_strip	_HandleAddressMessage
.subsections_via_symbols
