	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_client_lease_statement   ## -- Begin function parse_client_lease_statement
	.p2align	4, 0x90
_parse_client_lease_statement:          ## @parse_client_lease_statement
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_next_token
	movq	_LBRACE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.1:
	movl	$40, %edi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r14, %r12
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, (%r14)
	movq	$0, -48(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_peek_token
	movq	_EOF@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	je	LBB0_7
## %bb.4:
	movq	_RBRACE@GOTPCREL(%rip), %r15
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %eax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_parse_client_lease_declaration
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_peek_token
	cmpl	(%r14), %eax
	jne	LBB0_5
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_parse_warn
LBB0_8:
	movq	%r12, %rdi
	callq	_free_client_lease
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_parse_warn
	movq	%rbx, %rdi
	callq	_skip_to_semi
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_next_token
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.12:
	cmpq	$0, (%rdi)
	jne	LBB0_14
## %bb.13:
	callq	_make_client_state
LBB0_14:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	cmpl	$2, %r14d
	jne	LBB0_16
## %bb.15:
	movq	%r12, 16(%rax)
	jmp	LBB0_10
LBB0_16:
	movq	8(%rax), %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	16(%rbx), %rbx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	24(%rbx), %rdx
	cmpq	24(%r12), %rdx
	jne	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	32(%rbx), %edi
	movl	32(%r12), %esi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.21:
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 8(%rcx)
	movq	%rbx, %rdi
	callq	_free_client_lease
LBB0_22:
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.23:
	movq	8(%rcx), %rax
	movq	%rax, 16(%r12)
	movq	%r12, 8(%rcx)
	jmp	LBB0_10
LBB0_24:
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.25:
	movq	8(%rdi), %rax
	movq	_cur_time@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jge	LBB0_27
LBB0_30:
	callq	_free_client_lease
	jmp	LBB0_31
LBB0_27:
	movq	24(%rdi), %rdx
	cmpq	24(%r12), %rdx
	jne	LBB0_29
## %bb.28:
	movl	32(%rdi), %edi
	movl	32(%r12), %esi
	callq	_memcmp
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	testl	%eax, %eax
	je	LBB0_30
LBB0_29:
	movq	8(%rcx), %rax
	movq	%rax, 16(%rdi)
	movq	%rdi, 8(%rcx)
LBB0_31:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	%r12, (%rax)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_LBRACE,4,2                     ## @LBRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expecting left brace."

L_.str.1:                               ## @.str.1
	.asciz	"no memory for lease."

	.comm	_EOF,4,2                        ## @EOF
L_.str.2:                               ## @.str.2
	.asciz	"unterminated lease declaration."

	.comm	_RBRACE,4,2                     ## @RBRACE
	.comm	_cur_time,8,3                   ## @cur_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_client_lease_statement   ; -- Begin function parse_client_lease_statement
	.p2align	2
_parse_client_lease_statement:          ; @parse_client_lease_statement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	mov	x0, sp
	mov	x1, x21
	bl	_next_token
Lloh0:
	adrp	x8, _LBRACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LBRACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.1:
	mov	w0, #40
	bl	_malloc
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	w20, [x19]
	str	xzr, [sp, #8]
	mov	x0, sp
	mov	x1, x21
	bl	_peek_token
Lloh5:
	adrp	x22, _EOF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.4:
Lloh7:
	adrp	x23, _RBRACE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _RBRACE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x19
	bl	_parse_client_lease_declaration
	mov	x0, sp
	mov	x1, x21
	bl	_peek_token
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_7:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_parse_warn
LBB0_8:
	mov	x0, x19
	bl	_free_client_lease
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_parse_warn
	mov	x0, x21
	bl	_skip_to_semi
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	mov	x0, sp
	mov	x1, x21
	bl	_next_token
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.12:
	ldr	x8, [x0]
	cbnz	x8, LBB0_14
; %bb.13:
	bl	_make_client_state
LBB0_14:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	cmp	w20, #2
	b.ne	LBB0_16
; %bb.15:
	str	x19, [x8, #16]
	b	LBB0_10
LBB0_16:
	ldr	x21, [x8, #8]
	cbnz	x21, LBB0_18
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x21, #24]
	ldr	x8, [x19, #24]
	cmp	x2, x8
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x21, #32]
	ldr	w1, [x19, #32]
	bl	_memcmp
	cbnz	w0, LBB0_17
; %bb.20:
	ldr	x8, [x21, #16]
	ldr	x9, [sp, #8]
	ldr	x9, [x9]
	str	x8, [x9, #8]
	mov	x0, x21
	bl	_free_client_lease
LBB0_21:
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	cbz	w20, LBB0_23
; %bb.22:
	ldr	x8, [x9, #8]
	str	x8, [x19, #16]
	str	x19, [x9, #8]
	b	LBB0_10
LBB0_23:
	ldr	x0, [x9]
	cbz	x0, LBB0_29
; %bb.24:
	ldr	x8, [x0, #8]
Lloh13:
	adrp	x10, _cur_time@GOTPAGE
Lloh14:
	ldr	x10, [x10, _cur_time@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ge	LBB0_26
LBB0_25:
	bl	_free_client_lease
	b	LBB0_29
LBB0_26:
	ldr	x2, [x0, #24]
	ldr	x8, [x19, #24]
	cmp	x2, x8
	b.ne	LBB0_28
; %bb.27:
	ldr	w0, [x0, #32]
	ldr	w1, [x19, #32]
	bl	_memcmp
	mov	x8, x0
	ldr	x9, [sp, #8]
	ldr	x9, [x9]
	ldr	x0, [x9]
	cbz	w8, LBB0_25
LBB0_28:
	ldr	x8, [x9, #8]
	str	x8, [x0, #16]
	str	x0, [x9, #8]
LBB0_29:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	str	x19, [x8]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LBRACE,4,2                     ; @LBRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expecting left brace."

l_.str.1:                               ; @.str.1
	.asciz	"no memory for lease."

	.comm	_EOF,4,2                        ; @EOF
l_.str.2:                               ; @.str.2
	.asciz	"unterminated lease declaration."

	.comm	_RBRACE,4,2                     ; @RBRACE
	.comm	_cur_time,8,3                   ; @cur_time
.subsections_via_symbols
