	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transaction_wait
_transaction_wait:                      ## @transaction_wait
	.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
	movq	%rdi, %rbx
	callq	_check_is_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_transaction_interrupting_signal@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_6
## %bb.2:
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_interrupted_by_cancelled
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -32(%rbp)
	movl	$50000000, -40(%rbp)            ## imm = 0x2FAF080
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_nanosleep
	movq	%rbx, %rdi
	callq	_check_is_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r15)
	je	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_transaction_interrupting_signal,4,2 ## @transaction_interrupting_signal
	.no_dead_strip	_transaction_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transaction_wait
_transaction_wait:                      ; @transaction_wait
	.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
	mov	x19, x0
	bl	_check_is_running
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x20, _transaction_interrupting_signal@GOTPAGE
Lloh1:
	ldr	x20, [x20, _transaction_interrupting_signal@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_6
; %bb.2:
	mov	w21, #61568
	movk	w21, #762, lsl #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_interrupted_by_cancelled
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [sp, #8]
	str	w21, [sp]
	mov	x0, sp
	mov	x1, #0
	bl	_nanosleep
	mov	x0, x19
	bl	_check_is_running
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_3
LBB0_6:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_transaction_interrupting_signal,4,2 ; @transaction_interrupting_signal
	.no_dead_strip	_transaction_wait
.subsections_via_symbols
