	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_samedomain                  ## -- Begin function ns_samedomain
	.p2align	4, 0x90
_ns_samedomain:                         ## @ns_samedomain
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_strlen
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_strlen
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	cmpb	$46, -1(%rbx,%r15)
	jne	LBB0_9
## %bb.2:
	movl	%r15d, %ecx
	addl	$-2, %ecx
	js	LBB0_7
## %bb.3:
	leal	-1(%r15), %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%edx
	cmpb	$92, (%rbx,%rdx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	$1, %ecx
	testl	%edx, %edx
	jg	LBB0_4
LBB0_6:
	testl	%ecx, %ecx
	jne	LBB0_9
LBB0_7:
	decq	%r15
	jmp	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movb	$1, %cl
	testq	%rax, %rax
	je	LBB0_31
## %bb.10:
	cmpb	$46, -1(%r14,%rax)
	jne	LBB0_18
## %bb.11:
	movl	%eax, %edx
	addl	$-2, %edx
	js	LBB0_16
## %bb.12:
	leal	-1(%rax), %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	decl	%esi
	cmpb	$92, (%r14,%rsi)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	$1, %edx
	testl	%esi, %esi
	jg	LBB0_13
LBB0_15:
	testl	%edx, %edx
	jne	LBB0_17
LBB0_16:
	decq	%rax
LBB0_17:
	testq	%rax, %rax
	je	LBB0_31
LBB0_18:
	movq	%r15, %rdx
	subq	%rax, %rdx
	jae	LBB0_20
LBB0_30:
	xorl	%ecx, %ecx
	jmp	LBB0_31
LBB0_20:
	jne	LBB0_23
## %bb.21:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
LBB0_22:
	callq	_strncasecmp
	testq	%rax, %rax
	sete	%cl
LBB0_31:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	cmpl	$2, %edx
	jl	LBB0_30
## %bb.25:
	leal	-1(%rdx), %esi
	xorl	%ecx, %ecx
	cmpb	$46, (%rbx,%rsi)
	jne	LBB0_31
## %bb.26:
	movl	%eax, %esi
	notl	%esi
	addl	%r15d, %esi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	decl	%esi
	cmpb	$92, (%rbx,%rsi)
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	xorl	$1, %ecx
	testl	%esi, %esi
	jg	LBB0_27
LBB0_29:
	testl	%ecx, %ecx
	jne	LBB0_30
## %bb.32:
	movslq	%edx, %rcx
	addq	%rcx, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_samedomain                  ; -- Begin function ns_samedomain
	.p2align	2
_ns_samedomain:                         ; @ns_samedomain
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	cbz	x21, LBB0_8
; %bb.1:
	sub	x8, x21, #1
	ldrb	w9, [x20, x8]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.2:
	cmp	w21, #2
	b.mi	LBB0_7
; %bb.3:
	mov	w9, #0
	sub	w10, w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w10, #1
	ldrb	w11, [x20, w10, uxtw]
	cmp	w11, #92
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w9, w9, #0x1
	cmp	w10, #0
	b.gt	LBB0_4
LBB0_6:
	cbnz	w9, LBB0_8
LBB0_7:
	mov	x21, x8
LBB0_8:
	cbz	x2, LBB0_19
; %bb.9:
	sub	x8, x2, #1
	ldrb	w9, [x19, x8]
	cmp	w9, #46
	b.ne	LBB0_17
; %bb.10:
	cmp	w2, #2
	b.mi	LBB0_15
; %bb.11:
	mov	w9, #0
	sub	w10, w2, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w10, w10, #1
	ldrb	w11, [x19, w10, uxtw]
	cmp	w11, #92
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	eor	w9, w9, #0x1
	cmp	w10, #0
	b.gt	LBB0_12
LBB0_14:
	cbnz	w9, LBB0_16
LBB0_15:
	mov	x2, x8
LBB0_16:
	cbz	x2, LBB0_19
LBB0_17:
	subs	x8, x21, x2
	b.hs	LBB0_20
LBB0_18:
	mov	w0, #0
	b	LBB0_23
LBB0_19:
	mov	w0, #1
	b	LBB0_23
LBB0_20:
	b.ne	LBB0_24
; %bb.21:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
LBB0_22:
	bl	_strncasecmp
	cmp	x0, #0
	cset	w0, eq
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
	cmp	w8, #2
	b.lt	LBB0_18
; %bb.25:
	sub	w9, w8, #1
	ldrb	w9, [x20, w9, uxtw]
	cmp	w9, #46
	b.ne	LBB0_18
; %bb.26:
	mov	w9, #0
	mvn	w10, w2
	add	w10, w10, w21
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	sub	w10, w10, #1
	ldrb	w11, [x20, w10, uxtw]
	cmp	w11, #92
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	eor	w9, w9, #0x1
	cmp	w10, #0
	b.gt	LBB0_27
LBB0_29:
	cbnz	w9, LBB0_18
; %bb.30:
	add	x0, x20, w8, sxtw
	mov	x1, x19
	b	LBB0_22
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
