	.file	"extr_cap_syslog.c_vsyslog.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vsyslog"
.LC1:
	.string	"cmd"
.LC2:
	.string	"priority"
.LC3:
	.string	"message"
	.text
	.p2align 4
	.globl	cap_vsyslog
	.type	cap_vsyslog, @function
cap_vsyslog:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbx
	sub	rsp, 16
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR CAP_SYSLOG_LIMIT[rip]
	mov	rdi, rsp
	mov	rbx, rsp
	mov	r8, rax
	add	rax, 15
	mov	rsi, rax
	and	rax, -4096
	sub	rdi, rax
	and	rsi, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L15
.L4:
	mov	esi, r8d
	mov	rdi, rsp
	call	vsnprintf@PLT
	xor	edi, edi
	call	nvlist_create@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	r14, rax
	mov	rdi, rax
	call	nvlist_add_string@PLT
	mov	edx, r13d
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	nvlist_add_number@PLT
	mov	rdx, rsp
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	nvlist_add_string@PLT
	mov	rdi, r12
	mov	rsi, r14
	call	cap_xfer_nvlist@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L12
	call	nvlist_destroy@PLT
.L12:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	mov	rsp, rbx
	jne	.L16
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cap_vsyslog, .-cap_vsyslog
	.comm	CAP_SYSLOG_LIMIT,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_cap_syslog.c_vsyslog.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vsyslog\000"
	.align	2
.LC1:
	.ascii	"cmd\000"
	.align	2
.LC2:
	.ascii	"priority\000"
	.align	2
.LC3:
	.ascii	"message\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cap_vsyslog
	.syntax unified
	.arm
	.fpu softvfp
	.type	cap_vsyslog, %function
cap_vsyslog:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	mov	r6, r1
	ldr	r1, .L9
	mov	r5, r0
	ldr	r1, [r1]
	ldr	ip, .L9+4
	add	r0, r1, #7
	bic	r0, r0, #7
	mov	r7, sp
	sub	sp, sp, r0
	mov	r0, sp
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bl	vsnprintf
	mov	r0, #0
	bl	nvlist_create
	mov	r4, r0
	ldr	r2, .L9+8
	ldr	r1, .L9+12
	bl	nvlist_add_string
	mov	r2, r6
	ldr	r1, .L9+16
	mov	r0, r4
	bl	nvlist_add_number
	mov	r2, sp
	ldr	r1, .L9+20
	mov	r0, r4
	bl	nvlist_add_string
	mov	r1, r4
	mov	r0, r5
	bl	cap_xfer_nvlist
	cmp	r0, #0
	beq	.L6
	bl	nvlist_destroy
.L6:
	ldr	r3, .L9+4
	mov	sp, r7
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	CAP_SYSLOG_LIMIT
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	cap_vsyslog, .-cap_vsyslog
	.comm	CAP_SYSLOG_LIMIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
