	.file	"extr_hooks.c_selinux_sctp_assoc_request.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	selinux_sctp_assoc_request, @function
selinux_sctp_assoc_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR SECINITSID_UNLABELED[rip]
	movaps	XMMWORD PTR 32[rsp], xmm0
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	selinux_policycap_extsockclass@PLT
	test	eax, eax
	jne	.L13
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	eax, eax
	call	selinux_peerlbl_enabled@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rax, rax
	jne	.L15
.L4:
	mov	rax, QWORD PTR SCTP_ASSOC_UNSET[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L16
	mov	r10, QWORD PTR 8[rbx]
	cmp	r10, rsi
	jne	.L17
.L6:
	mov	edi, DWORD PTR 16[rbx]
	lea	rdx, 8[rsp]
	call	selinux_conn_sid@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 0[rbp], rax
	call	selinux_netlbl_sctp_assoc_request@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR LSM_AUDIT_DATA_NET[rip]
	mov	ecx, DWORD PTR 20[rbx]
	mov	rdx, rsi
	lea	r9, 16[rsp]
	mov	r8d, DWORD PTR SCTP_SOCKET__ASSOCIATION[rip]
	mov	rsi, r10
	lea	rdi, selinux_state[rip]
	mov	DWORD PTR 24[rsp], eax
	lea	rax, 32[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR 32[rsp], rax
	call	avc_has_perm@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR [rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, rsp
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	selinux_skb_peerlbl_sid@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR [rsp]
	cmp	rsi, QWORD PTR SECSID_NULL[rip]
	jne	.L4
	mov	rsi, QWORD PTR SECINITSID_UNLABELED[rip]
	mov	QWORD PTR [rsp], rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR SCTP_ASSOC_SET[rip]
	mov	QWORD PTR 8[rbx], rsi
	mov	QWORD PTR [rbx], rax
	jmp	.L6
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	selinux_sctp_assoc_request, .-selinux_sctp_assoc_request
	.comm	selinux_state,4,4
	.comm	SECSID_NULL,8,8
	.comm	SECINITSID_UNLABELED,8,8
	.comm	SCTP_SOCKET__ASSOCIATION,4,4
	.comm	SCTP_ASSOC_UNSET,8,8
	.comm	SCTP_ASSOC_SET,8,8
	.comm	LSM_AUDIT_DATA_NET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hooks.c_selinux_sctp_assoc_request.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	selinux_sctp_assoc_request, %function
selinux_sctp_assoc_request:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, .L17
	mov	r4, r0
	ldr	r2, [r7]
	ldr	r0, [r0, #8]
	mov	r5, r1
	ldr	r1, .L17+4
	sub	sp, sp, #44
	ldr	r1, [r1]
	str	r1, [sp, #36]
	mov	r1,#0
	ldr	r6, [r0, #4]
	str	r2, [sp, #12]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	bl	selinux_policycap_extsockclass
	cmp	r0, #0
	bne	.L13
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	bl	selinux_peerlbl_enabled
	cmp	r0, #0
	bne	.L3
	ldr	r1, [sp, #12]
.L4:
	ldr	r3, .L17+8
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
	ldr	r0, [r6, #4]
	cmp	r0, r1
	bne	.L16
.L6:
	ldr	r0, [r6, #8]
	add	r2, sp, #16
	bl	selinux_conn_sid
	cmp	r0, #0
	bne	.L1
	ldr	r2, [sp, #16]
	ldr	r3, [sp, #12]
	mov	r1, r5
	mov	r0, r4
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	selinux_netlbl_sctp_assoc_request
	b	.L1
.L16:
	ldr	r2, .L17+12
	ldr	r3, .L17+16
	ldr	ip, [r2]
	ldr	lr, [r3]
	mov	r2, r1
	ldr	r3, [r6, #12]
	mov	r1, r0
	str	ip, [sp]
	add	r0, sp, #28
	ldr	ip, [r4, #8]
	str	r0, [sp, #20]
	add	r0, sp, #20
	str	r0, [sp, #4]
	ldr	r0, .L17+20
	str	lr, [sp, #24]
	str	ip, [sp, #28]
	bl	avc_has_perm
	cmp	r0, #0
	bne	.L1
	ldr	r1, [sp, #12]
	b	.L6
.L3:
	ldr	r3, [r4, #8]
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #12
	bl	selinux_skb_peerlbl_sid
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L17+24
	ldr	r1, [sp, #12]
	ldr	r3, [r3]
	cmp	r1, r3
	ldreq	r1, [r7]
	streq	r1, [sp, #12]
	b	.L4
.L15:
	ldr	r3, .L17+28
	str	r1, [r6, #4]
	ldr	r3, [r3]
	str	r3, [r6]
	b	.L6
.L14:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	SECINITSID_UNLABELED
	.word	.LC0
	.word	SCTP_ASSOC_UNSET
	.word	SCTP_SOCKET__ASSOCIATION
	.word	LSM_AUDIT_DATA_NET
	.word	selinux_state
	.word	SECSID_NULL
	.word	SCTP_ASSOC_SET
	.size	selinux_sctp_assoc_request, .-selinux_sctp_assoc_request
	.comm	selinux_state,4,4
	.comm	SECSID_NULL,4,4
	.comm	SECINITSID_UNLABELED,4,4
	.comm	SCTP_SOCKET__ASSOCIATION,4,4
	.comm	SCTP_ASSOC_UNSET,4,4
	.comm	SCTP_ASSOC_SET,4,4
	.comm	LSM_AUDIT_DATA_NET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
