	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_focus                      ## -- Begin function con_focus
	.p2align	4, 0x90
_con_focus:                             ## @con_focus
	.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	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DLOG
	movq	8(%rbx), %rdi
	addq	$16, %rdi
	movq	_focused@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	8(%rbx), %rdi
	addq	$16, %rdi
	movq	(%r14), %rdx
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	movq	8(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	callq	_con_focus
LBB0_2:
	movq	%rbx, (%r14)
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_con_is_leaf
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_con_set_urgency
	movq	%rbx, %rdi
	callq	_con_update_parents_urgency
	movq	%rbx, %rdi
	callq	_con_get_workspace
	movl	%eax, %edi
	callq	_workspace_update_urgent_flag
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ipc_send_window_event          ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"con_focus = %p\n"

	.comm	_focused,8,3                    ## @focused
L_.str.1:                               ## @.str.1
	.asciz	"urgent"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_focus                      ; -- Begin function con_focus
	.p2align	2
_con_focus:                             ; @con_focus
	.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
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DLOG
	ldr	x8, [x19, #8]
	add	x0, x8, #16
Lloh2:
	adrp	x20, _focused@GOTPAGE
Lloh3:
	ldr	x20, [x20, _focused@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x1, x19
	bl	_TAILQ_REMOVE
	ldr	x8, [x19, #8]
	add	x0, x8, #16
	ldr	x2, [x20]
	mov	x1, x19
	bl	_TAILQ_INSERT_HEAD
	ldr	x0, [x19, #8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_con_focus
LBB0_2:
	str	x19, [x20]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_con_is_leaf
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_con_set_urgency
	mov	x0, x19
	bl	_con_update_parents_urgency
	mov	x0, x19
	bl	_con_get_workspace
	bl	_workspace_update_urgent_flag
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ipc_send_window_event
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"con_focus = %p\n"

	.comm	_focused,8,3                    ; @focused
l_.str.1:                               ; @.str.1
	.asciz	"urgent"

.subsections_via_symbols
