	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bstp_notify_rtage
_bstp_notify_rtage:                     ## @bstp_notify_rtage
	.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, %rbx
	movq	32(%rdi), %r14
	movq	%r14, %rdi
	callq	_BSTP_LOCK
	xorl	%r15d, %r15d
	cmpl	$128, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %eax
	movq	_BSTP_TICK_VAL@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r15d
LBB0_2:
	movq	%r14, %rdi
	callq	_BSTP_UNLOCK
	cmpl	$1, 8(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %edi
	movl	%r15d, %esi
	callq	*%rax
LBB0_5:
	movq	%r14, %rdi
	callq	_BSTP_LOCK
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BSTP_UNLOCK                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BSTP_TICK_VAL,4,2              ## @BSTP_TICK_VAL
	.no_dead_strip	_bstp_notify_rtage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bstp_notify_rtage
_bstp_notify_rtage:                     ; @bstp_notify_rtage
	.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
	mov	x20, x0
	ldr	x19, [x0, #32]
	mov	x0, x19
	bl	_BSTP_LOCK
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _BSTP_TICK_VAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSTP_TICK_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w21, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	mov	x0, x19
	bl	_BSTP_UNLOCK
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x20, #24]
	mov	x1, x21
	blr	x8
LBB0_6:
	mov	x0, x19
	bl	_BSTP_LOCK
	str	xzr, [x20, #16]
	mov	x0, x19
	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
	b	_BSTP_UNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BSTP_TICK_VAL,4,2              ; @BSTP_TICK_VAL
	.no_dead_strip	_bstp_notify_rtage
.subsections_via_symbols
