	.file	"extr_mac_lomac.c_lomac_socket_check_relabel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lomac_socket_check_relabel, @function
lomac_socket_check_relabel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, rsi
	call	SOCK_LOCK_ASSERT@PLT
	mov	rdi, rbp
	call	SLOT@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rbp, rax
	call	SLOT@PLT
	mov	rdi, r12
	mov	r13, rax
	call	SLOT@PLT
	mov	esi, DWORD PTR MAC_LOMAC_FLAG_SINGLE[rip]
	mov	rdi, rbp
	mov	r14, rax
	call	lomac_atmostflags@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L13
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, r14
	call	lomac_single_in_range@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR MAC_LOMAC_FLAG_SINGLE[rip], eax
	je	.L1
	mov	rsi, r13
	mov	rdi, rbp
	call	lomac_single_in_range@PLT
	test	eax, eax
	je	.L11
	mov	rdi, rbp
	call	lomac_contains_equal@PLT
	test	rax, rax
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	lomac_subject_privileged@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR EPERM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lomac_socket_check_relabel, .-lomac_socket_check_relabel
	.comm	MAC_LOMAC_FLAG_SINGLE,4,4
	.comm	EPERM,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_mac_lomac.c_lomac_socket_check_relabel.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lomac_socket_check_relabel, %function
lomac_socket_check_relabel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r6, r0
	mov	r0, r1
	mov	r4, r2
	bl	SOCK_LOCK_ASSERT
	mov	r0, r5
	bl	SLOT
	mov	r5, r0
	ldr	r0, [r6]
	bl	SLOT
	mov	r8, r0
	mov	r0, r4
	bl	SLOT
	ldr	r7, .L14
	mov	r6, r0
	ldr	r1, [r7]
	mov	r0, r5
	bl	lomac_atmostflags
	subs	r4, r0, #0
	beq	.L13
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r6
	mov	r1, r8
	bl	lomac_single_in_range
	cmp	r0, #0
	beq	.L11
	ldr	r3, [r7]
	ldr	r2, [r5]
	tst	r2, r3
	beq	.L1
	mov	r1, r8
	mov	r0, r5
	bl	lomac_single_in_range
	cmp	r0, #0
	beq	.L11
	mov	r0, r5
	bl	lomac_contains_equal
	cmp	r0, #0
	beq	.L1
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, lr}
	b	lomac_subject_privileged
.L11:
	ldr	r3, .L14+4
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	MAC_LOMAC_FLAG_SINGLE
	.word	EPERM
	.size	lomac_socket_check_relabel, .-lomac_socket_check_relabel
	.comm	MAC_LOMAC_FLAG_SINGLE,4,4
	.comm	EPERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
