	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i3_restart                     ## -- Begin function i3_restart
	.p2align	4, 0x90
_i3_restart:                            ## @i3_restart
	.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
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_store_restart_layout
	movq	%rax, %r14
LBB0_3:
	movq	_config_error_nagbar_pid@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_kill_nagbar
	movq	_command_error_nagbar_pid@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_kill_nagbar
	xorl	%eax, %eax
	callq	_restore_geometry
	movq	_SHUTDOWN_REASON_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_ipc_shutdown
	movq	_start_argv@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_LOG
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_add_argument
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_get_debug_logging
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_add_argument
	movq	%rax, (%rbx)
LBB0_5:
	movq	(%rbx), %rsi
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_add_argument
	movq	%rax, %rsi
	movq	%rax, (%rbx)
LBB0_7:
	movl	(%rsi), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_execvp                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_config_error_nagbar_pid,4,2    ## @config_error_nagbar_pid
	.comm	_command_error_nagbar_pid,4,2   ## @command_error_nagbar_pid
	.comm	_SHUTDOWN_REASON_RESTART,4,2    ## @SHUTDOWN_REASON_RESTART
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"restarting \"%s\"...\n"

	.comm	_start_argv,8,3                 ## @start_argv
L_.str.1:                               ## @.str.1
	.asciz	"-a"

L_.str.2:                               ## @.str.2
	.asciz	"-d"

L_.str.3:                               ## @.str.3
	.asciz	"all"

L_.str.4:                               ## @.str.4
	.asciz	"--restart"

L_.str.5:                               ## @.str.5
	.asciz	"-r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i3_restart                     ; -- Begin function i3_restart
	.p2align	2
_i3_restart:                            ; @i3_restart
	.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
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	bl	_store_restart_layout
	mov	x19, x0
LBB0_3:
Lloh0:
	adrp	x0, _config_error_nagbar_pid@GOTPAGE
Lloh1:
	ldr	x0, [x0, _config_error_nagbar_pid@GOTPAGEOFF]
	mov	w1, #1
	bl	_kill_nagbar
Lloh2:
	adrp	x0, _command_error_nagbar_pid@GOTPAGE
Lloh3:
	ldr	x0, [x0, _command_error_nagbar_pid@GOTPAGEOFF]
	mov	w1, #1
	bl	_kill_nagbar
	bl	_restore_geometry
Lloh4:
	adrp	x8, _SHUTDOWN_REASON_RESTART@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SHUTDOWN_REASON_RESTART@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_ipc_shutdown
Lloh7:
	adrp	x20, _start_argv@GOTPAGE
Lloh8:
	ldr	x20, [x20, _start_argv@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG
	ldr	x0, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	mov	x3, #0
	bl	_add_argument
	str	x0, [x20]
	bl	_get_debug_logging
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x20]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, #0
	bl	_add_argument
	str	x0, [x20]
LBB0_5:
	ldr	x8, [x20]
	cbz	x19, LBB0_7
; %bb.6:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh19:
	adrp	x3, l_.str.5@PAGE
Lloh20:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x8
	mov	x2, x19
	bl	_add_argument
	mov	x8, x0
	str	x0, [x20]
LBB0_7:
	ldr	w0, [x8]
	mov	x1, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_execvp
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_config_error_nagbar_pid,4,2    ; @config_error_nagbar_pid
	.comm	_command_error_nagbar_pid,4,2   ; @command_error_nagbar_pid
	.comm	_SHUTDOWN_REASON_RESTART,4,2    ; @SHUTDOWN_REASON_RESTART
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"restarting \"%s\"...\n"

	.comm	_start_argv,8,3                 ; @start_argv
l_.str.1:                               ; @.str.1
	.asciz	"-a"

l_.str.2:                               ; @.str.2
	.asciz	"-d"

l_.str.3:                               ; @.str.3
	.asciz	"all"

l_.str.4:                               ; @.str.4
	.asciz	"--restart"

l_.str.5:                               ; @.str.5
	.asciz	"-r"

.subsections_via_symbols
