	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xt_rateest_mt_checkentry
_xt_rateest_mt_checkentry:              ## @xt_rateest_mt_checkentry
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	_XT_RATEEST_MATCH_ABS@GOTPCREL(%rip), %rax
	movq	_XT_RATEEST_MATCH_REL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	orl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_hweight32
	xorl	%r15d, %r15d
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.1:
	movq	_XT_RATEEST_MATCH_BPS@GOTPCREL(%rip), %rax
	movq	_XT_RATEEST_MATCH_PPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_9
## %bb.2:
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_9
## %bb.3:
	movl	28(%rbx), %edi
	callq	_xt_rateest_lookup
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r14
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.6:
	movl	24(%rbx), %edi
	callq	_xt_rateest_lookup
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	callq	_xt_rateest_put
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	movq	%r14, 16(%rbx)
	movq	%rax, 8(%rbx)
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XT_RATEEST_MATCH_ABS,4,2       ## @XT_RATEEST_MATCH_ABS
	.comm	_XT_RATEEST_MATCH_REL,4,2       ## @XT_RATEEST_MATCH_REL
	.comm	_XT_RATEEST_MATCH_BPS,4,2       ## @XT_RATEEST_MATCH_BPS
	.comm	_XT_RATEEST_MATCH_PPS,4,2       ## @XT_RATEEST_MATCH_PPS
	.no_dead_strip	_xt_rateest_mt_checkentry
.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_checkentry
_xt_rateest_mt_checkentry:              ; @xt_rateest_mt_checkentry
	.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
	ldr	x20, [x0]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _XT_RATEEST_MATCH_ABS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XT_RATEEST_MATCH_ABS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x21, _XT_RATEEST_MATCH_REL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _XT_RATEEST_MATCH_REL@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w10, w9
	and	w0, w9, w8
	bl	_hweight32
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _XT_RATEEST_MATCH_BPS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XT_RATEEST_MATCH_BPS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _XT_RATEEST_MATCH_PPS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _XT_RATEEST_MATCH_PPS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	ldr	w8, [x20, #4]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_7
; %bb.3:
	ldr	w0, [x20, #28]
	bl	_xt_rateest_lookup
	cbz	x0, LBB0_8
; %bb.4:
	mov	x19, x0
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
	ldr	w0, [x20, #24]
	bl	_xt_rateest_lookup
	cbnz	x0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_xt_rateest_put
LBB0_7:
	mov	w0, #0
LBB0_8:
	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_9:
	mov	x0, #0
LBB0_10:
	stp	x0, x19, [x20, #8]
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XT_RATEEST_MATCH_ABS,4,2       ; @XT_RATEEST_MATCH_ABS
	.comm	_XT_RATEEST_MATCH_REL,4,2       ; @XT_RATEEST_MATCH_REL
	.comm	_XT_RATEEST_MATCH_BPS,4,2       ; @XT_RATEEST_MATCH_BPS
	.comm	_XT_RATEEST_MATCH_PPS,4,2       ; @XT_RATEEST_MATCH_PPS
	.no_dead_strip	_xt_rateest_mt_checkentry
.subsections_via_symbols
