	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_nagbar                   ## -- Begin function start_nagbar
	.p2align	4, 0x90
_start_nagbar:                          ## @start_nagbar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %esi
	cmpl	$-1, %esi
	je	LBB0_1
## %bb.6:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_fork
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_exec_i3_utility
	movl	(%rbx), %eax
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_DLOG
	movl	$8, %edi
	callq	_smalloc
	movq	%rax, %r14
	movl	(%rbx), %edx
	movq	_nagbar_exited@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_ev_child_init
	movq	%rbx, (%r14)
	movq	_main_loop@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_ev_child_start
	movl	$8, %edi
	callq	_smalloc
	movq	%rax, %r14
	movq	_nagbar_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ev_cleanup_init
	movq	%rbx, (%r14)
	movl	(%r15), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ev_cleanup_start               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i3-nagbar already running (PID %d), not starting again.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not fork()"

L_.str.2:                               ## @.str.2
	.asciz	"i3-nagbar"

L_.str.3:                               ## @.str.3
	.asciz	"Starting i3-nagbar with PID %d\n"

	.comm	_nagbar_exited,4,2              ## @nagbar_exited
	.comm	_main_loop,4,2                  ## @main_loop
	.comm	_nagbar_cleanup,4,2             ## @nagbar_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_nagbar                   ; -- Begin function start_nagbar
	.p2align	2
_start_nagbar:                          ; @start_nagbar
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	ldr	w1, [x0]
	cmn	w1, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DLOG
LBB0_2:
	mov	x19, x0
	bl	_fork
	str	w0, [x19]
	cbz	w0, LBB0_5
; %bb.3:
	mov	x1, x0
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_warn
LBB0_5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_exec_i3_utility
	ldr	w1, [x19]
LBB0_6:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	mov	w0, #8
	bl	_smalloc
	mov	x20, x0
	ldr	w2, [x19]
Lloh8:
	adrp	x1, _nagbar_exited@GOTPAGE
Lloh9:
	ldr	x1, [x1, _nagbar_exited@GOTPAGEOFF]
	mov	w3, #0
	bl	_ev_child_init
	str	x19, [x20]
Lloh10:
	adrp	x21, _main_loop@GOTPAGE
Lloh11:
	ldr	x21, [x21, _main_loop@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ev_child_start
	mov	w0, #8
	bl	_smalloc
	mov	x20, x0
Lloh12:
	adrp	x8, _nagbar_cleanup@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nagbar_cleanup@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_ev_cleanup_init
	str	x19, [x20]
	ldr	w0, [x21]
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ev_cleanup_start
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i3-nagbar already running (PID %d), not starting again.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not fork()"

l_.str.2:                               ; @.str.2
	.asciz	"i3-nagbar"

l_.str.3:                               ; @.str.3
	.asciz	"Starting i3-nagbar with PID %d\n"

	.comm	_nagbar_exited,4,2              ; @nagbar_exited
	.comm	_main_loop,4,2                  ; @main_loop
	.comm	_nagbar_cleanup,4,2             ; @nagbar_cleanup
.subsections_via_symbols
