	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_netlbl_sock_rcv_skb    ## -- Begin function selinux_netlbl_sock_rcv_skb
	.p2align	4, 0x90
_selinux_netlbl_sock_rcv_skb:           ## @selinux_netlbl_sock_rcv_skb
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netlbl_enabled
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_netlbl_secattr_init
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_netlbl_skbuff_getattr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax
	movq	_NETLBL_SECATTR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_4:
	movq	_SECINITSID_UNLABELED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
LBB0_5:
	leaq	-48(%rbp), %rdi
	callq	_netlbl_secattr_destroy
	testl	%ebx, %ebx
	jne	LBB0_15
## %bb.6:
	movl	(%r12), %edx
	cmpl	$129, %edx
	jne	LBB0_7
## %bb.8:
	movq	_TCP_SOCKET__RECVFROM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_selinux_netlbl_sidlookup_cached
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_7:
	movq	_RAWIP_SOCKET__RECVFROM@GOTPCREL(%rip), %rax
LBB0_9:
	movl	4(%r12), %edi
	cmpl	$128, %edx
	jne	LBB0_11
## %bb.10:
	movq	_UDP_SOCKET__RECVFROM@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rcx
	movq	-56(%rbp), %rsi
	movq	%r14, %r8
	callq	_avc_has_perm
	movl	$0, %ebx
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movl	%eax, %r14d
	movq	-56(%rbp), %rax
	movq	_SECINITSID_UNLABELED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_netlbl_skbuff_err
LBB0_14:
	movl	%r14d, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETLBL_SECATTR_NONE,8,3        ## @NETLBL_SECATTR_NONE
	.comm	_SECINITSID_UNLABELED,8,3       ## @SECINITSID_UNLABELED
	.comm	_UDP_SOCKET__RECVFROM,8,3       ## @UDP_SOCKET__RECVFROM
	.comm	_TCP_SOCKET__RECVFROM,8,3       ## @TCP_SOCKET__RECVFROM
	.comm	_RAWIP_SOCKET__RECVFROM,8,3     ## @RAWIP_SOCKET__RECVFROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_netlbl_sock_rcv_skb    ; -- Begin function selinux_netlbl_sock_rcv_skb
	.p2align	2
_selinux_netlbl_sock_rcv_skb:           ; @selinux_netlbl_sock_rcv_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_netlbl_enabled
	cbz	w0, LBB0_8
; %bb.1:
	mov	x0, sp
	bl	_netlbl_secattr_init
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	bl	_netlbl_skbuff_getattr
	mov	x22, x0
Lloh0:
	adrp	x23, _SECINITSID_UNLABELED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SECINITSID_UNLABELED@GOTPAGEOFF]
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [sp]
Lloh2:
	adrp	x9, _NETLBL_SECATTR_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETLBL_SECATTR_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_3:
	ldr	x8, [x23]
	str	x8, [sp, #8]
LBB0_4:
	mov	x0, sp
	bl	_netlbl_secattr_destroy
	cbnz	w22, LBB0_9
; %bb.5:
Lloh5:
	adrp	x8, _UDP_SOCKET__RECVFROM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UDP_SOCKET__RECVFROM@GOTPAGEOFF]
Lloh7:
	adrp	x9, _TCP_SOCKET__RECVFROM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TCP_SOCKET__RECVFROM@GOTPAGEOFF]
Lloh9:
	adrp	x10, _RAWIP_SOCKET__RECVFROM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RAWIP_SOCKET__RECVFROM@GOTPAGEOFF]
	ldp	w2, w0, [x21]
	cmp	w2, #129
	csel	x9, x9, x10, eq
	cmp	w2, #128
	csel	x8, x8, x9, eq
	ldr	x3, [x8]
	ldr	x1, [sp, #8]
	mov	x4, x20
	bl	_avc_has_perm
	mov	x22, x0
	cbz	w0, LBB0_9
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_netlbl_skbuff_err
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	bl	_selinux_netlbl_sidlookup_cached
	mov	x22, x0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NETLBL_SECATTR_NONE,8,3        ; @NETLBL_SECATTR_NONE
	.comm	_SECINITSID_UNLABELED,8,3       ; @SECINITSID_UNLABELED
	.comm	_UDP_SOCKET__RECVFROM,8,3       ; @UDP_SOCKET__RECVFROM
	.comm	_TCP_SOCKET__RECVFROM,8,3       ; @TCP_SOCKET__RECVFROM
	.comm	_RAWIP_SOCKET__RECVFROM,8,3     ; @RAWIP_SOCKET__RECVFROM
.subsections_via_symbols
