	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function submit_unlock_object
_submit_unlock_object:                  ## @submit_unlock_object
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movslq	%esi, %rbx
	shlq	$4, %rbx
	movq	_BO_LOCKED@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%ecx, (%rax,%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rax,%rbx), %rax
	movq	(%rax), %rdi
	callq	_ww_mutex_unlock
	movl	(%r15), %eax
	notl	%eax
	movq	(%r14), %rcx
	andl	%eax, (%rcx,%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BO_LOCKED,4,2                  ## @BO_LOCKED
	.no_dead_strip	_submit_unlock_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function submit_unlock_object
_submit_unlock_object:                  ; @submit_unlock_object
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	sbfiz	x9, x1, #4, #32
	ldr	w9, [x8, x9]
Lloh0:
	adrp	x20, _BO_LOCKED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BO_LOCKED@GOTPAGEOFF]
	ldr	w10, [x20]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	sxtw	x9, w1
	lsl	x21, x9, #4
	add	x8, x8, x21
	ldr	x8, [x8, #8]
	ldr	x0, [x8]
	bl	_ww_mutex_unlock
	ldr	w8, [x20]
	ldr	x9, [x19]
	ldr	w10, [x9, x21]
	bic	w8, w10, w8
	str	w8, [x9, x21]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BO_LOCKED,4,2                  ; @BO_LOCKED
	.no_dead_strip	_submit_unlock_object
.subsections_via_symbols
