	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function start_application
LCPI0_0:
	.quad	0x404e000000000000              ## double 60
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_start_application
	.p2align	4, 0x90
_start_application:                     ## @start_application
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_5
LBB0_2:
	movq	_sndisplay@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_conn_screen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sn_launcher_context_new
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_sn_launcher_context_set_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_sn_launcher_context_set_description
	movq	%r14, %rdi
	callq	_sstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$0, (%rax)
LBB0_4:
	movq	_last_timestamp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_sn_launcher_context_initiate
	movq	%rbx, %rdi
	callq	_free
	movl	$1, %edi
	movl	$8, %esi
	callq	_scalloc
	movq	%rax, %rbx
	movq	_startup_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ev_timer_init
	movq	%r12, (%rbx)
	movq	_main_loop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ev_timer_start
	movq	%r12, %rdi
	callq	_sn_launcher_context_get_startup_id
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_LOG
	movq	_focused@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_con_get_workspace
	movq	%rax, %r13
	movl	$1, %edi
	movl	$24, %esi
	callq	_scalloc
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_sn_launcher_context_get_startup_id
	movq	%rax, %rdi
	callq	_sstrdup
	movq	%rax, 16(%rbx)
	movq	(%r13), %rdi
	callq	_sstrdup
	movq	%rax, 8(%rbx)
	movq	%r12, (%rbx)
	movq	_sequences@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_startup_sequences@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	%r12, %rdi
	callq	_sn_launcher_context_ref
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_LOG
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	je	LBB0_6
## %bb.14:
	xorl	%edi, %edi
	callq	_wait
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_xcursor_supported@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_XCURSOR_CURSOR_WATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_16
## %bb.18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcursor_set_root_cursor        ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcb_set_root_cursor            ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	callq	_setsid
	movq	_RLIMIT_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_original_rlimit_core@GOTPCREL(%rip), %rsi
	callq	_setrlimit
	movq	_listen_fds@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.7:
	movq	_SD_LISTEN_FDS_START@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_close
	incl	%ebx
	movq	_listen_fds@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r13), %eax
	cmpl	%eax, %ebx
	jl	LBB0_8
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	callq	_unsetenv
	leaq	L_.str.5(%rip), %rdi
	callq	_unsetenv
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_sn_launcher_context_setup_child_process
LBB0_12:
	movq	_current_socketpath@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	movl	$1, %edx
	callq	_setenv
	movq	__PATH_BSHELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rdx
	movl	%edi, %esi
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_execl
LBB0_13:
	xorl	%edi, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_sndisplay,4,2                  ## @sndisplay
	.comm	_conn_screen,4,2                ## @conn_screen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i3"

L_.str.1:                               ## @.str.1
	.asciz	"exec command in i3"

	.comm	_last_timestamp,4,2             ## @last_timestamp
	.comm	_startup_timeout,4,2            ## @startup_timeout
	.comm	_main_loop,4,2                  ## @main_loop
L_.str.2:                               ## @.str.2
	.asciz	"startup id = %s\n"

	.comm	_focused,4,2                    ## @focused
	.comm	_startup_sequences,4,2          ## @startup_sequences
	.comm	_sequences,4,2                  ## @sequences
L_.str.3:                               ## @.str.3
	.asciz	"executing: %s\n"

	.comm	_RLIMIT_CORE,4,2                ## @RLIMIT_CORE
	.comm	_original_rlimit_core,4,2       ## @original_rlimit_core
	.comm	_SD_LISTEN_FDS_START,4,2        ## @SD_LISTEN_FDS_START
	.comm	_listen_fds,4,2                 ## @listen_fds
L_.str.4:                               ## @.str.4
	.asciz	"LISTEN_PID"

L_.str.5:                               ## @.str.5
	.asciz	"LISTEN_FDS"

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
L_.str.6:                               ## @.str.6
	.asciz	"I3SOCK"

	.comm	_current_socketpath,4,2         ## @current_socketpath
	.comm	__PATH_BSHELL,4,2               ## @_PATH_BSHELL
L_.str.7:                               ## @.str.7
	.asciz	"-c"

	.comm	_xcursor_supported,8,3          ## @xcursor_supported
	.comm	_XCURSOR_CURSOR_WATCH,4,2       ## @XCURSOR_CURSOR_WATCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_application              ; -- Begin function start_application
	.p2align	2
_start_application:                     ; @start_application
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _sndisplay@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sndisplay@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _conn_screen@GOTPAGE
Lloh4:
	ldr	x8, [x8, _conn_screen@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_sn_launcher_context_new
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sn_launcher_context_set_name
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_sn_launcher_context_set_description
	mov	x0, x19
	bl	_sstrdup
	mov	x22, x0
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x0]
LBB0_4:
Lloh10:
	adrp	x8, _last_timestamp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _last_timestamp@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_sn_launcher_context_initiate
	mov	x0, x22
	bl	_free
	mov	w0, #1
	mov	w1, #8
	bl	_scalloc
	mov	x22, x0
Lloh15:
	adrp	x8, _startup_timeout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _startup_timeout@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x8, #4633641066610819072
	fmov	d0, x8
	mov	w2, #0
	bl	_ev_timer_init
	str	x21, [x22]
Lloh18:
	adrp	x8, _main_loop@GOTPAGE
