	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LibAliasOutLocked
_LibAliasOutLocked:                     ## @LibAliasOutLocked
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movq	_PKT_ALIAS_REVERSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_LibAliasInLocked
	movl	(%rbx), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_30
LBB0_2:
	movq	%r14, %rdi
	callq	_HouseKeeping
	movq	%r14, %rdi
	callq	_ClearCheckNewLink
	movl	24(%r15), %edi
	callq	_ntohs
	cmpl	%r13d, %eax
	jg	LBB0_4
## %bb.3:
	movl	(%r15), %eax
	shll	$2, %eax
	cmpl	%r13d, %eax
	jle	LBB0_5
LBB0_4:
	movq	_PKT_ALIAS_IGNORED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_29
LBB0_5:
	movq	%r14, %rdi
	callq	_GetDefaultAliasAddress
	movl	%eax, %ebx
	movl	(%r14), %eax
	movq	_PKT_ALIAS_UNREGISTERED_ONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.6:
	movl	12(%r15), %edi
	callq	_ntohl
	movq	_UNREG_ADDR_C_LOWER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
## %bb.7:
	movq	_UNREG_ADDR_C_UPPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_15
LBB0_8:
	movq	_UNREG_ADDR_B_LOWER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.9:
	movq	_UNREG_ADDR_B_UPPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_15
LBB0_10:
	leaq	12(%r15), %rcx
	movq	_UNREG_ADDR_A_LOWER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_14
## %bb.11:
	movq	_UNREG_ADDR_A_UPPER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_15
	jmp	LBB0_14
LBB0_12:
	movq	_PKT_ALIAS_PROXY_ONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	leaq	12(%r15), %rcx
LBB0_14:
	movl	(%rcx), %esi
	movq	%r14, %rdi
	callq	_SetDefaultAliasAddress
LBB0_15:
	movl	20(%r15), %edi
	callq	_ntohs
	movq	_IP_OFFMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.26:
	leaq	12(%r15), %rsi
	addq	$8, %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_FragmentOut
LBB0_27:
	movl	%eax, %r15d
LBB0_28:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_SetDefaultAliasAddress
LBB0_29:
	movl	%r15d, %eax
LBB0_30:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	4(%r15), %ecx
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_24
## %bb.17:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_19:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_UdpAliasOut
	jmp	LBB0_27
LBB0_20:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_TcpAliasOut
	jmp	LBB0_27
LBB0_24:
	leaq	12(%r15), %rsi
	movl	16(%r15), %edx
	addq	$8, %r15
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_25
LBB0_18:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_IcmpAliasOut
	jmp	LBB0_27
LBB0_21:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	$0, -48(%rbp)
	movq	_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %r8
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_find_handler
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	leaq	12(%r15), %rsi
	movl	4(%r15), %ecx
	movl	16(%r15), %edx
	addq	$8, %r15
	movq	%r14, %rdi
LBB0_25:
	movq	%r15, %r8
	movl	%r12d, %r9d
	callq	_ProtoAliasOut
	jmp	LBB0_27
LBB0_22:
	movq	_PKT_ALIAS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_24
	.long	L0_0_set_18
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_PKT_ALIAS_REVERSE,4,2          ## @PKT_ALIAS_REVERSE
	.comm	_PKT_ALIAS_IGNORED,4,2          ## @PKT_ALIAS_IGNORED
	.comm	_PKT_ALIAS_UNREGISTERED_ONLY,4,2 ## @PKT_ALIAS_UNREGISTERED_ONLY
	.comm	_UNREG_ADDR_C_LOWER,8,3         ## @UNREG_ADDR_C_LOWER
	.comm	_UNREG_ADDR_C_UPPER,8,3         ## @UNREG_ADDR_C_UPPER
	.comm	_UNREG_ADDR_B_LOWER,8,3         ## @UNREG_ADDR_B_LOWER
	.comm	_UNREG_ADDR_B_UPPER,8,3         ## @UNREG_ADDR_B_UPPER
	.comm	_UNREG_ADDR_A_LOWER,8,3         ## @UNREG_ADDR_A_LOWER
	.comm	_UNREG_ADDR_A_UPPER,8,3         ## @UNREG_ADDR_A_UPPER
	.comm	_PKT_ALIAS_PROXY_ONLY,4,2       ## @PKT_ALIAS_PROXY_ONLY
	.comm	_IP_OFFMASK,4,2                 ## @IP_OFFMASK
	.comm	_OUT,4,2                        ## @OUT
	.comm	_IP,4,2                         ## @IP
	.comm	_PKT_ALIAS_OK,4,2               ## @PKT_ALIAS_OK
	.comm	_SN_TO_GLOBAL,4,2               ## @SN_TO_GLOBAL
	.no_dead_strip	_LibAliasOutLocked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LibAliasOutLocked
