	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3_exit
_i3_exit:                               ## @i3_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_shmlogname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%r14), %edi
	callq	_fflush
	movq	(%rbx), %rdi
	callq	_shm_unlink
LBB0_2:
	movq	_SHUTDOWN_REASON_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_ipc_shutdown
	movq	_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unlink
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xcb_disconnect                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_shmlogname,8,3                 ## @shmlogname
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Closing SHM log \"%s\"\n"

	.comm	_SHUTDOWN_REASON_EXIT,4,2       ## @SHUTDOWN_REASON_EXIT
	.comm	_config,4,2                     ## @config
	.comm	_conn,4,2                       ## @conn
	.comm	_main_loop,4,2                  ## @main_loop
	.no_dead_strip	_i3_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3_exit
_i3_exit:                               ; @i3_exit
	.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
Lloh0:
	adrp	x19, _shmlogname@GOTPAGE
Lloh1:
	ldr	x19, [x19, _shmlogname@GOTPAGEOFF]
	ldr	x2, [x19]
	ldrb	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _stderr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x20]
	bl	_fflush
	ldr	x0, [x19]
	bl	_shm_unlink
LBB0_2:
Lloh6:
	adrp	x8, _SHUTDOWN_REASON_EXIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SHUTDOWN_REASON_EXIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_ipc_shutdown
Lloh9:
	adrp	x8, _config@GOTPAGE
Lloh10:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_unlink
Lloh12:
	adrp	x8, _conn@GOTPAGE
Lloh13:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xcb_disconnect
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_shmlogname,8,3                 ; @shmlogname
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Closing SHM log \"%s\"\n"

	.comm	_SHUTDOWN_REASON_EXIT,4,2       ; @SHUTDOWN_REASON_EXIT
	.comm	_config,4,2                     ; @config
	.comm	_conn,4,2                       ; @conn
	.comm	_main_loop,4,2                  ; @main_loop
	.no_dead_strip	_i3_exit
.subsections_via_symbols
