	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm_get_locked_range
_stm_get_locked_range:                  ## @stm_get_locked_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %r8
	movq	_SR_BP2@GOTPCREL(%rip), %rcx
	movq	_SR_BP1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_SR_BP0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %r10d
	andl	%esi, %r10d
	je	LBB0_1
## %bb.2:
	bsfl	%eax, %r9d
	xorl	%eax, %r10d
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sbbl	%ecx, %ecx
	orb	%r9b, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r10d
	movl	4(%rdi), %r9d
	movl	%r10d, %ecx
	sarl	%cl, %r9d
	movl	%r9d, (%r8)
	movq	_SNOR_F_HAS_SR_TB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.3:
	movq	_SR_TB@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$0, (%rdx)
	popq	%rbp
	retq
LBB0_1:
	movl	$0, (%rdx)
	movl	$0, (%r8)
	popq	%rbp
	retq
LBB0_5:
	movl	4(%rdi), %eax
	subl	%r9d, %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SR_BP2,4,2                     ## @SR_BP2
	.comm	_SR_BP1,4,2                     ## @SR_BP1
	.comm	_SR_BP0,4,2                     ## @SR_BP0
	.comm	_SNOR_F_HAS_SR_TB,4,2           ## @SNOR_F_HAS_SR_TB
	.comm	_SR_TB,4,2                      ## @SR_TB
	.no_dead_strip	_stm_get_locked_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm_get_locked_range
_stm_get_locked_range:                  ; @stm_get_locked_range
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SR_BP2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SR_BP2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SR_BP1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SR_BP1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SR_BP0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SR_BP0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ands	w9, w8, w1
	b.eq	LBB0_4
; %bb.1:
	rbit	w10, w8
	clz	w10, w10
	cmp	w8, #0
	csinv	w10, w10, wzr, ne
	eor	w8, w9, w8
	asr	w8, w8, w10
	ldr	w9, [x0, #4]
	asr	w8, w9, w8
	str	w8, [x3]
	ldr	w9, [x0]
Lloh9:
	adrp	x10, _SNOR_F_HAS_SR_TB@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SNOR_F_HAS_SR_TB@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.2:
Lloh12:
	adrp	x9, _SR_TB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SR_TB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_5
; %bb.3:
	str	wzr, [x2]
	ret
LBB0_4:
	str	wzr, [x2]
	str	wzr, [x3]
	ret
LBB0_5:
	ldr	w9, [x0, #4]
	sub	w8, w9, w8
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SR_BP2,4,2                     ; @SR_BP2
	.comm	_SR_BP1,4,2                     ; @SR_BP1
	.comm	_SR_BP0,4,2                     ; @SR_BP0
	.comm	_SNOR_F_HAS_SR_TB,4,2           ; @SNOR_F_HAS_SR_TB
	.comm	_SR_TB,4,2                      ; @SR_TB
	.no_dead_strip	_stm_get_locked_range
.subsections_via_symbols
