	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_close_log                   ## -- Begin function xo_close_log
	.p2align	4, 0x90
_xo_close_log:                          ## @xo_close_log
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_THREAD_LOCK
	movq	_xo_logfile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpl	$-1, %edi
	je	LBB0_2
## %bb.1:
	callq	_close
	movl	$-1, (%rbx)
LBB0_2:
	movq	_xo_logtag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_NOCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xo_status@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_THREAD_UNLOCK                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xo_logfile,4,2                 ## @xo_logfile
	.comm	_xo_logtag,8,3                  ## @xo_logtag
	.comm	_NOCONN,4,2                     ## @NOCONN
	.comm	_xo_status,4,2                  ## @xo_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_close_log                   ; -- Begin function xo_close_log
	.p2align	2
_xo_close_log:                          ; @xo_close_log
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_THREAD_LOCK
Lloh0:
	adrp	x19, _xo_logfile@GOTPAGE
Lloh1:
	ldr	x19, [x19, _xo_logfile@GOTPAGEOFF]
	ldr	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
LBB0_2:
Lloh2:
	adrp	x8, _xo_logtag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xo_logtag@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _NOCONN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NOCONN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _xo_status@GOTPAGE
Lloh9:
	ldr	x9, [x9, _xo_status@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_THREAD_UNLOCK
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_xo_logfile,4,2                 ; @xo_logfile
	.comm	_xo_logtag,8,3                  ; @xo_logtag
	.comm	_NOCONN,4,2                     ; @NOCONN
	.comm	_xo_status,4,2                  ; @xo_status
.subsections_via_symbols
