	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_heap_visible               ## -- Begin function log_heap_visible
	.p2align	4, 0x90
_log_heap_visible:                      ## @log_heap_visible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_BufferIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%r15d, %edi
	callq	_BufferIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%ebx, -36(%rbp)
	movl	%r12d, -40(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_SizeOfHeapVisible@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	_XLogRegisterData
	xorl	%edi, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_XLogRegisterBuffer
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_XLogHintBitIsNeeded
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_REGBUF_NO_IMAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	orl	%r15d, %ebx
	movl	$1, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_XLogRegisterBuffer
	movq	_RM_HEAP2_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_HEAP2_VISIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeOfHeapVisible,4,2          ## @SizeOfHeapVisible
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_REGBUF_NO_IMAGE,4,2            ## @REGBUF_NO_IMAGE
	.comm	_RM_HEAP2_ID,4,2                ## @RM_HEAP2_ID
	.comm	_XLOG_HEAP2_VISIBLE,4,2         ## @XLOG_HEAP2_VISIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_heap_visible               ; -- Begin function log_heap_visible
	.p2align	2
_log_heap_visible:                      ; @log_heap_visible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x0, x1
	bl	_BufferIsValid
	bl	_Assert
	mov	x0, x21
	bl	_BufferIsValid
	bl	_Assert
	stp	w19, w20, [sp, #8]
	bl	_XLogBeginInsert
Lloh0:
	adrp	x8, _SizeOfHeapVisible@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SizeOfHeapVisible@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_XLogRegisterData
	mov	w0, #0
	mov	x1, x21
	mov	w2, #0
	bl	_XLogRegisterBuffer
Lloh3:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_XLogHintBitIsNeeded
Lloh6:
	adrp	x8, _REGBUF_NO_IMAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REGBUF_NO_IMAGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w2, w8, w19
	mov	w0, #1
	mov	x1, x22
	bl	_XLogRegisterBuffer
Lloh9:
	adrp	x8, _RM_HEAP2_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RM_HEAP2_ID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _XLOG_HEAP2_VISIBLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XLOG_HEAP2_VISIBLE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_XLogInsert
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeOfHeapVisible,4,2          ; @SizeOfHeapVisible
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_REGBUF_NO_IMAGE,4,2            ; @REGBUF_NO_IMAGE
	.comm	_RM_HEAP2_ID,4,2                ; @RM_HEAP2_ID
	.comm	_XLOG_HEAP2_VISIBLE,4,2         ; @XLOG_HEAP2_VISIBLE
.subsections_via_symbols
