	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_rulemsg
_validate_rulemsg:                      ## @validate_rulemsg
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_FRA_SRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	movl	(%r14), %ecx
	shll	$3, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_9
## %bb.3:
	callq	_nla_len
	cmpl	(%r14), %eax
	jne	LBB0_9
LBB0_4:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	_FRA_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.6:
	movl	(%r14), %ecx
	shll	$3, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_9
## %bb.7:
	callq	_nla_len
	cmpl	(%r14), %eax
	jne	LBB0_9
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FRA_SRC,8,3                    ## @FRA_SRC
	.comm	_FRA_DST,8,3                    ## @FRA_DST
	.no_dead_strip	_validate_rulemsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_rulemsg
_validate_rulemsg:                      ; @validate_rulemsg
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _FRA_SRC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FRA_SRC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [x21, x9, lsl #3]
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w9, [x20]
	cmp	w8, w9, lsl #3
	b.gt	LBB0_9
; %bb.3:
	bl	_nla_len
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_9
LBB0_4:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_8
; %bb.5:
Lloh6:
	adrp	x9, _FRA_DST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FRA_DST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x0, [x21, x9, lsl #3]
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w9, [x20]
	cmp	w8, w9, lsl #3
	b.gt	LBB0_9
; %bb.7:
	bl	_nla_len
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FRA_SRC,8,3                    ; @FRA_SRC
	.comm	_FRA_DST,8,3                    ; @FRA_DST
	.no_dead_strip	_validate_rulemsg
.subsections_via_symbols
