	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_hints
_handle_hints:                          ## @handle_hints
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%ecx, %ebx
	movq	%rsi, %r15
	movl	%ecx, %edi
	callq	_con_by_window_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_xcb_icccm_get_wm_hints
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	movq	%rax, %r14
LBB0_4:
	movl	(%r12), %edi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rsi
	callq	_window_update_hints
	movl	-36(%rbp), %esi
	movq	%r12, %rdi
	callq	_con_set_urgency
	xorl	%eax, %eax
	callq	_tree_render
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DLOG
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received WM_HINTS for unknown client\n"

	.no_dead_strip	_handle_hints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_hints
_handle_hints:                          ; @handle_hints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x5
	mov	x22, x3
	mov	x21, x1
	mov	x0, x3
	bl	_con_by_window_id
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	cbnz	x20, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x22
	bl	_xcb_icccm_get_wm_hints
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	bl	_xcb_get_property_reply
	mov	x20, x0
LBB0_3:
	ldr	w0, [x19]
	add	x2, sp, #12
	mov	x1, x20
	bl	_window_update_hints
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_con_set_urgency
	bl	_tree_render
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	mov	w0, #0
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received WM_HINTS for unknown client\n"

	.no_dead_strip	_handle_hints
.subsections_via_symbols
