	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_into_lock_heap
_put_into_lock_heap:                    ## @put_into_lock_heap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
LBB0_2:
	callq	_assert
	movq	_LHN@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_LOCK_HEAP_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_assert
	movq	(%r14), %rdi
	incq	%rdi
	movq	%rdi, (%r14)
	movq	_locked_long_transactions@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lock_heap_adjust               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LHN,8,3                        ## @LHN
	.comm	_LOCK_HEAP_SIZE,8,3             ## @LOCK_HEAP_SIZE
	.comm	_locked_long_transactions,8,3   ## @locked_long_transactions
	.no_dead_strip	_put_into_lock_heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_into_lock_heap
_put_into_lock_heap:                    ; @put_into_lock_heap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:
	bl	_assert
Lloh0:
	adrp	x20, _LHN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LHN@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _LOCK_HEAP_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOCK_HEAP_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20]
	add	x0, x8, #1
	str	x0, [x20]
Lloh5:
	adrp	x8, _locked_long_transactions@GOTPAGE
Lloh6:
	ldr	x8, [x8, _locked_long_transactions@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lock_heap_adjust
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LHN,8,3                        ; @LHN
	.comm	_LOCK_HEAP_SIZE,8,3             ; @LOCK_HEAP_SIZE
	.comm	_locked_long_transactions,8,3   ; @locked_long_transactions
	.no_dead_strip	_put_into_lock_heap
.subsections_via_symbols
