	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_filter_locked
_validate_filter_locked:                ## @validate_filter_locked
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movq	(%r15), %rax
	movq	_FILTER_IPV4_5TUPLE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.1:
	movl	8(%r15), %eax
	movq	_FILTER_FIELD_5TUP_DST_AD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movq	_FILTER_FIELD_5TUP_DST_PT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	cmpq	$0, 16(%r15)
	je	LBB0_8
## %bb.9:
	callq	_ntohl
	cmpq	24(%r15), %rax
	je	LBB0_12
## %bb.10:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_ERANGE@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_IPV4_5TUPLE,8,3         ## @FILTER_IPV4_5TUPLE
	.comm	_FILTER_FIELD_5TUP_DST_AD,4,2   ## @FILTER_FIELD_5TUP_DST_AD
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_FILTER_FIELD_5TUP_DST_PT,4,2   ## @FILTER_FIELD_5TUP_DST_PT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_validate_filter_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_filter_locked
_validate_filter_locked:                ; @validate_filter_locked
	.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	x19, x1
	mov	x20, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _FILTER_IPV4_5TUPLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FILTER_IPV4_5TUPLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _FILTER_FIELD_5TUP_DST_AD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FILTER_FIELD_5TUP_DST_AD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
Lloh6:
	adrp	x9, _FILTER_FIELD_5TUP_DST_PT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FILTER_FIELD_5TUP_DST_PT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.5:
	bl	_ntohl
	ldr	x8, [x19, #24]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_6:
	mov	w0, #0
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _EACCES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _ERANGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh17:
	adrp	x8, _EFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_IPV4_5TUPLE,8,3         ; @FILTER_IPV4_5TUPLE
	.comm	_FILTER_FIELD_5TUP_DST_AD,4,2   ; @FILTER_FIELD_5TUP_DST_AD
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_FILTER_FIELD_5TUP_DST_PT,4,2   ; @FILTER_FIELD_5TUP_DST_PT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_validate_filter_locked
.subsections_via_symbols
