	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	cmpl	$1, %edi
	jg	LBB0_3
## %bb.1:
	movq	_line@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_fflush
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	xorl	%eax, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_margv@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpl	$1, %r15d
	jg	LBB0_3
## %bb.2:
	movq	(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r12), %edi
	jmp	LBB0_14
LBB0_3:
	movq	8(%r14), %rdi
	xorl	%eax, %eax
	callq	_getcmd
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	cmpq	$-1, %rax
	jne	LBB0_7
## %bb.5:
	leaq	L_str.9(%rip), %rdi
	jmp	LBB0_13
LBB0_6:
	leaq	L_str.8(%rip), %rdi
	jmp	LBB0_13
LBB0_7:
	cmpl	$0, 16(%rbx)
	je	LBB0_12
## %bb.8:
	movq	_abortprox@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.9:
	movl	$1, %edi
	callq	_pswitch
	cmpq	$0, 8(%rbx)
	movq	_connected@GOTPCREL(%rip), %r12
	je	LBB0_16
## %bb.10:
	cmpq	$0, (%r12)
	jne	LBB0_16
## %bb.11:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	xorl	%edi, %edi
	callq	_pswitch
	jmp	LBB0_15
LBB0_12:
	leaq	L_str(%rip), %rdi
LBB0_13:
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_14:
	callq	_fflush
LBB0_15:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	addq	$8, %r14
	decl	%r15d
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	*(%rbx)
	xorl	%eax, %eax
	cmpq	$0, (%r12)
	setne	%al
	movq	_proxflag@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pswitch                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_line,8,3                       ## @line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"(command) "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
L_.str.2:                               ## @.str.2
	.asciz	"usage:%s command\n"

	.comm	_code,4,2                       ## @code
	.comm	_connected,8,3                  ## @connected
	.comm	_proxflag,4,2                   ## @proxflag
L_str:                                  ## @str
	.asciz	"?Invalid proxy command"

L_str.7:                                ## @str.7
	.asciz	"Not connected"

L_str.8:                                ## @str.8
	.asciz	"?Invalid command"

L_str.9:                                ## @str.9
	.asciz	"?Ambiguous command"

.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:
	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	x19, x1
	mov	x20, x0
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x19, _line@GOTPAGE
Lloh1:
	ldr	x19, [x19, _line@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh6:
	adrp	x21, _stdout@GOTPAGE
Lloh7:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_fflush
	ldr	x19, [x19]
	mov	x0, x19
	bl	_strlen
	add	x0, x19, x0, lsl #2
	bl	_gets
	bl	_makeargv
Lloh8:
	adrp	x8, _margc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _margc@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _margv@GOTPAGE
Lloh12:
	ldr	x8, [x8, _margv@GOTPAGEOFF]
Lloh13:
	ldr	x19, [x8]
	cmp	w20, #1
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [x21]
	b	LBB0_13
LBB0_3:
	ldr	x0, [x19, #8]!
	bl	_getcmd
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	cmn	x0, #1
	b.ne	LBB0_7
; %bb.5:
Lloh16:
	adrp	x0, l_str.9@PAGE
Lloh17:
	add	x0, x0, l_str.9@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh18:
	adrp	x0, l_str.8@PAGE
Lloh19:
	add	x0, x0, l_str.8@PAGEOFF
	b	LBB0_12
LBB0_7:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_11
; %bb.8:
Lloh20:
	adrp	x8, _abortprox@GOTPAGE
Lloh21:
	ldr	x8, [x8, _abortprox@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_setjmp
	cbnz	x0, LBB0_14
; %bb.9:
	mov	w0, #1
	bl	_pswitch
	ldr	x8, [x21, #8]
Lloh23:
	adrp	x22, _connected@GOTPAGE
Lloh24:
	ldr	x22, [x22, _connected@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_15
; %bb.10:
	ldr	x8, [x21]
	sub	w0, w20, #1
	mov	x1, x19
	blr	x8
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w8, ne
Lloh25:
	adrp	x9, _proxflag@GOTPAGE
Lloh26:
	ldr	x9, [x9, _proxflag@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	mov	w0, #0
	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
	b	_pswitch
LBB0_11:
Lloh28:
	adrp	x0, l_str@PAGE
Lloh29:
	add	x0, x0, l_str@PAGEOFF
LBB0_12:
	bl	_puts
Lloh30:
	adrp	x8, _stdout@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
LBB0_13:
	bl	_fflush
LBB0_14:
Lloh33:
	adrp	x8, _code@GOTPAGE
Lloh34:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh35:
	str	w9, [x8]
	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
LBB0_15:
Lloh36:
	adrp	x0, l_str.7@PAGE
Lloh37:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
Lloh38:
	adrp	x8, _stdout@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #0
	bl	_pswitch
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_line,8,3                       ; @line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"(command) "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
l_.str.2:                               ; @.str.2
	.asciz	"usage:%s command\n"

	.comm	_code,4,2                       ; @code
	.comm	_connected,8,3                  ; @connected
	.comm	_proxflag,4,2                   ; @proxflag
l_str:                                  ; @str
	.asciz	"?Invalid proxy command"

l_str.7:                                ; @str.7
	.asciz	"Not connected"

l_str.8:                                ; @str.8
	.asciz	"?Invalid command"

l_str.9:                                ; @str.9
	.asciz	"?Ambiguous command"

.subsections_via_symbols
