	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doproxy                        ## -- Begin function doproxy
	.p2align	4, 0x90
_doproxy:                               ## @doproxy
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edi, -52(%rbp)
	movq	%rsi, -64(%rbp)
	movq	_MAX_C_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$1, %ebx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-52(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_another
	movq	-64(%rbp), %rcx
	movq	%rcx, %r14
	testl	%eax, %eax
	je	LBB0_7
LBB0_3:
	movq	8(%r14), %rdi
	callq	_getcmd
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	$-1, %rax
	jne	LBB0_9
## %bb.5:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_6:
	movq	%r14, %rcx
LBB0_7:
	movq	(%rcx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_UPRINTF
	jmp	LBB0_16
LBB0_8:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_9:
	cmpl	$0, 24(%rax)
	je	LBB0_14
## %bb.10:
	movq	%rax, %r14
	movq	_abortprox@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.11:
	movq	_SIGINT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_proxabort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_xsignal
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_pswitch
	cmpq	$0, 16(%r14)
	movq	_connected@GOTPCREL(%rip), %rax
	je	LBB0_19
## %bb.12:
	cmpq	$0, (%rax)
	jne	LBB0_19
## %bb.13:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_fputs
	xorl	%edi, %edi
	callq	_pswitch
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_xsignal
	jmp	LBB0_16
LBB0_14:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
LBB0_15:
	callq	_fputs
LBB0_16:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	_line@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcspn
	testl	%eax, %eax
	jle	LBB0_21
## %bb.20:
	movl	%eax, %ebx
	movq	(%r15), %r13
	movl	%eax, %eax
                                        ## kill: def $rax killed $eax
	leaq	(%rax,%r13), %r15
	incq	%r15
	movq	%r13, %rdi
	callq	_strlen
	subl	%ebx, %eax
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%r13, %rdi
	movq	_SIGINT@GOTPCREL(%rip), %r13
	movq	%r15, %rsi
	callq	_memmove
LBB0_21:
	movl	8(%r14), %esi
	movq	%r12, %rdi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_strlcpy
	movq	-64(%rbp), %rsi
	movq	%r12, 8(%rsi)
	addq	$8, %rsi
	movl	-52(%rbp), %edi
	decl	%edi
	callq	*(%r14)
	xorl	%eax, %eax
	movq	_connected@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	movb	%cl, %al
	movq	_proxflag@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	callq	_pswitch
	movl	(%r13), %edi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_xsignal
	jmp	LBB0_17
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_C_NAME,4,2                 ## @MAX_C_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command"

L_.str.1:                               ## @.str.1
	.asciz	"usage: %s command\n"

	.comm	_code,4,2                       ## @code
L_.str.2:                               ## @.str.2
	.asciz	"?Ambiguous command.\n"

	.comm	_ttyout,4,2                     ## @ttyout
L_.str.3:                               ## @.str.3
	.asciz	"?Invalid command.\n"

L_.str.4:                               ## @.str.4
	.asciz	"?Invalid proxy command.\n"

	.comm	_abortprox,4,2                  ## @abortprox
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_proxabort,4,2                  ## @proxabort
	.comm	_connected,8,3                  ## @connected
L_.str.5:                               ## @.str.5
	.asciz	"Not connected.\n"

	.comm	_line,8,3                       ## @line
L_.str.6:                               ## @.str.6
	.asciz	" \t"

	.comm	_proxflag,4,2                   ## @proxflag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doproxy                        ; -- Begin function doproxy
	.p2align	2
_doproxy:                               ; @doproxy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	w0, [x29, #-92]
	stur	x1, [x29, #-104]
Lloh3:
	adrp	x8, _MAX_C_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_C_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x20, x8
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	cbz	w0, LBB0_6
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #92
	sub	x1, x29, #104
	bl	_another
	ldur	x8, [x29, #-104]
	mov	x1, x8
	cbz	w0, LBB0_7
LBB0_3:
	ldr	x0, [x1, #8]
	bl	_getcmd
	cbz	x0, LBB0_8
; %bb.4:
	cmn	x0, #1
	b.ne	LBB0_9
; %bb.5:
Lloh10:
	adrp	x8, _ttyout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_6:
	mov	x8, x1
LBB0_7:
	ldr	x1, [x8]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UPRINTF
	b	LBB0_16
LBB0_8:
Lloh17:
	adrp	x8, _ttyout@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_9:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_14
; %bb.10:
	mov	x26, x0
Lloh22:
	adrp	x8, _abortprox@GOTPAGE
Lloh23:
	ldr	x8, [x8, _abortprox@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_sigsetjmp
	cbnz	x0, LBB0_16
; %bb.11:
Lloh25:
	adrp	x25, _SIGINT@GOTPAGE
Lloh26:
	ldr	x25, [x25, _SIGINT@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh27:
	adrp	x8, _proxabort@GOTPAGE
Lloh28:
	ldr	x8, [x8, _proxabort@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_xsignal
	mov	x19, x0
	mov	w0, #1
	bl	_pswitch
	ldr	x8, [x26, #16]
Lloh30:
	adrp	x27, _connected@GOTPAGE
Lloh31:
	ldr	x27, [x27, _connected@GOTPAGEOFF]
	cbz	x8, LBB0_19
; %bb.12:
	ldr	x8, [x27]
	cbnz	x8, LBB0_19
; %bb.13:
Lloh32:
	adrp	x8, _ttyout@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fputs
	mov	w0, #0
	bl	_pswitch
	ldr	w0, [x25]
	mov	x1, x19
	bl	_xsignal
	b	LBB0_16
LBB0_14:
Lloh37:
	adrp	x8, _ttyout@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x0, l_.str.4@PAGE
Lloh41:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_15:
	bl	_fputs
LBB0_16:
Lloh42:
	adrp	x8, _code@GOTPAGE
Lloh43:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh44:
	str	w9, [x8]
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.18:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	x21, x20
	mov	x20, x22
Lloh48:
	adrp	x23, _line@GOTPAGE
Lloh49:
	ldr	x23, [x23, _line@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcspn
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.20:
	mov	x22, x0
	ldr	x23, [x23]
	add	x8, x23, w0, uxtw
	add	x24, x8, #1
	mov	x0, x23
	bl	_strlen
	sub	w8, w0, w22
	add	w2, w8, #1
	mov	x0, x23
	mov	x1, x24
	bl	_memmove
LBB0_21:
	ldr	w1, [x26, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_strlcpy
	ldur	x1, [x29, #-104]
	str	x20, [x1, #8]!
	ldr	x8, [x26]
	ldur	w9, [x29, #-92]
	sub	w0, w9, #1
	blr	x8
	ldr	x8, [x27]
	cmp	x8, #0
	cset	w8, ne
Lloh52:
	adrp	x9, _proxflag@GOTPAGE
Lloh53:
	ldr	x9, [x9, _proxflag@GOTPAGEOFF]
Lloh54:
	str	w8, [x9]
	mov	w0, #0
	bl	_pswitch
	ldr	w0, [x25]
	mov	x1, x19
	bl	_xsignal
	b	LBB0_17
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_C_NAME,4,2                 ; @MAX_C_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command"

l_.str.1:                               ; @.str.1
	.asciz	"usage: %s command\n"

	.comm	_code,4,2                       ; @code
l_.str.2:                               ; @.str.2
	.asciz	"?Ambiguous command.\n"

	.comm	_ttyout,4,2                     ; @ttyout
l_.str.3:                               ; @.str.3
	.asciz	"?Invalid command.\n"

l_.str.4:                               ; @.str.4
	.asciz	"?Invalid proxy command.\n"

	.comm	_abortprox,4,2                  ; @abortprox
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_proxabort,4,2                  ; @proxabort
	.comm	_connected,8,3                  ; @connected
l_.str.5:                               ; @.str.5
	.asciz	"Not connected.\n"

	.comm	_line,8,3                       ; @line
l_.str.6:                               ; @.str.6
	.asciz	" \t"

	.comm	_proxflag,4,2                   ; @proxflag
.subsections_via_symbols