Lloh19:
	ldr	x8, [x8, _main_loop@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_ev_timer_start
	mov	x0, x21
	bl	_sn_launcher_context_get_startup_id
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_LOG
Lloh23:
	adrp	x8, _focused@GOTPAGE
Lloh24:
	ldr	x8, [x8, _focused@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_con_get_workspace
	mov	x22, x0
	mov	w0, #1
	mov	w1, #24
	bl	_scalloc
	mov	x23, x0
	mov	x0, x21
	bl	_sn_launcher_context_get_startup_id
	bl	_sstrdup
	str	x0, [x23, #16]
	ldr	x0, [x22]
	bl	_sstrdup
	stp	x21, x0, [x23]
Lloh26:
	adrp	x8, _sequences@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sequences@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x0, _startup_sequences@GOTPAGE
Lloh30:
	ldr	x0, [x0, _startup_sequences@GOTPAGEOFF]
	mov	x1, x23
	bl	_TAILQ_INSERT_TAIL
	mov	x0, x21
	bl	_sn_launcher_context_ref
LBB0_5:
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_LOG
	bl	_fork
	cbz	x0, LBB0_11
; %bb.6:
	mov	w0, #0
	bl	_wait
	cbz	w20, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh33:
	adrp	x8, _xcursor_supported@GOTPAGE
Lloh34:
	ldr	x8, [x8, _xcursor_supported@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _XCURSOR_CURSOR_WATCH@GOTPAGE
Lloh37:
	ldr	x9, [x9, _XCURSOR_CURSOR_WATCH@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x9]
	cbz	x8, LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xcursor_set_root_cursor
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xcb_set_root_cursor
LBB0_11:
	bl	_setsid
Lloh39:
	adrp	x8, _RLIMIT_CORE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RLIMIT_CORE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, _original_rlimit_core@GOTPAGE
Lloh43:
	ldr	x1, [x1, _original_rlimit_core@GOTPAGEOFF]
	bl	_setrlimit
Lloh44:
	adrp	x23, _listen_fds@GOTPAGE
Lloh45:
	ldr	x23, [x23, _listen_fds@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
Lloh46:
	adrp	x24, _SD_LISTEN_FDS_START@GOTPAGE
Lloh47:
	ldr	x24, [x24, _SD_LISTEN_FDS_START@GOTPAGEOFF]
	ldr	w22, [x24]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_close
	add	w22, w22, #1
	ldr	w8, [x24]
	ldr	w9, [x23]
	add	w8, w9, w8
	cmp	w22, w8
	b.lt	LBB0_13
LBB0_14:
Lloh48:
	adrp	x0, l_.str.4@PAGE
Lloh49:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_unsetenv
Lloh50:
	adrp	x0, l_.str.5@PAGE
Lloh51:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_unsetenv
Lloh52:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	bl	_signal
	bl	_fork
	cbnz	x0, LBB0_18
; %bb.15:
	cbnz	w20, LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_sn_launcher_context_setup_child_process
LBB0_17:
Lloh58:
	adrp	x8, _current_socketpath@GOTPAGE
Lloh59:
	ldr	x8, [x8, _current_socketpath@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x0, l_.str.6@PAGE
Lloh62:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w2, #1
	bl	_setenv
Lloh63:
	adrp	x8, __PATH_BSHELL@GOTPAGE
Lloh64:
	ldr	x8, [x8, __PATH_BSHELL@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x2, l_.str.7@PAGE
Lloh67:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x1, x0
	mov	x3, x19
	mov	x4, #0
	bl	_execl
LBB0_18:
	mov	w0, #0
	bl	__exit
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_sndisplay,4,2                  ; @sndisplay
	.comm	_conn_screen,4,2                ; @conn_screen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i3"

l_.str.1:                               ; @.str.1
	.asciz	"exec command in i3"

	.comm	_last_timestamp,4,2             ; @last_timestamp
	.comm	_startup_timeout,4,2            ; @startup_timeout
	.comm	_main_loop,4,2                  ; @main_loop
l_.str.2:                               ; @.str.2
	.asciz	"startup id = %s\n"

	.comm	_focused,4,2                    ; @focused
	.comm	_startup_sequences,4,2          ; @startup_sequences
	.comm	_sequences,4,2                  ; @sequences
l_.str.3:                               ; @.str.3
	.asciz	"executing: %s\n"

	.comm	_RLIMIT_CORE,4,2                ; @RLIMIT_CORE
	.comm	_original_rlimit_core,4,2       ; @original_rlimit_core
	.comm	_SD_LISTEN_FDS_START,4,2        ; @SD_LISTEN_FDS_START
	.comm	_listen_fds,4,2                 ; @listen_fds
l_.str.4:                               ; @.str.4
	.asciz	"LISTEN_PID"

l_.str.5:                               ; @.str.5
	.asciz	"LISTEN_FDS"

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
l_.str.6:                               ; @.str.6
	.asciz	"I3SOCK"

	.comm	_current_socketpath,4,2         ; @current_socketpath
	.comm	__PATH_BSHELL,4,2               ; @_PATH_BSHELL
l_.str.7:                               ; @.str.7
	.asciz	"-c"

	.comm	_xcursor_supported,8,3          ; @xcursor_supported
	.comm	_XCURSOR_CURSOR_WATCH,4,2       ; @XCURSOR_CURSOR_WATCH
.subsections_via_symbols