_LibAliasOutLocked:                     ; @LibAliasOutLocked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _PKT_ALIAS_REVERSE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PKT_ALIAS_REVERSE@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_LibAliasInLocked
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_18
LBB0_2:
	mov	x21, x3
	mov	x0, x19
	bl	_HouseKeeping
	mov	x0, x19
	bl	_ClearCheckNewLink
	ldr	w0, [x22, #24]
	bl	_ntohs
	cmp	w0, w23
	b.gt	LBB0_4
; %bb.3:
	ldr	w8, [x22]
	cmp	w23, w8, lsl #2
	b.ge	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _PKT_ALIAS_IGNORED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PKT_ALIAS_IGNORED@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	b	LBB0_17
LBB0_5:
	mov	x0, x19
	bl	_GetDefaultAliasAddress
	mov	x20, x0
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _PKT_ALIAS_UNREGISTERED_ONLY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PKT_ALIAS_UNREGISTERED_ONLY@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	mov	x24, x22
	ldr	w0, [x24, #12]!
	bl	_ntohl
Lloh8:
	adrp	x8, _UNREG_ADDR_C_LOWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UNREG_ADDR_C_LOWER@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _UNREG_ADDR_C_UPPER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _UNREG_ADDR_C_UPPER@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.le	LBB0_13
; %bb.7:
Lloh14:
	adrp	x8, _UNREG_ADDR_B_LOWER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UNREG_ADDR_B_LOWER@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _UNREG_ADDR_B_UPPER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _UNREG_ADDR_B_UPPER@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.le	LBB0_13
; %bb.8:
Lloh20:
	adrp	x8, _UNREG_ADDR_A_LOWER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UNREG_ADDR_A_LOWER@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_12
; %bb.9:
Lloh23:
	adrp	x8, _UNREG_ADDR_A_UPPER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UNREG_ADDR_A_UPPER@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_13
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x9, _PKT_ALIAS_PROXY_ONLY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PKT_ALIAS_PROXY_ONLY@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
	add	x24, x22, #12
LBB0_12:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_SetDefaultAliasAddress
LBB0_13:
	ldr	w0, [x22, #20]
	bl	_ntohs
Lloh29:
	adrp	x8, _IP_OFFMASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IP_OFFMASK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_19
; %bb.14:
	add	x1, x22, #12
	add	x2, x22, #8
	mov	x0, x19
	bl	_FragmentOut
LBB0_15:
	mov	x21, x0
LBB0_16:
	mov	w1, w20
	mov	x0, x19
	bl	_SetDefaultAliasAddress
LBB0_17:
	mov	x0, x21
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	ldr	w3, [x22, #4]
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.20:
Lloh32:
	adrp	x9, lJTI0_0@PAGE
Lloh33:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_21
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_21:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_UdpAliasOut
	b	LBB0_15
LBB0_22:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_TcpAliasOut
	b	LBB0_15
LBB0_23:
	add	x1, x22, #12
	ldr	w2, [x22, #16]
	b	LBB0_27
LBB0_24:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_IcmpAliasOut
	b	LBB0_15
LBB0_25:
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
Lloh34:
	adrp	x8, _OUT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OUT@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _IP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IP@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x2, x19
	mov	x3, x22
	bl	_find_handler
	cbz	w0, LBB0_28
; %bb.26:
	add	x1, x22, #12
	ldr	w2, [x22, #16]
	ldr	w3, [x22, #4]
LBB0_27:
	add	x4, x22, #8
	mov	x0, x19
	mov	x5, x21
	bl	_ProtoAliasOut
	b	LBB0_15
LBB0_28:
Lloh40:
	adrp	x8, _PKT_ALIAS_OK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PKT_ALIAS_OK@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_22-LBB0_21)>>2
	.byte	(LBB0_23-LBB0_21)>>2
	.byte	(LBB0_24-LBB0_21)>>2
	.byte	(LBB0_25-LBB0_21)>>2
                                        ; -- End function
	.comm	_PKT_ALIAS_REVERSE,4,2          ; @PKT_ALIAS_REVERSE
	.comm	_PKT_ALIAS_IGNORED,4,2          ; @PKT_ALIAS_IGNORED
	.comm	_PKT_ALIAS_UNREGISTERED_ONLY,4,2 ; @PKT_ALIAS_UNREGISTERED_ONLY
	.comm	_UNREG_ADDR_C_LOWER,8,3         ; @UNREG_ADDR_C_LOWER
	.comm	_UNREG_ADDR_C_UPPER,8,3         ; @UNREG_ADDR_C_UPPER
	.comm	_UNREG_ADDR_B_LOWER,8,3         ; @UNREG_ADDR_B_LOWER
	.comm	_UNREG_ADDR_B_UPPER,8,3         ; @UNREG_ADDR_B_UPPER
	.comm	_UNREG_ADDR_A_LOWER,8,3         ; @UNREG_ADDR_A_LOWER
	.comm	_UNREG_ADDR_A_UPPER,8,3         ; @UNREG_ADDR_A_UPPER
	.comm	_PKT_ALIAS_PROXY_ONLY,4,2       ; @PKT_ALIAS_PROXY_ONLY
	.comm	_IP_OFFMASK,4,2                 ; @IP_OFFMASK
	.comm	_OUT,4,2                        ; @OUT
	.comm	_IP,4,2                         ; @IP
	.comm	_PKT_ALIAS_OK,4,2               ; @PKT_ALIAS_OK
	.comm	_SN_TO_GLOBAL,4,2               ; @SN_TO_GLOBAL
	.no_dead_strip	_LibAliasOutLocked
.subsections_via_symbols
