	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setnmap                        ## -- Begin function setnmap
	.p2align	4, 0x90
_setnmap:                               ## @setnmap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	testl	%edi, %edi
	je	LBB0_8
## %bb.1:
	cmpl	$1, %edi
	jne	LBB0_3
## %bb.2:
	movq	_mapflag@GOTPCREL(%rip), %rbx
	movl	$0, (%rbx)
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_fputs
	movl	(%rbx), %eax
	movq	_code@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_15
LBB0_3:
	cmpl	$2, %edi
	jg	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	leaq	-20(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	cmpl	$4, -20(%rbp)
	jl	LBB0_9
LBB0_6:
	movq	-32(%rbp), %rsi
	jmp	LBB0_8
LBB0_7:
	cmpl	$3, %edi
	jne	LBB0_8
LBB0_9:
	movq	_mapflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_code@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_altarg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	_proxy@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_10
## %bb.11:
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %rbx
LBB0_12:
	movb	$0, (%rbx)
	movq	_mapin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_MAXPATHLEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_strlcpy
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_13
## %bb.14:
	movq	_mapout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_strlcpy
	jmp	LBB0_15
LBB0_8:
	movq	(%rsi), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapflag,4,2                    ## @mapflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Nmap off.\n"

	.comm	_ttyout,4,2                     ## @ttyout
	.comm	_code,4,2                       ## @code
L_.str.1:                               ## @.str.1
	.asciz	"mapout"

L_.str.2:                               ## @.str.2
	.asciz	"usage: %s [mapin mapout]\n"

	.comm	_altarg,8,3                     ## @altarg
	.comm	_proxy,8,3                      ## @proxy
	.comm	_mapin,4,2                      ## @mapin
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_mapout,4,2                     ## @mapout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setnmap                        ; -- Begin function setnmap
	.p2align	2
_setnmap:                               ; @setnmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	w0, [sp, #12]
	str	x1, [sp]
	cbz	w0, LBB0_14
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x19, _mapflag@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mapflag@GOTPAGEOFF]
	str	wzr, [x19]
Lloh2:
	adrp	x8, _ttyout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fputs
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _code@GOTPAGE
Lloh8:
	ldr	x9, [x9, _code@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
	b	LBB0_15
LBB0_3:
	cmp	w0, #2
	b.gt	LBB0_7
; %bb.4:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #12
	mov	x1, sp
	bl	_another
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w8, [sp, #12]
	cmp	w8, #4
	b.lt	LBB0_8
LBB0_6:
	ldr	x1, [sp]
	b	LBB0_14
LBB0_7:
	cmp	w0, #3
	b.ne	LBB0_14
LBB0_8:
Lloh12:
	adrp	x8, _mapflag@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mapflag@GOTPAGEOFF]
	mov	w9, #1
Lloh14:
	str	w9, [x8]
Lloh15:
	adrp	x8, _code@GOTPAGE
Lloh16:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x20, _altarg@GOTPAGE
Lloh19:
	ldr	x20, [x20, _altarg@GOTPAGEOFF]
	ldr	x0, [x20]
	mov	w1, #32
	bl	_strchr
	mov	x19, x0
Lloh20:
	adrp	x8, _proxy@GOTPAGE
Lloh21:
	ldr	x8, [x8, _proxy@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, #1]!
	cmp	w8, #32
	b.eq	LBB0_9
; %bb.10:
	str	x19, [x20]
	mov	x0, x19
	mov	w1, #32
	bl	_strchr
	mov	x19, x0
LBB0_11:
Lloh23:
	adrp	x8, _mapin@GOTPAGE
Lloh24:
	ldr	x8, [x8, _mapin@GOTPAGEOFF]
	strb	wzr, [x19]
Lloh25:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh26:
	adrp	x20, _MAXPATHLEN@GOTPAGE
Lloh27:
	ldr	x20, [x20, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_strlcpy
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, #1]!
	cmp	w8, #32
	b.eq	LBB0_12
; %bb.13:
Lloh28:
	adrp	x8, _mapout@GOTPAGE
Lloh29:
	ldr	x8, [x8, _mapout@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	w2, [x20]
	mov	x1, x19
	bl	_strlcpy
	b	LBB0_15
LBB0_14:
	ldr	x1, [x1]
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_UPRINTF
Lloh33:
	adrp	x8, _code@GOTPAGE
Lloh34:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh35:
	str	w9, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_mapflag,4,2                    ; @mapflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Nmap off.\n"

	.comm	_ttyout,4,2                     ; @ttyout
	.comm	_code,4,2                       ; @code
l_.str.1:                               ; @.str.1
	.asciz	"mapout"

l_.str.2:                               ; @.str.2
	.asciz	"usage: %s [mapin mapout]\n"

	.comm	_altarg,8,3                     ; @altarg
	.comm	_proxy,8,3                      ; @proxy
	.comm	_mapin,4,2                      ; @mapin
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_mapout,4,2                     ; @mapout
.subsections_via_symbols
