	.file	"extr_ipc-win.c_create_restricted_sd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"O:%sD:(A;;GRGW;;;%s)S:(ML;;NRNWNX;;;%s)"
	.text
	.p2align 4
	.type	create_restricted_sd, @function
create_restricted_sd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_user_sid@PLT
	mov	rbp, rax
	xor	eax, eax
	call	get_integrity_sid@PLT
	test	rbp, rbp
	je	.L4
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	r8, rax
	mov	rcx, rbp
	mov	rdx, rbp
	xor	edi, edi
	lea	rsi, .LC0[rip]
	call	talloc_asprintf@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	LocalFree@PLT
	mov	rdi, r12
	call	LocalFree@PLT
	mov	esi, DWORD PTR SDDL_REVISION_1[rip]
	mov	rdx, rsp
	xor	ecx, ecx
	mov	rdi, r13
	mov	QWORD PTR [rsp], 0
	call	ConvertStringSecurityDescriptorToSecurityDescriptorA@PLT
	mov	rdi, r13
	call	talloc_free@PLT
	mov	rax, QWORD PTR [rsp]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_restricted_sd, .-create_restricted_sd
	.comm	SDDL_REVISION_1,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_ipc-win.c_create_restricted_sd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"O:%sD:(A;;GRGW;;;%s)S:(ML;;NRNWNX;;;%s)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_restricted_sd, %function
create_restricted_sd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L8
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	get_user_sid
	mov	r5, r0
	bl	get_integrity_sid
	clz	r4, r0
	cmp	r5, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	movne	r0, #0
	bne	.L1
	mov	r3, r5
	mov	r2, r5
	ldr	r1, .L8+4
	mov	r6, r0
	str	r0, [sp]
	mov	r0, r4
	bl	talloc_asprintf
	mov	r7, r0
	mov	r0, r5
	bl	LocalFree
	mov	r0, r6
	bl	LocalFree
	ldr	r2, .L8+8
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r7
	add	r2, sp, #8
	str	r4, [sp, #8]
	bl	ConvertStringSecurityDescriptorToSecurityDescriptorA
	mov	r0, r7
	bl	talloc_free
	ldr	r0, [sp, #8]
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	SDDL_REVISION_1
	.size	create_restricted_sd, .-create_restricted_sd
	.comm	SDDL_REVISION_1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
