	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92ee_phy_simularity_compare
__rtl92ee_phy_simularity_compare:       ## @_rtl92ee_phy_simularity_compare
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r9d
	movl	$4294966272, %r10d              ## imm = 0xFFFFFC00
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, -48(%rbp)
	movq	_MAX_TOLERANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rdx
	movslq	%ecx, %r14
	shlq	$6, %r14
	addq	%rsi, %r14
	shlq	$6, %rdx
	leaq	(%rsi,%rdx), %r15
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	btsl	%ecx, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rcx
	cmpq	$8, %rcx
	je	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	orl	$4, %eax
	andl	$2147483645, %eax               ## imm = 0x7FFFFFFD
	cmpl	$5, %eax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15,%rcx,8), %rdi
	movq	%rdi, %rax
	orq	%r10, %rax
	testl	$512, %edi                      ## imm = 0x200
	cmoveq	%rdi, %rax
	movq	(%r14,%rcx,8), %r13
	movq	%r13, %rbx
	orq	%r10, %rbx
	testl	$512, %r13d                     ## imm = 0x200
	cmoveq	%r13, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15,%rcx,8), %rdi
	movq	(%r14,%rcx,8), %r13
	movq	%rdi, %rax
	movq	%r13, %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r8d
	subl	%ebx, %r8d
	negl	%r8d
	subl	%ebx, %eax
	cmovlel	%r8d, %eax
	cmpl	%r11d, %eax
	jle	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$2147483643, %eax               ## imm = 0x7FFFFFFB
	cmpl	$2, %eax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	8(%r15,%rcx,8), %rdi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$-4, %eax
	movl	%r9d, -48(%rbp,%rax)
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	8(%r14,%rcx,8), %r13
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$-4, %eax
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, -48(%rbp,%rax)
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r12d
	shll	%cl, %r12d
	jmp	LBB0_13
LBB0_14:
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.19:
	testb	$3, %r12b
	je	LBB0_20
## %bb.21:
	testb	$12, %r12b
	je	LBB0_22
LBB0_23:
	testb	$48, %r12b
	je	LBB0_24
LBB0_25:
	xorl	%eax, %eax
	testb	$-64, %r12b
	jne	LBB0_28
## %bb.26:
	movq	48(%rsi,%rdx), %rax
	movq	%rax, 240(%rsi)
	leaq	(%rsi,%rdx), %rax
	addq	$56, %rax
	movl	$7, %ecx
	jmp	LBB0_27
LBB0_15:
	movslq	-48(%rbp), %rcx
	movl	$1, %eax
	cmpq	$255, %rcx
	je	LBB0_17
## %bb.16:
	shlq	$6, %rcx
	movups	(%rsi,%rcx), %xmm0
	movups	%xmm0, 192(%rsi)
	xorl	%eax, %eax
LBB0_17:
	movslq	-44(%rbp), %rcx
	cmpq	$255, %rcx
	je	LBB0_28
## %bb.18:
	shlq	$6, %rcx
	movq	32(%rsi,%rcx), %rax
	movq	%rax, 224(%rsi)
	leaq	(%rsi,%rcx), %rax
	addq	$40, %rax
	movl	$5, %ecx
LBB0_27:
	movq	(%rax), %rax
	movq	%rax, 192(%rsi,%rcx,8)
	xorl	%eax, %eax
LBB0_28:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movups	(%rsi,%rdx), %xmm0
	movups	%xmm0, 192(%rsi)
	testb	$12, %r12b
	jne	LBB0_23
LBB0_22:
	movups	16(%rsi,%rdx), %xmm0
	movups	%xmm0, 208(%rsi)
	testb	$48, %r12b
	jne	LBB0_25
LBB0_24:
	movups	32(%rsi,%rdx), %xmm0
	movups	%xmm0, 224(%rsi)
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOLERANCE,4,2              ## @MAX_TOLERANCE
	.no_dead_strip	__rtl92ee_phy_simularity_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92ee_phy_simularity_compare
