	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dowhile                        ## -- Begin function dowhile
	.p2align	4, 0x90
_dowhile:                               ## @dowhile
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_whyles@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	addq	$40, %rdi
	movq	_lineloc@GOTPCREL(%rip), %rsi
	callq	_SEEKEQ
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	sete	%r12b
	jmp	LBB0_5
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r14, %rdi
	callq	_USE
	addq	$8, %rbx
	movq	%rbx, -40(%rbp)
	movq	_noexec@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_intty@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	sete	%al
	leaq	-40(%rbp), %rdi
	orb	%r12b, %al
	je	LBB0_9
## %bb.8:
	callq	_expr
	jmp	LBB0_10
LBB0_9:
	movl	$1, %esi
	callq	_exp0
LBB0_10:
	testl	%eax, %eax
	sete	%bl
LBB0_11:
	movq	-40(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.12:
	cmpq	$0, (%r14)
	jne	LBB0_14
## %bb.13:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_EXPRESSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_14:
	testb	%r12b, %r12b
	jne	LBB0_17
## %bb.15:
	movl	$1, %edi
	movl	$48, %esi
	callq	_xcalloc
	movq	_lineloc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movq	_TCSH_F_SEEK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movq	(%r15), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%r15)
	movq	_TC_WHILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_zlast@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_intty@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_preread
	xorl	%eax, %eax
	callq	_doagain
	jmp	LBB0_19
LBB0_17:
	testb	%bl, %bl
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_toend
LBB0_19:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_whyles,8,3                     ## @whyles
	.comm	_lineloc,4,2                    ## @lineloc
	.comm	_noexec,8,3                     ## @noexec
	.comm	_intty,8,3                      ## @intty
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_EXPRESSION,4,2             ## @ERR_EXPRESSION
	.comm	_TCSH_F_SEEK,4,2                ## @TCSH_F_SEEK
	.comm	_TC_WHILE,4,2                   ## @TC_WHILE
	.comm	_zlast,4,2                      ## @zlast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dowhile                        ; -- Begin function dowhile
	.p2align	2
_dowhile:                               ; @dowhile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _whyles@GOTPAGE
Lloh1:
	ldr	x21, [x21, _whyles@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	add	x0, x8, #40
Lloh2:
	adrp	x1, _lineloc@GOTPAGE
Lloh3:
	ldr	x1, [x1, _lineloc@GOTPAGEOFF]
	bl	_SEEKEQ
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w22, eq
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	mov	x0, x20
	bl	_USE
	add	x8, x19, #8
	str	x8, [sp, #8]
Lloh4:
	adrp	x20, _noexec@GOTPAGE
Lloh5:
	ldr	x20, [x20, _noexec@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w19, #0
	b	LBB0_10
LBB0_6:
Lloh6:
	adrp	x8, _intty@GOTPAGE
Lloh7:
	ldr	x8, [x8, _intty@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, eq
	add	x0, sp, #8
	orr	w8, w8, w22
	tbz	w8, #0, LBB0_8
; %bb.7:
	bl	_expr
	b	LBB0_9
LBB0_8:
	mov	w1, #1
	bl	_exp0
LBB0_9:
	cmp	w0, #0
	cset	w19, eq
LBB0_10:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_12
; %bb.11:
	tbz	w22, #0, LBB0_13
	b	LBB0_15
LBB0_12:
Lloh9:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ERR_EXPRESSION@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERR_EXPRESSION@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
	tbnz	w22, #0, LBB0_15
LBB0_13:
Lloh15:
	adrp	x20, _lineloc@GOTPAGE
Lloh16:
	ldr	x20, [x20, _lineloc@GOTPAGEOFF]
	mov	w0, #1
	mov	w1, #48
	bl	_xcalloc
Lloh17:
	ldr	w8, [x20]
	str	w8, [x0, #40]
Lloh18:
	adrp	x8, _TCSH_F_SEEK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCSH_F_SEEK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	stp	xzr, xzr, [x0, #16]
	ldr	x8, [x21]
	str	x8, [x0, #8]
	str	x0, [x21]
Lloh21:
	adrp	x8, _TC_WHILE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TC_WHILE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _zlast@GOTPAGE
Lloh25:
	ldr	x9, [x9, _zlast@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
Lloh27:
	adrp	x8, _intty@GOTPAGE
Lloh28:
	ldr	x8, [x8, _intty@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
	bl	_preread
	bl	_doagain
	b	LBB0_17
LBB0_15:
	cbz	w19, LBB0_17
; %bb.16:
	bl	_toend
LBB0_17:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_whyles,8,3                     ; @whyles
	.comm	_lineloc,4,2                    ; @lineloc
	.comm	_noexec,8,3                     ; @noexec
	.comm	_intty,8,3                      ; @intty
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_EXPRESSION,4,2             ; @ERR_EXPRESSION
	.comm	_TCSH_F_SEEK,4,2                ; @TCSH_F_SEEK
	.comm	_TC_WHILE,4,2                   ; @TC_WHILE
	.comm	_zlast,4,2                      ; @zlast
.subsections_via_symbols
