	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_CompareBaseAdrMask         ## -- Begin function NET_CompareBaseAdrMask
	.p2align	4, 0x90
_NET_CompareBaseAdrMask:                ## @NET_CompareBaseAdrMask
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movq	%rcx, -48(%rbp)
	movq	_qfalse@GOTPCREL(%rip), %rbx
	cmpq	%rdx, %rdi
	jne	LBB0_13
## %bb.1:
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_qtrue@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rcx, %rbx
	jmp	LBB0_13
LBB0_3:
	movq	_NA_IP@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_5
## %bb.4:
	leaq	-60(%rbp), %r15
	leaq	-44(%rbp), %r14
	cmpl	$32, %r8d
	movl	$32, %r13d
	jmp	LBB0_7
LBB0_5:
	movq	_NA_IP6@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_14
## %bb.6:
	leaq	-64(%rbp), %r15
	leaq	-48(%rbp), %r14
	cmpl	$128, %r8d
	movl	$128, %r13d
LBB0_7:
	cmovbl	%r8d, %r13d
	movl	%r13d, %r12d
	shrl	$3, %r12d
	cmpl	$8, %r13d
	jb	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcmp
	movq	_qtrue@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_9:
	movq	%rcx, %rbx
	andl	$7, %r13d
	je	LBB0_13
## %bb.10:
	movl	$-1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	notl	%eax
	movb	$8, %cl
	subb	%r13b, %cl
	shll	%cl, %eax
	movl	%r12d, %ecx
	movl	(%r14,%rcx,4), %edx
	xorl	(%r15,%rcx,4), %edx
	testl	%eax, %edx
	jne	LBB0_11
## %bb.12:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	jmp	LBB0_13
LBB0_11:
	movq	_qfalse@GOTPCREL(%rip), %rbx
LBB0_13:
	movl	(%rbx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_NA_LOOPBACK,8,3                ## @NA_LOOPBACK
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_NA_IP,8,3                      ## @NA_IP
	.comm	_NA_IP6,8,3                     ## @NA_IP6
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NET_CompareBaseAdr: bad address type\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_CompareBaseAdrMask         ; -- Begin function NET_CompareBaseAdrMask
	.p2align	2
_NET_CompareBaseAdrMask:                ; @NET_CompareBaseAdrMask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	stp	x0, x1, [sp, #16]
	stp	x2, x3, [sp]
Lloh0:
	adrp	x22, _qfalse@GOTPAGE
Lloh1:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	cmp	x0, x2
	b.ne	LBB0_14
; %bb.1:
Lloh2:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x22, _qtrue@GOTPAGE
Lloh6:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
Lloh7:
	adrp	x8, _NA_IP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NA_IP@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	add	x8, sp, #16
	add	x19, x8, #12
	mov	x8, sp
	add	x20, x8, #12
	mov	w8, #32
	cmp	w4, #32
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _NA_IP6@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NA_IP6@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.6:
	add	x8, sp, #16
	add	x19, x8, #8
	mov	x8, sp
	add	x20, x8, #8
	mov	w8, #128
	cmp	w4, #128
LBB0_7:
	csel	w23, w4, w8, lo
	lsr	w21, w23, #3
	cmp	w23, #8
	b.lo	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_memcmp
	cbnz	x0, LBB0_12
LBB0_9:
Lloh13:
	adrp	x8, _qtrue@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	ands	w9, w23, #0x7
	b.eq	LBB0_13
; %bb.10:
	mov	w10, #-1
	lsl	w10, w10, w9
	mvn	w10, w10
	mov	w11, #8
	sub	w9, w11, w9
	lsl	x11, x21, #2
	ldr	w12, [x19, x11]
	lsl	w9, w10, w9
	ldr	w10, [x20, x11]
	eor	w10, w10, w12
	tst	w10, w9
	csel	x22, x8, x22, eq
	b	LBB0_14
LBB0_11:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
LBB0_12:
Lloh17:
	adrp	x22, _qfalse@GOTPAGE
Lloh18:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	mov	x22, x8
LBB0_14:
	ldr	w0, [x22]
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_NA_LOOPBACK,8,3                ; @NA_LOOPBACK
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_NA_IP,8,3                      ; @NA_IP
	.comm	_NA_IP6,8,3                     ; @NA_IP6
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NET_CompareBaseAdr: bad address type\n"

.subsections_via_symbols
