	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LockReassignCurrentOwner       ## -- Begin function LockReassignCurrentOwner
	.p2align	4, 0x90
_LockReassignCurrentOwner:              ## @LockReassignCurrentOwner
	.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	%esi, %r15d
	movq	%rdi, %r14
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ResourceOwnerGetParent
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_Assert
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movl	%r15d, %ebx
	incq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	movq	(%r14,%rax,8), %rdi
	movq	%r12, %rsi
	callq	_LockReassignOwner
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_3
	jmp	LBB0_7
LBB0_4:
	movq	_LockMethodLocalHash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	callq	_hash_seq_init
	movq	%r14, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-36(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_LockReassignOwner
	movq	%r14, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_LockMethodLocalHash,4,2        ## @LockMethodLocalHash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LockReassignCurrentOwner       ; -- Begin function LockReassignCurrentOwner
	.p2align	2
_LockReassignCurrentOwner:              ; @LockReassignCurrentOwner
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CurrentResourceOwner@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentResourceOwner@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ResourceOwnerGetParent
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	cbz	x20, LBB0_5
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w8, w21
	add	x21, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w21, #2
	ldr	x0, [x20, w8, uxtw #3]
	mov	x1, x19
	bl	_LockReassignOwner
	sub	x21, x21, #1
	cmp	x21, #1
	b.hi	LBB0_3
LBB0_4:
	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
LBB0_5:
Lloh3:
	adrp	x8, _LockMethodLocalHash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LockMethodLocalHash@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_hash_seq_init
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x19
	bl	_LockReassignOwner
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_LockMethodLocalHash,4,2        ; @LockMethodLocalHash
.subsections_via_symbols
