	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_item
_print_item:                            ## @print_item
	.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	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	32(%rsi), %rcx
	movq	40(%rsi), %rdx
	movl	%r15d, %esi
	callq	_ok_move
	xorl	%r13d, %r13d
	testq	%rax, %rax
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %r12d
	movq	%r14, %rdi
	callq	_getmaxx
	subq	32(%rbx), %rax
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_MIN
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	movl	48(%rbx), %esi
	movq	_menubox_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	32(%rbx), %r9
	movq	40(%rbx), %r8
	movslq	%r15d, %r13
	subq	%r13, %r8
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	xorl	%edx, %edx
	pushq	%rax
	pushq	%rax
	pushq	%r12
	callq	_dlg_show_string
	addq	$32, %rsp
	movq	40(%rbx), %rsi
	subq	%r13, %rsi
	movl	%r12d, %edx
	addq	32(%rbx), %rdx
	movq	%r14, %rdi
	callq	_move_past
	movl	$1, %r13d
LBB0_3:
	cmpl	$0, 4(%rbx)
	je	LBB0_12
## %bb.4:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ok_move
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movl	4(%rbx), %r12d
	movq	%r14, %rdi
	callq	_getmaxx
	subq	8(%rbx), %rax
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_MIN
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_is_readonly
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:
	movq	_form_item_readonly_attr@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.8:
	movq	_form_text_attr@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_form_active_text_attr@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.11:
	movl	24(%rbx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r13
	movslq	%r15d, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	subq	%rcx, %r13
	movq	%rbx, %rdi
	movl	%eax, %r15d
	callq	_is_hidden
                                        ## kill: def $eax killed $eax def $rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movq	%r13, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	%r10
	pushq	%rax
	pushq	%r12
	callq	_dlg_show_string
	addq	$32, %rsp
	movq	16(%rbx), %rsi
	subq	-48(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%r12d, %edx
	addq	8(%rbx), %rdx
	movq	%r14, %rdi
	callq	_move_past
	movl	$1, %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menubox_attr,4,2               ## @menubox_attr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_form_active_text_attr,4,2      ## @form_active_text_attr
	.comm	_form_text_attr,4,2             ## @form_text_attr
	.comm	_form_item_readonly_attr,4,2    ## @form_item_readonly_attr
	.no_dead_strip	_print_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_item
_print_item:                            ; @print_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x3, x2, [x1, #32]
	mov	x1, x21
	bl	_ok_move
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w23, [x20]
	mov	x0, x19
	bl	_getmaxx
	ldr	x8, [x20, #32]
	sub	x1, x0, x8
	mov	x0, x23
	bl	_MIN
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x23, x0
	ldr	w1, [x20, #48]
Lloh0:
	adrp	x8, _menubox_attr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menubox_attr@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	sxtw	x24, w21
	ldp	x5, x8, [x20, #32]
	sub	x4, x8, x24
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w7, [x8]
	str	w7, [sp]
	mov	x0, x19
	mov	w2, #0
	mov	x6, x23
	bl	_dlg_show_string
	ldp	x9, x8, [x20, #32]
	sub	x1, x8, x24
	add	x2, x9, w23, uxtw
	mov	x0, x19
	bl	_move_past
	mov	w23, #1
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_4
	b	LBB0_10
LBB0_3:
	mov	w23, #0
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_10
LBB0_4:
	ldp	x3, x2, [x20, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_ok_move
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w24, [x20, #4]
	mov	x0, x19
	bl	_getmaxx
	ldr	x8, [x20, #8]
	sub	x1, x0, x8
	mov	x0, x24
	bl	_MIN
	mov	x24, x0
	mov	x0, x20
	bl	_is_readonly
	cbz	w0, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _form_item_readonly_attr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _form_item_readonly_attr@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _form_active_text_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _form_active_text_attr@GOTPAGEOFF]
Lloh10:
	adrp	x9, _form_text_attr@GOTPAGE
Lloh11:
	ldr	x9, [x9, _form_text_attr@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
LBB0_8:
	ldr	w22, [x8]
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	w23, [x20, #24]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x26, w21
	ldp	x21, x8, [x20, #8]
	sub	x25, x8, x26
	mov	x0, x20
	bl	_is_hidden
	mov	x7, x0
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	mov	x3, x22
	mov	x4, x25
	mov	x5, x21
	mov	x6, x24
	bl	_dlg_show_string
	ldp	x9, x8, [x20, #8]
	sub	x1, x8, x26
	add	x2, x9, w24, uxtw
	mov	x0, x19
	bl	_move_past
	mov	w23, #1
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_menubox_attr,4,2               ; @menubox_attr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_form_active_text_attr,4,2      ; @form_active_text_attr
	.comm	_form_text_attr,4,2             ; @form_text_attr
	.comm	_form_item_readonly_attr,4,2    ; @form_item_readonly_attr
	.no_dead_strip	_print_item
.subsections_via_symbols
