	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setdebug                       ## -- Begin function setdebug
	.p2align	4, 0x90
_setdebug:                              ## @setdebug
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	cmpl	$3, %edi
	jge	LBB0_2
## %bb.3:
	cmpl	$2, %edi
	jne	LBB0_11
## %bb.4:
	movq	8(%rbx), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%r14, %rdi
	callq	_strsuftoi
	movl	%eax, %edi
	testl	%eax, %eax
	jns	LBB0_12
## %bb.10:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_2:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_UPRINTF
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_11:
	movq	_ftp_debug@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
LBB0_12:
	movq	_ftp_debug@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	testl	%edi, %edi
	jne	LBB0_13
	jmp	LBB0_8
LBB0_5:
	movq	_ftp_debug@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %edi
LBB0_13:
	movq	_SO_DEBUG@GOTPCREL(%rip), %rcx
	movq	_options@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_14
LBB0_7:
	movq	_ftp_debug@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_8:
	movq	_SO_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_options@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	xorl	%edi, %edi
LBB0_14:
	movq	_options@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_onoff
	movq	_ftp_debug@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	setg	%al
LBB0_15:
	movq	_code@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s [ on | off | debuglevel ]\n"

	.comm	_code,4,2                       ## @code
L_.str.1:                               ## @.str.1
	.asciz	"on"

	.comm	_ftp_debug,4,2                  ## @ftp_debug
L_.str.2:                               ## @.str.2
	.asciz	"off"

	.comm	_ttyout,4,2                     ## @ttyout
L_.str.3:                               ## @.str.3
	.asciz	"%s: bad debugging value.\n"

	.comm	_SO_DEBUG,4,2                   ## @SO_DEBUG
	.comm	_options,4,2                    ## @options
L_.str.4:                               ## @.str.4
	.asciz	"Debugging %s (ftp_debug=%d).\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setdebug                       ; -- Begin function setdebug
	.p2align	2
_setdebug:                              ; @setdebug
	.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
	cbz	w0, LBB0_7
; %bb.1:
	cmp	w0, #3
	b.ge	LBB0_7
; %bb.2:
Lloh0:
	adrp	x21, _ftp_debug@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ftp_debug@GOTPAGEOFF]
Lloh2:
	adrp	x22, _options@GOTPAGE
Lloh3:
	ldr	x22, [x22, _options@GOTPAGEOFF]
	cmp	w0, #2
	b.ne	LBB0_8
; %bb.3:
	ldr	x20, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.4:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.5:
	mov	x0, x20
	bl	_strsuftoi
	tbz	w0, #31, LBB0_9
; %bb.6:
Lloh8:
	adrp	x8, _ttyout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w8, #-1
	b	LBB0_15
LBB0_7:
	ldr	x1, [x19]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UPRINTF
	mov	w8, #-1
	b	LBB0_15
LBB0_8:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, eq
LBB0_9:
	str	w0, [x21]
	cbnz	w0, LBB0_11
	b	LBB0_13
LBB0_10:
	mov	w0, #1
	str	w0, [x21]
LBB0_11:
Lloh15:
	adrp	x8, _SO_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SO_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	b	LBB0_14
LBB0_12:
	str	wzr, [x21]
LBB0_13:
	mov	w0, #0
Lloh18:
	adrp	x8, _SO_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SO_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x22]
	bic	w8, w9, w8
LBB0_14:
	str	w8, [x22]
Lloh21:
	adrp	x8, _ttyout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	bl	_onoff
	mov	x2, x0
	ldr	w8, [x21]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w8, gt
LBB0_15:
Lloh26:
	adrp	x9, _code@GOTPAGE
Lloh27:
	ldr	x9, [x9, _code@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s [ on | off | debuglevel ]\n"

	.comm	_code,4,2                       ; @code
l_.str.1:                               ; @.str.1
	.asciz	"on"

	.comm	_ftp_debug,4,2                  ; @ftp_debug
l_.str.2:                               ; @.str.2
	.asciz	"off"

	.comm	_ttyout,4,2                     ; @ttyout
l_.str.3:                               ; @.str.3
	.asciz	"%s: bad debugging value.\n"

	.comm	_SO_DEBUG,4,2                   ; @SO_DEBUG
	.comm	_options,4,2                    ; @options
l_.str.4:                               ; @.str.4
	.asciz	"Debugging %s (ftp_debug=%d).\n"

.subsections_via_symbols
