	.file	"extr_heapam.c_log_heap_visible.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	log_heap_visible
	.type	log_heap_visible, @function
log_heap_visible:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edi, esi
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	BufferIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	mov	edi, r12d
	call	BufferIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	xor	eax, eax
	mov	DWORD PTR 4[rsp], r13d
	mov	DWORD PTR [rsp], ebx
	call	XLogBeginInsert@PLT
	mov	esi, DWORD PTR SizeOfHeapVisible[rip]
	mov	rdi, rsp
	call	XLogRegisterData@PLT
	xor	edx, edx
	mov	esi, r12d
	xor	edi, edi
	call	XLogRegisterBuffer@PLT
	xor	eax, eax
	mov	r12d, DWORD PTR REGBUF_STANDARD[rip]
	call	XLogHintBitIsNeeded@PLT
	test	eax, eax
	jne	.L2
	or	r12d, DWORD PTR REGBUF_NO_IMAGE[rip]
.L2:
	mov	edx, r12d
	mov	esi, ebp
	mov	edi, 1
	call	XLogRegisterBuffer@PLT
	mov	esi, DWORD PTR XLOG_HEAP2_VISIBLE[rip]
	mov	edi, DWORD PTR RM_HEAP2_ID[rip]
	call	XLogInsert@PLT
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	log_heap_visible, .-log_heap_visible
	.comm	XLOG_HEAP2_VISIBLE,4,4
	.comm	SizeOfHeapVisible,4,4
	.comm	RM_HEAP2_ID,4,4
	.comm	REGBUF_STANDARD,4,4
	.comm	REGBUF_NO_IMAGE,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_heapam.c_log_heap_visible.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	log_heap_visible
	.syntax unified
	.arm
	.fpu softvfp
	.type	log_heap_visible, %function
log_heap_visible:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	mov	r6, r3
	ldr	r3, .L7
	sub	sp, sp, #20
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r7, [sp, #40]
	bl	BufferIsValid
	bl	Assert
	mov	r0, r5
	bl	BufferIsValid
	bl	Assert
	str	r6, [sp, #8]
	str	r7, [sp, #4]
	bl	XLogBeginInsert
	ldr	r3, .L7+4
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	XLogRegisterData
	mov	r2, #0
	mov	r1, r5
	mov	r0, r2
	bl	XLogRegisterBuffer
	ldr	r3, .L7+8
	ldr	r5, [r3]
	bl	XLogHintBitIsNeeded
	cmp	r0, #0
	ldreq	r3, .L7+12
	mov	r1, r4
	ldreq	r3, [r3]
	mov	r0, #1
	orreq	r5, r5, r3
	mov	r2, r5
	bl	XLogRegisterBuffer
	ldr	r2, .L7+16
	ldr	r3, .L7+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	XLogInsert
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	SizeOfHeapVisible
	.word	REGBUF_STANDARD
	.word	REGBUF_NO_IMAGE
	.word	XLOG_HEAP2_VISIBLE
	.word	RM_HEAP2_ID
	.size	log_heap_visible, .-log_heap_visible
	.comm	XLOG_HEAP2_VISIBLE,4,4
	.comm	SizeOfHeapVisible,4,4
	.comm	RM_HEAP2_ID,4,4
	.comm	REGBUF_STANDARD,4,4
	.comm	REGBUF_NO_IMAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
