	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_sock_rcv_skb_compat
_selinux_sock_rcv_skb_compat:           ## @selinux_sock_rcv_skb_compat
	.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
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	(%rdi), %r15
	movl	(%r15), %r14d
	movq	_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_COMMON_AUDIT_DATA_INIT
	movl	4(%r13), %eax
	movl	%eax, -44(%rbp)
	movl	%r12d, -48(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_selinux_parse_skb
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_selinux_secmark_enabled
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %esi
	movq	_SECCLASS_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PACKET__RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r8
	movl	%r14d, %edi
	callq	_avc_has_perm
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
LBB0_3:
	movq	_selinux_policycap_netpeer@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.4:
	leaq	-52(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_selinux_skb_peerlbl_sid
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movl	-52(%rbp), %esi
	movq	_SECCLASS_PEER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PEER__RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r8
	movl	%r14d, %edi
	callq	_avc_has_perm
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_selinux_netlbl_err
	jmp	LBB0_10
LBB0_8:
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_selinux_netlbl_sock_rcv_skb
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	(%r15), %edi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rsi
	callq	_selinux_xfrm_sock_rcv_skb
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NET,4,2                        ## @NET
	.comm	_SECCLASS_PACKET,4,2            ## @SECCLASS_PACKET
	.comm	_PACKET__RECV,4,2               ## @PACKET__RECV
	.comm	_selinux_policycap_netpeer,8,3  ## @selinux_policycap_netpeer
	.comm	_SECCLASS_PEER,4,2              ## @SECCLASS_PEER
	.comm	_PEER__RECV,4,2                 ## @PEER__RECV
	.no_dead_strip	_selinux_sock_rcv_skb_compat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_sock_rcv_skb_compat
_selinux_sock_rcv_skb_compat:           ; @selinux_sock_rcv_skb_compat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x19, x1
	ldr	x22, [x0]
	ldr	w20, [x22]
Lloh0:
	adrp	x8, _NET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_COMMON_AUDIT_DATA_INIT
	ldr	w8, [x19, #4]
	stp	w21, w8, [sp, #16]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	mov	x4, #0
	bl	_selinux_parse_skb
	mov	x23, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	_selinux_secmark_enabled
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x19]
Lloh3:
	adrp	x8, _SECCLASS_PACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECCLASS_PACKET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _PACKET__RECV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PACKET__RECV@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #16
	mov	x0, x20
	bl	_avc_has_perm
	mov	x23, x0
	cbnz	w0, LBB0_1
LBB0_4:
Lloh9:
	adrp	x8, _selinux_policycap_netpeer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _selinux_policycap_netpeer@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.5:
	add	x2, sp, #28
	mov	x0, x19
	mov	x1, x21
	bl	_selinux_skb_peerlbl_sid
	mov	x23, x0
	cbnz	w0, LBB0_1
; %bb.6:
	ldr	w1, [sp, #28]
Lloh12:
	adrp	x8, _SECCLASS_PEER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SECCLASS_PEER@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _PEER__RECV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PEER__RECV@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	add	x4, sp, #16
	mov	x0, x20
	bl	_avc_has_perm
	mov	x23, x0
	cbz	w0, LBB0_1
; %bb.7:
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	bl	_selinux_netlbl_err
	b	LBB0_1
LBB0_8:
	add	x3, sp, #16
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_selinux_netlbl_sock_rcv_skb
	mov	x23, x0
	cbnz	w0, LBB0_1
; %bb.9:
	ldr	w0, [x22]
	add	x2, sp, #16
	mov	x1, x19
	bl	_selinux_xfrm_sock_rcv_skb
	mov	x23, x0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NET,4,2                        ; @NET
	.comm	_SECCLASS_PACKET,4,2            ; @SECCLASS_PACKET
	.comm	_PACKET__RECV,4,2               ; @PACKET__RECV
	.comm	_selinux_policycap_netpeer,8,3  ; @selinux_policycap_netpeer
	.comm	_SECCLASS_PEER,4,2              ; @SECCLASS_PEER
	.comm	_PEER__RECV,4,2                 ; @PEER__RECV
	.no_dead_strip	_selinux_sock_rcv_skb_compat
.subsections_via_symbols
