	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AliasHandleResourceNB
_AliasHandleResourceNB:                 ## @AliasHandleResourceNB
	.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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	4(%rdi), %rcx
	cmpq	%rsi, %rcx
	ja	LBB0_12
## %bb.2:
	movq	%rdx, %r15
	movl	(%r12), %edi
	callq	_ntohs
	movl	%eax, %r13d
	movq	_SizeOfNsResource@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r12,%rax,4), %rbx
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.3:
	movq	_SizeOfNsRNB@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movq	%rax, (%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	subl	%eax, %r13d
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%rbx), %rax
	cmpq	%r14, %rax
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r15), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %edi
	addl	(%rbx), %edi
	movl	8(%r15), %eax
	addl	12(%r15), %eax
	subl	%eax, %edi
	callq	_ADJUST_CHECKSUM
	jmp	LBB0_9
LBB0_5:
	xorl	%ebx, %ebx
LBB0_11:
	leaq	8(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	cmovbeq	%rbx, %rax
	testq	%rbx, %rbx
	cmoveq	%rbx, %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeOfNsResource,4,2           ## @SizeOfNsResource
	.comm	_SizeOfNsRNB,4,2                ## @SizeOfNsRNB
	.comm	_INET_ADDRSTRLEN,4,2            ## @INET_ADDRSTRLEN
	.no_dead_strip	_AliasHandleResourceNB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AliasHandleResourceNB
_AliasHandleResourceNB:                 ; @AliasHandleResourceNB
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
	mov	x0, #0
	cbz	x22, LBB0_12
; %bb.1:
	mov	x19, x1
	add	x8, x22, #4
	cmp	x8, x1
	b.hi	LBB0_12
; %bb.2:
	mov	x20, x2
	ldr	w0, [x22]
	bl	_ntohs
Lloh0:
	adrp	x8, _SizeOfNsResource@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SizeOfNsResource@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x22, x22, x8, lsl #2
	cbz	w0, LBB0_11
; %bb.3:
	mov	x21, x0
Lloh3:
	adrp	x23, _SizeOfNsRNB@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SizeOfNsRNB@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	str	x8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x23]
	add	x22, x22, x8, lsl #2
	subs	w21, w21, w8
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x22, #8
	cmp	x8, x19
	b.hi	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #16]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	x1, [x8]
	cbz	x1, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [x22]
	ldp	w10, w11, [x20, #8]
	add	w8, w9, w8
	add	w9, w10, w11
	sub	w0, w8, w9
	bl	_ADJUST_CHECKSUM
	b	LBB0_4
LBB0_10:
	mov	x22, #0
LBB0_11:
	add	x8, x22, #8
	cmp	x8, x19
	ccmp	x22, #0, #4, ls
	csel	x0, xzr, x22, eq
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeOfNsResource,4,2           ; @SizeOfNsResource
	.comm	_SizeOfNsRNB,4,2                ; @SizeOfNsRNB
	.comm	_INET_ADDRSTRLEN,4,2            ; @INET_ADDRSTRLEN
	.no_dead_strip	_AliasHandleResourceNB
.subsections_via_symbols
