	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delay_towrite
_delay_towrite:                         ## @delay_towrite
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_R5_OVERWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_R5_Insync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
	cmpq	$0, (%r15)
	jne	LBB0_8
LBB0_3:
	movq	_R5C_LOG_CRITICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$1, %eax
	cmpq	$0, (%r15)
	jg	LBB0_8
LBB0_5:
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movl	$1, %eax
	cmpq	$0, (%r15)
	jne	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R5_OVERWRITE,4,2               ## @R5_OVERWRITE
	.comm	_R5_Insync,4,2                  ## @R5_Insync
	.comm	_R5C_LOG_CRITICAL,4,2           ## @R5C_LOG_CRITICAL
	.no_dead_strip	_delay_towrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delay_towrite
_delay_towrite:                         ; @delay_towrite
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _R5_OVERWRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R5_OVERWRITE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _R5_Insync@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R5_Insync@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_2:
Lloh6:
	adrp	x8, _R5C_LOG_CRITICAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R5C_LOG_CRITICAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	cmp	x8, #0
	b.gt	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_2
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_R5_OVERWRITE,4,2               ; @R5_OVERWRITE
	.comm	_R5_Insync,4,2                  ; @R5_Insync
	.comm	_R5C_LOG_CRITICAL,4,2           ; @R5C_LOG_CRITICAL
	.no_dead_strip	_delay_towrite
.subsections_via_symbols
