	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_add_prop                  ## -- Begin function menu_add_prop
	.p2align	4, 0x90
_menu_add_prop:                         ## @menu_add_prop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	_current_entry@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	24(%rax), %esi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_prop_alloc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	%r13, 16(%r14)
	movq	%r12, %rdi
	callq	_menu_check_dep
	movl	%eax, 8(%r14)
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movsbl	(%r15), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_prop_warn
	decq	%r15
	movq	_current_entry@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%r15), %edi
	incq	%r15
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_3:
	movq	_current_entry@GOTPCREL(%rip), %r12
LBB0_6:
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	cmpq	_rootmenu@GOTPCREL(%rip), %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_prop_warn
LBB0_9:
	movq	_P_PROMPT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_15
## %bb.10:
	movq	(%r12), %rax
	movq	16(%rax), %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rbx
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_expr_copy
	movl	8(%r14), %edi
	movq	%rax, %rsi
	callq	_expr_alloc_and
	movl	%eax, 8(%r14)
	jmp	LBB0_14
LBB0_15:
	movq	(%r12), %rax
	movq	%r14, (%rax)
LBB0_16:
	movq	%r15, (%r14)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_entry,8,3              ## @current_entry
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"leading whitespace ignored"

	.comm	_rootmenu,32,3                  ## @rootmenu
L_.str.1:                               ## @.str.1
	.asciz	"prompt redefined"

	.comm	_P_PROMPT,4,2                   ## @P_PROMPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_add_prop                  ; -- Begin function menu_add_prop
	.p2align	2
_menu_add_prop:                         ; @menu_add_prop
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _current_entry@GOTPAGE
Lloh1:
	ldr	x24, [x24, _current_entry@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w1, [x8, #24]
	bl	_prop_alloc
	mov	x20, x0
	ldr	x8, [x24]
	stp	x23, x8, [x0, #16]
	mov	x0, x22
	bl	_menu_check_dep
	str	w0, [x20, #8]
	cbz	x19, LBB0_9
; %bb.1:
	ldrsb	w0, [x19]
	bl	_isspace
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_prop_warn
	sub	x19, x19, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, #1]!
	bl	_isspace
	cbnz	x0, LBB0_3
LBB0_4:
	ldr	x8, [x24]
	ldr	x9, [x8]
	cmp	x9, #0
Lloh4:
	adrp	x9, _rootmenu@GOTPAGE
Lloh5:
	ldr	x9, [x9, _rootmenu@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
	b.eq	LBB0_6
; %bb.5:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_prop_warn
LBB0_6:
Lloh8:
	adrp	x8, _P_PROMPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P_PROMPT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x24]
	ldr	x21, [x8, #16]
	cbnz	x21, LBB0_11
LBB0_8:
	ldr	x8, [x24]
	str	x20, [x8]
LBB0_9:
	str	x19, [x20]
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #8]
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_expr_copy
	mov	x1, x0
	ldr	w0, [x20, #8]
	bl	_expr_alloc_and
	str	w0, [x20, #8]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_current_entry,8,3              ; @current_entry
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"leading whitespace ignored"

	.comm	_rootmenu,32,3                  ; @rootmenu
l_.str.1:                               ; @.str.1
	.asciz	"prompt redefined"

	.comm	_P_PROMPT,4,2                   ; @P_PROMPT
.subsections_via_symbols
