	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thr_malloc_lock
_thr_malloc_lock:                       ## @thr_malloc_lock
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	incl	(%rdi)
	callq	_TID
	movq	_thr_malloc_umtx@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	__thr_umutex_lock               ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_thr_malloc_umtx,4,2            ## @thr_malloc_umtx
	.no_dead_strip	_thr_malloc_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thr_malloc_lock
_thr_malloc_lock:                       ; @thr_malloc_lock
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	bl	_TID
	mov	x1, x0
Lloh0:
	adrp	x0, _thr_malloc_umtx@GOTPAGE
Lloh1:
	ldr	x0, [x0, _thr_malloc_umtx@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	__thr_umutex_lock
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_thr_malloc_umtx,4,2            ; @thr_malloc_umtx
	.no_dead_strip	_thr_malloc_lock
.subsections_via_symbols
