	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lease_off                      ## -- Begin function lease_off
	.p2align	4, 0x90
_lease_off:                             ## @lease_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_lease_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_lst_off@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_lease_ready_flag@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_has_pending_scripts
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_rpc_main_target@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rpct_ready
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movq	$0, (%r14)
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lease_state,8,3                ## @lease_state
	.comm	_lst_off,8,3                    ## @lst_off
	.comm	_lease_ready_flag,8,3           ## @lease_ready_flag
	.comm	_rpc_main_target,4,2            ## @rpc_main_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lease_off                      ; -- Begin function lease_off
	.p2align	2
_lease_off:                             ; @lease_off
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _lease_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lease_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _lst_off@GOTPAGE
Lloh4:
	ldr	x9, [x9, _lst_off@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x19, _lease_ready_flag@GOTPAGE
Lloh7:
	ldr	x19, [x19, _lease_ready_flag@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_has_pending_scripts
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _rpc_main_target@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rpc_main_target@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_rpct_ready
	tbnz	x0, #63, LBB0_2
; %bb.5:
	str	xzr, [x19]
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lease_state,8,3                ; @lease_state
	.comm	_lst_off,8,3                    ; @lst_off
	.comm	_lease_ready_flag,8,3           ; @lease_ready_flag
	.comm	_rpc_main_target,4,2            ; @rpc_main_target
.subsections_via_symbols