__rtl92ee_phy_simularity_compare:       ; @_rtl92ee_phy_simularity_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x10, #0
	mov	w9, #0
	mov	w11, #65531
	movk	w11, #32767, lsl #16
	mov	x8, #1095216660735
	str	x8, [sp, #8]
Lloh0:
	adrp	x12, _MAX_TOLERANCE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _MAX_TOLERANCE@GOTPAGEOFF]
	sxtw	x8, w2
	sxtw	x13, w3
Lloh2:
	ldr	w12, [x12]
	add	x13, x1, x13, lsl #6
	add	x14, x1, x8, lsl #6
	mov	w15, #1
	add	x16, sp, #8
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w17, w15, w10
	orr	w9, w9, w17
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	add	x13, x13, #8
	add	x14, x14, #8
	cmp	x10, #8
	b.eq	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w17, w11, #2
	and	w17, w10, w17
	orr	w17, w17, #0x4
	cmp	w17, #5
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [x14]
	orr	x0, x17, #0xfffffc00
	tst	x17, #0x200
	csel	x4, x17, x0, eq
	ldr	x0, [x13]
	orr	x5, x0, #0xfffffc00
	tst	x0, #0x200
	csel	x5, x0, x5, eq
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [x14]
	ldr	x0, [x13]
	mov	x4, x17
	mov	x5, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w6, w5, w4
	subs	w4, w4, w5
	csel	w4, w4, w6, gt
	cmp	w4, w12
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w4, w10, w11
	cmp	w4, #2
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w9, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x14, #8]
	cmn	x17, x9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	ubfx	x17, x10, #2, #30
	str	w3, [x16, x17, lsl #2]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x13, #8]
	cmn	x0, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	ubfx	x17, x10, #2, #30
	str	w2, [x16, x17, lsl #2]
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w9, w15, w10
	b	LBB0_2
LBB0_14:
	cbz	w9, LBB0_20
; %bb.15:
	tst	w9, #0x3
	b.eq	LBB0_22
; %bb.16:
	tst	w9, #0xc
	b.eq	LBB0_23
LBB0_17:
	tst	w9, #0x30
	b.eq	LBB0_24
LBB0_18:
	tst	w9, #0xc0
	b.eq	LBB0_25
LBB0_19:
	mov	w0, #0
	add	sp, sp, #16
	ret
LBB0_20:
	ldrsw	x8, [sp, #8]
	cmp	w8, #255
	b.ne	LBB0_26
; %bb.21:
	mov	w0, #1
	b	LBB0_27
LBB0_22:
	lsl	x10, x8, #6
	ldr	q0, [x1, x10]
	str	q0, [x1, #192]
	tst	w9, #0xc
	b.ne	LBB0_17
LBB0_23:
	add	x10, x1, x8, lsl #6
	ldr	q0, [x10, #16]
	str	q0, [x1, #208]
	tst	w9, #0x30
	b.ne	LBB0_18
LBB0_24:
	add	x10, x1, x8, lsl #6
	ldr	q0, [x10, #32]
	str	q0, [x1, #224]
	tst	w9, #0xc0
	b.ne	LBB0_19
LBB0_25:
	add	x8, x1, x8, lsl #6
	ldr	x9, [x8, #48]
	str	x9, [x1, #240]
	add	x8, x8, #56
	mov	w9, #7
	b	LBB0_29
LBB0_26:
	mov	w0, #0
	lsl	x8, x8, #6
	ldr	q0, [x1, x8]
	str	q0, [x1, #192]
LBB0_27:
	ldrsw	x8, [sp, #12]
	cmp	w8, #255
	b.eq	LBB0_30
; %bb.28:
	add	x8, x1, x8, lsl #6
	ldr	x9, [x8, #32]
	str	x9, [x1, #224]
	add	x8, x8, #40
	mov	w9, #5
LBB0_29:
	mov	w0, #0
	ldr	x8, [x8]
	add	x9, x1, x9, lsl #3
	str	x8, [x9, #192]
LBB0_30:
	add	sp, sp, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOLERANCE,4,2              ; @MAX_TOLERANCE
	.no_dead_strip	__rtl92ee_phy_simularity_compare
.subsections_via_symbols
