	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xt_rateest_mt
LCPI0_0:
	.quad	2147483648                      ## 0x80000000
	.quad	2147483648                      ## 0x80000000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xt_rateest_mt:                         ## @xt_rateest_mt
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movq	32(%rbx), %rdi
	callq	_spin_lock_bh
	movq	32(%rbx), %rdi
	movq	_XT_RATEEST_MATCH_DELTA@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	40(%rbx), %r14
	movq	48(%rbx), %r15
	xorl	%eax, %eax
	subq	16(%rdi), %r15
	cmovlq	%rax, %r15
	subq	8(%rdi), %r14
	cmovlq	%rax, %r14
	jmp	LBB0_3
LBB0_2:
	movq	8(%rdi), %r14
	movq	16(%rdi), %r15
LBB0_3:
	callq	_spin_unlock_bh
	movq	_XT_RATEEST_MATCH_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movdqu	16(%rbx), %xmm0
	jmp	LBB0_9
LBB0_5:
	movq	8(%rbx), %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rdi
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movdqu	16(%rbx), %xmm0
	movdqu	8(%rdi), %xmm1
	movdqa	%xmm0, %xmm2
	psubq	%xmm1, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [2147483648,2147483648]
	pxor	%xmm3, %xmm0
	pxor	%xmm3, %xmm1
	movdqa	%xmm1, %xmm3
	pcmpgtd	%xmm0, %xmm3
	pshufd	$160, %xmm3, %xmm4              ## xmm4 = xmm3[0,0,2,2]
	pcmpeqd	%xmm0, %xmm1
	pshufd	$245, %xmm1, %xmm0              ## xmm0 = xmm1[1,1,3,3]
	pand	%xmm4, %xmm0
	pshufd	$245, %xmm3, %xmm1              ## xmm1 = xmm3[1,1,3,3]
	por	%xmm0, %xmm1
	pandn	%xmm2, %xmm1
	movdqa	%xmm1, -48(%rbp)                ## 16-byte Spill
	jmp	LBB0_8
LBB0_7:
	movdqu	8(%rdi), %xmm0
	movdqa	%xmm0, -48(%rbp)                ## 16-byte Spill
LBB0_8:
	callq	_spin_unlock_bh
	movdqa	-48(%rbp), %xmm0                ## 16-byte Reload
