	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm_check_lock_status_sr
_stm_check_lock_status_sr:              ## @stm_check_lock_status_sr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	%r8d, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rcx
	callq	_stm_get_locked_range
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	addq	%r14, %rbx
	movq	-40(%rbp), %rax
	movq	-32(%rbp), %rcx
	addq	%rax, %rcx
	cmpq	%rcx, %rbx
	setle	%cl
	cmpq	%r14, %rax
	setle	%al
	andb	%cl, %al
	jmp	LBB0_5
LBB0_1:
	movb	$1, %al
	jmp	LBB0_5
LBB0_4:
	movq	-40(%rbp), %rax
	movq	-32(%rbp), %rcx
	addq	%rax, %rcx
	cmpq	%r14, %rcx
	setle	%cl
	addq	%r14, %rbx
	cmpq	%rax, %rbx
	setle	%al
	orb	%cl, %al
LBB0_5:
	movzbl	%al, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stm_check_lock_status_sr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm_check_lock_status_sr
_stm_check_lock_status_sr:              ; @stm_check_lock_status_sr
	.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
	cbz	x2, LBB0_3
; %bb.1:
	mov	x21, x4
	mov	x8, x3
	mov	x20, x2
	mov	x19, x1
	add	x2, sp, #8
	mov	x3, sp
	mov	x1, x8
	bl	_stm_get_locked_range
	cbz	w21, LBB0_4
; %bb.2:
	add	x8, x20, x19
	ldp	x10, x9, [sp]
	add	x10, x10, x9
	cmp	x9, x19
	ccmp	x8, x10, #0, le
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	ldp	x9, x8, [sp]
	add	x9, x9, x8
	cmp	x9, x19
	add	x9, x20, x19
	ccmp	x9, x8, #4, gt
LBB0_5:
	cset	w0, le
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stm_check_lock_status_sr
.subsections_via_symbols
