	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_class_change
_handle_class_change:                   ## @handle_class_change
	.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
	movq	%r9, %r15
	movl	%ecx, %r13d
	movq	%rsi, %r14
	movl	%ecx, %edi
	callq	_con_by_window_id
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	testq	%r15, %r15
	jne	LBB0_5
## %bb.3:
	movq	_XCB_ATOM_WM_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_XCB_ATOM_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$32, (%rsp)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	xorl	%r9d, %r9d
	callq	_xcb_get_property_unchecked
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r15
	movq	(%r12), %rdi
LBB0_5:
	movq	%r15, %rsi
	callq	_window_update_class
	movq	%r12, %rdi
	callq	_remanage_window
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_ATOM_WM_CLASS,4,2          ## @XCB_ATOM_WM_CLASS
	.comm	_XCB_ATOM_STRING,4,2            ## @XCB_ATOM_STRING
	.no_dead_strip	_handle_class_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_class_change
_handle_class_change:                   ; @handle_class_change
	.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	x21, x5
	mov	x22, x3
	mov	x20, x1
	mov	x0, x3
	bl	_con_by_window_id
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_6
; %bb.2:
	cbnz	x21, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _XCB_ATOM_WM_CLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XCB_ATOM_WM_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _XCB_ATOM_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XCB_ATOM_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	w5, #0
	mov	w6, #32
	bl	_xcb_get_property_unchecked
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_xcb_get_property_reply
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	x0, [x19]
LBB0_5:
	mov	x1, x21
	bl	_window_update_class
	mov	x0, x19
	bl	_remanage_window
	mov	w0, #1
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_ATOM_WM_CLASS,4,2          ; @XCB_ATOM_WM_CLASS
	.comm	_XCB_ATOM_STRING,4,2            ; @XCB_ATOM_STRING
	.no_dead_strip	_handle_class_change
.subsections_via_symbols
