	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	_NG_NODESIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_SORCVBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	L_.str(%rip), %rbx
	movq	_optarg@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	callq	_atoi
	movl	%eax, %edi
	callq	_NgSetDebug
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_getopt
	cmpl	$100, %eax
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.3:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%r12,%r15,8), %rdi
	movq	_ng_path@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_strlen
	movq	_NG_PATHSIZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_help
LBB0_6:
	xorl	%eax, %eax
	callq	_getpid
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%eax, %ecx
	callq	_snprintf
	movq	_cs@GOTPCREL(%rip), %rax
	movq	%r13, %rdi
	movq	%rax, %r13
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_NgMkSockNode
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_8:
	leaq	(%r12,%r15,8), %rbx
	movl	(%r13), %edi
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_10:
	addq	$8, %rbx
	notl	%r15d
	addl	%r14d, %r15d
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_execute_command
	movl	(%r13), %edi
	callq	_close
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_NODESIZ,4,2                 ## @NG_NODESIZ
	.comm	_SORCVBUF_SIZE,4,2              ## @SORCVBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"d:"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_ng_path,8,3                    ## @ng_path
	.comm	_NG_PATHSIZ,8,3                 ## @NG_PATHSIZ
L_.str.1:                               ## @.str.1
	.asciz	"flowctl%i"

	.comm	_cs,4,2                         ## @cs
L_.str.2:                               ## @.str.2
	.asciz	"NgMkSockNode"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ## @SO_RCVBUF
L_.str.3:                               ## @.str.3
	.asciz	"setsockopt(SOL_SOCKET, SO_RCVBUF)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NG_NODESIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_NODESIZ@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x9, x20
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh5:
	adrp	x8, _SORCVBUF_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SORCVBUF_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stur	w8, [x29, #-52]
Lloh8:
	adrp	x23, l_.str@PAGE
Lloh9:
	add	x23, x23, l_.str@PAGEOFF
Lloh10:
	adrp	x24, _optarg@GOTPAGE
Lloh11:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	bl	_atoi
	bl	_NgSetDebug
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_getopt
	cmp	w0, #100
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.4:
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh14:
	ldr	x23, [x8]
	add	x22, x22, x23, lsl #3
	ldr	x0, [x22]
Lloh15:
	adrp	x8, _ng_path@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ng_path@GOTPAGEOFF]
Lloh17:
	str	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_strlen
Lloh18:
	adrp	x8, _NG_PATHSIZ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NG_PATHSIZ@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_7
LBB0_6:
	bl	_help
LBB0_7:
	bl	_getpid
	mov	x3, x0
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
Lloh23:
	adrp	x20, _cs@GOTPAGE
Lloh24:
	ldr	x20, [x20, _cs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	bl	_NgMkSockNode
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
	ldr	w0, [x20]
Lloh27:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	sub	x3, x29, #52
	mov	w4, #4
	bl	_setsockopt
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	add	x1, x22, #8
	mvn	w8, w23
	add	w0, w8, w19
	bl	_execute_command
	ldr	w0, [x20]
	bl	_close
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_NODESIZ,4,2                 ; @NG_NODESIZ
	.comm	_SORCVBUF_SIZE,4,2              ; @SORCVBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"d:"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_ng_path,8,3                    ; @ng_path
	.comm	_NG_PATHSIZ,8,3                 ; @NG_PATHSIZ
l_.str.1:                               ; @.str.1
	.asciz	"flowctl%i"

	.comm	_cs,4,2                         ; @cs
l_.str.2:                               ; @.str.2
	.asciz	"NgMkSockNode"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ; @SO_RCVBUF
l_.str.3:                               ; @.str.3
	.asciz	"setsockopt(SOL_SOCKET, SO_RCVBUF)"

.subsections_via_symbols
