	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function togdebug
_togdebug:                              ## @togdebug
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_net@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_3
## %bb.1:
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_telnet_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_SetSockOpt
	testq	%rax, %rax
	js	LBB0_2
LBB0_3:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_net,8,3                        ## @net
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_DEBUG,4,2                   ## @SO_DEBUG
	.comm	_telnet_debug,4,2               ## @telnet_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setsockopt (SO_DEBUG)"

	.no_dead_strip	_togdebug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function togdebug
_togdebug:                              ; @togdebug
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _net@GOTPAGE
Lloh1:
	ldr	x8, [x8, _net@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SO_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SO_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _telnet_debug@GOTPAGE
Lloh10:
	ldr	x8, [x8, _telnet_debug@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_SetSockOpt
	tbnz	x0, #63, LBB0_3
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_net,8,3                        ; @net
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_DEBUG,4,2                   ; @SO_DEBUG
	.comm	_telnet_debug,4,2               ; @telnet_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setsockopt (SO_DEBUG)"

	.no_dead_strip	_togdebug
.subsections_via_symbols
