	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetNetTrace                    ## -- Begin function SetNetTrace
	.p2align	4, 0x90
_SetNetTrace:                           ## @SetNetTrace
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_NetTrace@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_stdout@GOTPCREL(%rip), %r15
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	cmpq	(%r15), %rdi
	je	LBB0_3
## %bb.2:
	callq	_fclose
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_NetTraceFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_7
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_9:
	movq	(%r15), %rax
	movq	%rax, (%r14)
	movq	_NetTraceFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NetTrace,8,3                   ## @NetTrace
	.comm	_stdout,8,3                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"w"

	.comm	_NetTraceFile,8,3               ## @NetTraceFile
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Cannot open %s.\n"

L_.str.3:                               ## @.str.3
	.asciz	"(standard output)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetNetTrace                    ; -- Begin function SetNetTrace
	.p2align	2
_SetNetTrace:                           ; @SetNetTrace
	.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, x0
Lloh0:
	adrp	x20, _NetTrace@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NetTrace@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x21, _stdout@GOTPAGE
Lloh3:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_2
; %bb.1:
	bl	_fclose
LBB0_2:
	cbz	x19, LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.4:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _NetTraceFile@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NetTraceFile@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	mov	x1, x19
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_7:
	ldr	x8, [x21]
Lloh16:
	adrp	x9, _NetTraceFile@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NetTraceFile@GOTPAGEOFF]
	str	x8, [x20]
Lloh18:
	ldr	x0, [x9]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	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
	b	_strcpy
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NetTrace,8,3                   ; @NetTrace
	.comm	_stdout,8,3                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"w"

	.comm	_NetTraceFile,8,3               ; @NetTraceFile
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Cannot open %s.\n"

l_.str.3:                               ; @.str.3
	.asciz	"(standard output)"

.subsections_via_symbols