LBB0_9:
	movl	4(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_13
## %bb.10:
	cmpl	$129, %eax
	je	LBB0_15
## %bb.11:
	cmpl	$130, %eax
	jne	LBB0_12
## %bb.17:
	movl	(%rbx), %eax
	movq	_XT_RATEEST_MATCH_BPS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%dl
	pextrq	$1, %xmm0, %rcx
	cmpq	%rcx, %r15
	sete	%cl
	orb	%dl, %cl
	movq	_XT_RATEEST_MATCH_PPS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.18:
	movq	%xmm0, %rdx
	cmpq	%rdx, %r14
	sete	%dl
	jmp	LBB0_19
LBB0_13:
	movl	(%rbx), %eax
	movq	_XT_RATEEST_MATCH_BPS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%dl
	pextrq	$1, %xmm0, %rcx
	cmpq	%rcx, %r15
	setl	%cl
	orb	%dl, %cl
	movq	_XT_RATEEST_MATCH_PPS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.14:
	movq	%xmm0, %rdx
	cmpq	%rdx, %r14
	setl	%dl
	jmp	LBB0_19
LBB0_15:
	movl	(%rbx), %eax
	movq	_XT_RATEEST_MATCH_BPS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%dl
	pextrq	$1, %xmm0, %rcx
	cmpq	%rcx, %r15
	setg	%cl
	orb	%dl, %cl
	movq	_XT_RATEEST_MATCH_PPS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.16:
	movq	%xmm0, %rdx
	cmpq	%rdx, %r14
	setg	%dl
LBB0_19:
	andb	%dl, %cl
	jmp	LBB0_20
LBB0_12:
	movl	(%rbx), %eax
	movb	$1, %cl
LBB0_20:
	movq	_XT_RATEEST_MATCH_INVERT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	setne	%al
	xorb	%cl, %al
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XT_RATEEST_MATCH_DELTA,4,2     ## @XT_RATEEST_MATCH_DELTA
	.comm	_XT_RATEEST_MATCH_ABS,4,2       ## @XT_RATEEST_MATCH_ABS
	.comm	_XT_RATEEST_MATCH_BPS,4,2       ## @XT_RATEEST_MATCH_BPS
	.comm	_XT_RATEEST_MATCH_PPS,4,2       ## @XT_RATEEST_MATCH_PPS
	.comm	_XT_RATEEST_MATCH_INVERT,4,2    ## @XT_RATEEST_MATCH_INVERT
	.no_dead_strip	_xt_rateest_mt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xt_rateest_mt
_xt_rateest_mt:                         ; @xt_rateest_mt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x19, [x1]
	ldr	x0, [x19, #32]
	bl	_spin_lock_bh
	ldr	x0, [x19, #32]
	ldr	w8, [x19]
Lloh0:
	adrp	x20, _XT_RATEEST_MATCH_DELTA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _XT_RATEEST_MATCH_DELTA@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldur	q0, [x19, #40]
	ldur	q1, [x0, #8]
	cmgt.2d	v2, v1, v0
	sub.2d	v0, v0, v1
	bic.16b	v0, v0, v2
	b	LBB0_3
LBB0_2:
	ldur	q0, [x0, #8]
LBB0_3:
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	bl	_spin_unlock_bh
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _XT_RATEEST_MATCH_ABS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XT_RATEEST_MATCH_ABS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	q1, [x19, #16]
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_spin_lock_bh
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	q0, [x19, #16]
	ldur	q1, [x0, #8]
	cmgt.2d	v2, v1, v0
	sub.2d	v0, v0, v1
	bic.16b	v0, v0, v2
	b	LBB0_8
LBB0_7:
	ldur	q0, [x0, #8]
LBB0_8:
	str	q0, [sp]                        ; 16-byte Folded Spill
	bl	_spin_unlock_bh
	ldr	q1, [sp]                        ; 16-byte Folded Reload
LBB0_9:
	ldr	w8, [x19, #4]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.10:
	cmp	w8, #129
	b.eq	LBB0_14
; %bb.11:
	cmp	w8, #130
	b.ne	LBB0_16
; %bb.12:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _XT_RATEEST_MATCH_BPS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XT_RATEEST_MATCH_BPS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, eq
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	cmeq.2d	v0, v0, v1
	b	LBB0_15
LBB0_13:
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _XT_RATEEST_MATCH_BPS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XT_RATEEST_MATCH_BPS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, eq
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	cmgt.2d	v0, v1, v0
	b	LBB0_15
LBB0_14:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _XT_RATEEST_MATCH_BPS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XT_RATEEST_MATCH_BPS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, eq
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	cmgt.2d	v0, v0, v1
LBB0_15:
	xtn.2s	v0, v0
	mov.s	w10, v0[1]
Lloh14:
	adrp	x11, _XT_RATEEST_MATCH_PPS@GOTPAGE
Lloh15:
	ldr	x11, [x11, _XT_RATEEST_MATCH_PPS@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh16:
	ldr	w10, [x11]
	tst	w10, w8
	fmov	w10, s0
	and	w10, w10, w9
	csel	w9, w9, w10, eq
	b	LBB0_17
LBB0_16:
	ldr	w8, [x19]
	mov	w9, #1
LBB0_17:
Lloh17:
	adrp	x10, _XT_RATEEST_MATCH_INVERT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _XT_RATEEST_MATCH_INVERT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w8, ne
	eor	w8, w9, w8
	and	w0, w8, #0x1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_XT_RATEEST_MATCH_DELTA,4,2     ; @XT_RATEEST_MATCH_DELTA
	.comm	_XT_RATEEST_MATCH_ABS,4,2       ; @XT_RATEEST_MATCH_ABS
	.comm	_XT_RATEEST_MATCH_BPS,4,2       ; @XT_RATEEST_MATCH_BPS
	.comm	_XT_RATEEST_MATCH_PPS,4,2       ; @XT_RATEEST_MATCH_PPS
	.comm	_XT_RATEEST_MATCH_INVERT,4,2    ; @XT_RATEEST_MATCH_INVERT
	.no_dead_strip	_xt_rateest_mt
.subsections_via_symbols
