	.file	"extr_items.c_item_stats_sizes_enable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"error"
.LC2:
	.string	"sizes_status"
.LC3:
	.string	"cas_support_disabled"
.LC4:
	.string	"sizes_error"
.LC5:
	.string	"enabled"
.LC6:
	.string	"no_memory"
	.text
	.p2align 4
	.globl	item_stats_sizes_enable
	.type	item_stats_sizes_enable, @function
item_stats_sizes_enable:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, stats_sizes_lock[rip]
	call	mutex_lock@PLT
	mov	eax, DWORD PTR settings[rip]
	test	eax, eax
	je	.L8
	cmp	QWORD PTR stats_sizes_hist[rip], 0
	je	.L9
.L4:
	lea	rdx, .LC0[rip]
	lea	rsi, .LC5[rip]
	lea	rdi, .LC2[rip]
	call	APPEND_STAT@PLT
.L3:
	lea	rdi, stats_sizes_lock[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	item_stats_sizes_init@PLT
	cmp	QWORD PTR stats_sizes_hist[rip], 0
	jne	.L4
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	APPEND_STAT@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC6[rip]
	lea	rdi, .LC4[rip]
	call	APPEND_STAT@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	APPEND_STAT@PLT
	lea	rdi, .LC4[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC3[rip]
	call	APPEND_STAT@PLT
	lea	rdi, stats_sizes_lock[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	item_stats_sizes_enable, .-item_stats_sizes_enable
	.comm	stats_sizes_lock,4,4
	.comm	stats_sizes_hist,8,8
	.comm	settings,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_items.c_item_stats_sizes_enable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"error\000"
	.align	2
.LC2:
	.ascii	"sizes_status\000"
	.align	2
.LC3:
	.ascii	"cas_support_disabled\000"
	.align	2
.LC4:
	.ascii	"sizes_error\000"
	.align	2
.LC5:
	.ascii	"enabled\000"
	.align	2
.LC6:
	.ascii	"no_memory\000"
	.text
	.align	2
	.global	item_stats_sizes_enable
	.syntax unified
	.arm
	.fpu softvfp
	.type	item_stats_sizes_enable, %function
item_stats_sizes_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, .L10
	bl	mutex_lock
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r4, .L10+8
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L9
.L4:
	ldr	r2, .L10+12
	ldr	r1, .L10+16
	ldr	r0, .L10+20
	bl	APPEND_STAT
.L3:
	pop	{r4, lr}
	ldr	r0, .L10
	b	mutex_unlock
.L9:
	bl	item_stats_sizes_init
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L4
	ldr	r2, .L10+12
	ldr	r1, .L10+24
	ldr	r0, .L10+20
	bl	APPEND_STAT
	ldr	r2, .L10+12
	ldr	r1, .L10+28
	ldr	r0, .L10+32
	bl	APPEND_STAT
	b	.L3
.L8:
	ldr	r2, .L10+12
	ldr	r1, .L10+24
	ldr	r0, .L10+20
	bl	APPEND_STAT
	ldr	r2, .L10+12
	ldr	r1, .L10+36
	ldr	r0, .L10+32
	bl	APPEND_STAT
	pop	{r4, lr}
	ldr	r0, .L10
	b	mutex_unlock
.L11:
	.align	2
.L10:
	.word	stats_sizes_lock
	.word	settings
	.word	stats_sizes_hist
	.word	.LC0
	.word	.LC5
	.word	.LC2
	.word	.LC1
	.word	.LC6
	.word	.LC4
	.word	.LC3
	.size	item_stats_sizes_enable, .-item_stats_sizes_enable
	.comm	stats_sizes_lock,4,4
	.comm	stats_sizes_hist,4,4
	.comm	settings,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
