	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpassive                     ## -- Begin function setpassive
	.p2align	4, 0x90
_setpassive:                            ## @setpassive
	.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, %rbx
	cmpl	$2, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$1, %edi
	jne	LBB0_3
## %bb.2:
	movq	_passivemode@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	movl	%edi, %eax
	jmp	LBB0_10
LBB0_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.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_UPRINTF
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_5:
	xorl	%eax, %eax
	movl	$1, %edi
	jmp	LBB0_10
LBB0_7:
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$1, %edi
	movl	$1, %eax
LBB0_10:
	movq	_passivemode@GOTPCREL(%rip), %r15
	movl	%edi, (%r15)
	movq	_activefallback@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_onoff
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_onoff
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	(%r15), %eax
LBB0_11:
	movq	_code@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_passivemode,4,2                ## @passivemode
	.comm	_activefallback,4,2             ## @activefallback
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s [ on | off | auto ]\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"off"

L_.str.3:                               ## @.str.3
	.asciz	"auto"

	.comm	_ttyout,4,2                     ## @ttyout
L_.str.4:                               ## @.str.4
	.asciz	"Passive mode: %s; fallback to active mode: %s.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpassive                     ; -- Begin function setpassive
	.p2align	2
_setpassive:                            ; @setpassive
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w0, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _passivemode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _passivemode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	mov	x8, x0
	b	LBB0_10
LBB0_3:
	ldr	x20, [x19, #8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.4:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.5:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_9
LBB0_6:
	ldr	x1, [x19]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UPRINTF
	mov	w8, #-1
	b	LBB0_11
LBB0_7:
	mov	w8, #0
	mov	w0, #1
	b	LBB0_10
LBB0_8:
	mov	w8, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
	mov	w8, #1
LBB0_10:
Lloh11:
	adrp	x21, _passivemode@GOTPAGE
Lloh12:
	ldr	x21, [x21, _passivemode@GOTPAGEOFF]
	str	w0, [x21]
Lloh13:
	adrp	x22, _activefallback@GOTPAGE
Lloh14:
	ldr	x22, [x22, _activefallback@GOTPAGEOFF]
	str	w8, [x22]
Lloh15:
	adrp	x8, _ttyout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	bl	_onoff
	mov	x20, x0
	ldr	w0, [x22]
	bl	_onoff
	mov	x3, x0
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_fprintf
	ldr	w8, [x21]
LBB0_11:
Lloh20:
	adrp	x9, _code@GOTPAGE
Lloh21:
	ldr	x9, [x9, _code@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_passivemode,4,2                ; @passivemode
	.comm	_activefallback,4,2             ; @activefallback
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s [ on | off | auto ]\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"off"

l_.str.3:                               ; @.str.3
	.asciz	"auto"

	.comm	_ttyout,4,2                     ; @ttyout
l_.str.4:                               ; @.str.4
	.asciz	"Passive mode: %s; fallback to active mode: %s.\n"

.subsections_via_symbols
