	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logger_shutdown                ## -- Begin function logger_shutdown
	.p2align	4, 0x90
_logger_shutdown:                       ## @logger_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_g_sid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_socket_close
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_network_deinit                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_sid,4,2                      ## @g_sid
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Could not close socket."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logger_shutdown                ; -- Begin function logger_shutdown
	.p2align	2
_logger_shutdown:                       ; @logger_shutdown
	.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, _g_sid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_sid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_socket_close
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_network_deinit
LBB0_2:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_network_deinit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_g_sid,4,2                      ; @g_sid
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Could not close socket."

.subsections_via_symbols
