	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l3ni1_check_messagetype_validity
_l3ni1_check_messagetype_validity:      ## @l3ni1_check_messagetype_validity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %edx
	movq	%rdi, %r14
	leal	-128(%rdx), %eax
	cmpl	$24, %eax
	ja	LBB0_4
## %bb.1:
	movl	$33553399, %ecx                 ## imm = 0x1FFFBF7
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.2:
	movq	_L3_DEB_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.3:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_l3_debug
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_L3_DEB_CHECK@GOTPCREL(%rip), %rax
	movq	_L3_DEB_WARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r14)
	je	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_l3_debug
LBB0_6:
	movl	$97, 4(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_l3ni1_status_send
	movl	$1, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_L3_DEB_CHECK,4,2               ## @L3_DEB_CHECK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l3ni1_check_messagetype_validity mt(%x) OK"

	.comm	_L3_DEB_WARN,4,2                ## @L3_DEB_WARN
L_.str.1:                               ## @.str.1
	.asciz	"l3ni1_check_messagetype_validity mt(%x) fail"

	.no_dead_strip	_l3ni1_check_messagetype_validity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l3ni1_check_messagetype_validity
_l3ni1_check_messagetype_validity:      ; @l3ni1_check_messagetype_validity
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x2, x1
	mov	x19, x0
	sub	w8, w1, #128
	cmp	w8, #24
	b.hi	LBB0_6
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #64503
	movk	w9, #511, lsl #16
	tst	w8, w9
	b.eq	LBB0_6
; %bb.2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _L3_DEB_CHECK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L3_DEB_CHECK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_l3_debug
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _L3_DEB_CHECK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _L3_DEB_CHECK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _L3_DEB_WARN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _L3_DEB_WARN@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_l3_debug
LBB0_8:
	mov	w8, #97
	str	w8, [x19, #4]
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_l3ni1_status_send
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_L3_DEB_CHECK,4,2               ; @L3_DEB_CHECK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l3ni1_check_messagetype_validity mt(%x) OK"

	.comm	_L3_DEB_WARN,4,2                ; @L3_DEB_WARN
l_.str.1:                               ; @.str.1
	.asciz	"l3ni1_check_messagetype_validity mt(%x) fail"

	.no_dead_strip	_l3ni1_check_messagetype_validity
.subsections_via_symbols
