	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_compare_load
_st_compare_load:                       ## @st_compare_load
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	addq	$4, %rdi
	callq	_atomic_read
	movq	%rax, %rbx
	leaq	4(%r12), %rdi
	callq	_atomic_read
	movq	%rax, %r14
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	je	LBB0_1
## %bb.2:
	cmpq	%r14, %rbx
	je	LBB0_9
## %bb.3:
	testl	%edx, %edx
	je	LBB0_9
## %bb.4:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.5:
	addq	%r13, %rbx
	addq	%r13, %r14
	movq	_ST_MAX_INFLIGHT_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	setae	%cl
	cmpq	%rax, %r14
	setae	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_unlikely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ST_MAX_RELATIVE_THROUGHPUT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_7:
	shrq	%cl, %r14
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rbx
	movslq	(%r12), %rax
	imulq	%rax, %rbx
	movslq	(%r15), %rcx
	imulq	%rcx, %r14
	cmpq	%r14, %rbx
	jne	LBB0_1
## %bb.8:
	subl	%ecx, %eax
	jmp	LBB0_9
LBB0_1:
	subl	%r14d, %ebx
	movl	%ebx, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_MAX_INFLIGHT_SIZE,8,3       ## @ST_MAX_INFLIGHT_SIZE
	.comm	_ST_MAX_RELATIVE_THROUGHPUT_SHIFT,8,3 ## @ST_MAX_RELATIVE_THROUGHPUT_SHIFT
	.no_dead_strip	_st_compare_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_compare_load
_st_compare_load:                       ; @st_compare_load
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #4
	bl	_atomic_read
	mov	x22, x0
	add	x0, x20, #4
	bl	_atomic_read
	mov	x8, x0
	ldr	w10, [x19]
	ldr	w9, [x20]
	subs	w0, w9, w10
	b.ne	LBB0_2
; %bb.1:
	sub	w0, w22, w8
	b	LBB0_8
LBB0_2:
	cmp	x22, x8
	b.eq	LBB0_8
; %bb.3:
	cbz	w10, LBB0_8
; %bb.4:
	cbz	w9, LBB0_8
; %bb.5:
Lloh0:
	adrp	x9, _ST_MAX_INFLIGHT_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_MAX_INFLIGHT_SIZE@GOTPAGEOFF]
	add	x23, x8, x21
Lloh2:
	ldr	x8, [x9]
	add	x21, x22, x21
	cmp	x21, x8
	ccmp	x23, x8, #2, lo
	cset	w0, hs
	bl	_unlikely
Lloh3:
	adrp	x8, _ST_MAX_RELATIVE_THROUGHPUT_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ST_MAX_RELATIVE_THROUGHPUT_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	lsr	x10, x23, x8
	lsr	x8, x21, x8
	ldrsw	x9, [x20]
	mul	x8, x8, x9
	ldrsw	x11, [x19]
	mul	x10, x10, x11
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.6:
	sub	w0, w9, w11
	b	LBB0_8
LBB0_7:
	sub	w0, w8, w10
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_MAX_INFLIGHT_SIZE,8,3       ; @ST_MAX_INFLIGHT_SIZE
	.comm	_ST_MAX_RELATIVE_THROUGHPUT_SHIFT,8,3 ; @ST_MAX_RELATIVE_THROUGHPUT_SHIFT
	.no_dead_strip	_st_compare_load
.subsections_via_symbols
