	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_property_notify
_handle_property_notify:                ## @handle_property_notify
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	(%rbx), %rax
	movq	_atoms@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	__XEMBED_INFO@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpq	(%rcx,%rdx,8), %rax
	jne	LBB0_12
## %bb.1:
	movq	8(%rbx), %rcx
	movq	_XCB_PROPERTY_NEW_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movl	16(%rbx), %edi
	callq	_trayclient_from_window
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r15
	movq	_xcb_connection@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%rax), %edx
	movq	(%r14), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_XCB_GET_PROPERTY_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$64, (%rsp)
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	callq	_xcb_get_property_unchecked
	movl	(%r12), %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rax, %r14
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.5:
	movl	8(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r14, %rdi
	callq	_xcb_get_property_value
	movq	%rax, %rbx
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movl	4(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_XEMBED_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%rbx), %ebx
	andl	%r13d, %ebx
	xorl	%esi, %esi
	cmpl	%r13d, %ebx
	sete	%sil
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpl	%r13d, %ebx
	je	LBB0_8
## %bb.7:
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_xcb_unmap_window
	jmp	LBB0_11
LBB0_12:
	movq	_XCB_ATOM_WM_CLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movl	16(%rbx), %edi
	callq	_trayclient_from_window
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trayclient_update_class        ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	16(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ELOG                           ## TAILCALL
LBB0_16:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_8:
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	cmpl	%r13d, %ebx
	jne	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_xcb_map_window
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PropertyNotify\n"

	.comm	_atoms,8,3                      ## @atoms
	.comm	__XEMBED_INFO,8,3               ## @_XEMBED_INFO
	.comm	_XCB_PROPERTY_NEW_VALUE,8,3     ## @XCB_PROPERTY_NEW_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"xembed_info updated\n"

L_.str.2:                               ## @.str.2
	.asciz	"PropertyNotify received for unknown window %08x\n"

	.comm	_xcb_connection,4,2             ## @xcb_connection
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ## @XCB_GET_PROPERTY_TYPE_ANY
L_.str.3:                               ## @.str.3
	.asciz	"xembed_info unset\n"

L_.str.4:                               ## @.str.4
	.asciz	"xembed format = %d, len = %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"xembed version = %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"xembed flags = %d\n"

	.comm	_XEMBED_MAPPED,4,2              ## @XEMBED_MAPPED
L_.str.7:                               ## @.str.7
	.asciz	"map state now %d\n"

	.comm	_XCB_ATOM_WM_CLASS,8,3          ## @XCB_ATOM_WM_CLASS
	.no_dead_strip	_handle_property_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_property_notify
_handle_property_notify:                ; @handle_property_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _atoms@GOTPAGE
Lloh3:
	ldr	x21, [x21, _atoms@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	adrp	x23, __XEMBED_INFO@GOTPAGE
Lloh5:
	ldr	x23, [x23, __XEMBED_INFO@GOTPAGEOFF]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x9, [x20, #8]
Lloh6:
	adrp	x10, _XCB_PROPERTY_NEW_VALUE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _XCB_PROPERTY_NEW_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.2:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DLOG
	ldr	w0, [x20, #16]
	bl	_trayclient_from_window
	cbz	x0, LBB0_12
; %bb.3:
	mov	x19, x0
Lloh11:
	adrp	x22, _xcb_connection@GOTPAGE
Lloh12:
	ldr	x22, [x22, _xcb_connection@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w2, [x19]
	ldr	x8, [x21]
	ldr	x9, [x23]
	ldr	x3, [x8, x9, lsl #3]
Lloh13:
	adrp	x8, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w5, #0
	mov	w6, #64
	bl	_xcb_get_property_unchecked
	mov	x1, x0
	ldr	w0, [x22]
	mov	x2, #0
	bl	_xcb_get_property_reply
	cbz	x0, LBB0_13
; %bb.4:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.5:
	ldr	w9, [x20, #8]
	stp	x9, x8, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DLOG
	mov	x0, x20
	bl	_xcb_get_property_value
	mov	x21, x0
	ldr	w8, [x0]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DLOG
	ldr	w8, [x21, #4]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DLOG
	ldr	w8, [x21, #4]
Lloh22:
	adrp	x9, _XEMBED_MAPPED@GOTPAGE
Lloh23:
	ldr	x9, [x9, _XEMBED_MAPPED@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x9]
	and	w23, w21, w8
	cmp	w23, w21
	cset	w8, eq
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DLOG
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.6:
	cmp	w23, w21
	b.eq	LBB0_14
; %bb.7:
	ldr	w0, [x22]
	ldr	w1, [x19]
	bl	_xcb_unmap_window
	b	LBB0_17
LBB0_8:
Lloh27:
	adrp	x9, _XCB_ATOM_WM_CLASS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _XCB_ATOM_WM_CLASS@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	w0, [x20, #16]
	bl	_trayclient_from_window
	cbz	x0, LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_trayclient_update_class
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	w1, [x20, #16]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ELOG
LBB0_13:
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_DLOG
LBB0_14:
	cbnz	x8, LBB0_17
; %bb.15:
	cmp	w23, w21
	b.ne	LBB0_17
; %bb.16:
	ldr	w0, [x22]
	ldr	w1, [x19]
	bl	_xcb_map_window
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_free
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PropertyNotify\n"

	.comm	_atoms,8,3                      ; @atoms
	.comm	__XEMBED_INFO,8,3               ; @_XEMBED_INFO
	.comm	_XCB_PROPERTY_NEW_VALUE,8,3     ; @XCB_PROPERTY_NEW_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"xembed_info updated\n"

l_.str.2:                               ; @.str.2
	.asciz	"PropertyNotify received for unknown window %08x\n"

	.comm	_xcb_connection,4,2             ; @xcb_connection
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ; @XCB_GET_PROPERTY_TYPE_ANY
l_.str.3:                               ; @.str.3
	.asciz	"xembed_info unset\n"

l_.str.4:                               ; @.str.4
	.asciz	"xembed format = %d, len = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"xembed version = %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"xembed flags = %d\n"

	.comm	_XEMBED_MAPPED,4,2              ; @XEMBED_MAPPED
l_.str.7:                               ; @.str.7
	.asciz	"map state now %d\n"

	.comm	_XCB_ATOM_WM_CLASS,8,3          ; @XCB_ATOM_WM_CLASS
	.no_dead_strip	_handle_property_notify
.subsections_via_symbols
