	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_remove_property_atom       ## -- Begin function xcb_remove_property_atom
	.p2align	4, 0x90
_xcb_remove_property_atom:              ## @xcb_remove_property_atom
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_xcb_grab_server
	movq	_XCB_GET_PROPERTY_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	pushq	$4096                           ## imm = 0x1000
	callq	_xcb_get_property
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_xcb_get_property_value_length
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	%rbx, %rdi
	callq	_xcb_get_property_value
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r14
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_xcb_get_property_value_length
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ecx
	leal	7(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	cltd
	idivl	%esi
	movl	%eax, %r15d
	leaq	(,%r15,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r10
	testl	%r15d, %r15d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.5:
	cmpl	$1, %r15d
	jne	LBB0_13
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
LBB0_7:
	testb	$1, %r15b
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	(%r14,%rbx,8), %rsi
	cmpq	%r12, %rsi
	je	LBB0_10
## %bb.9:
	movslq	%eax, %rdx
	incl	%eax
	movq	%rsi, (%r10,%rdx,8)
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_10:
	movq	_XCB_PROP_MODE_REPLACE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_XCB_ATOM_ATOM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	$32, %r9d
	pushq	%r10
	pushq	%rax
	callq	_xcb_change_property
	addq	$16, %rsp
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movq	%rbx, %rdi
	callq	_FREE
	movq	%r13, %rdi
	callq	_xcb_ungrab_server
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%r15d, %edx
	andl	$-2, %edx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$2, %rbx
	cmpq	%rbx, %rdx
	je	LBB0_7
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rsi
	cmpq	%r12, %rsi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%eax, %rdi
	incl	%eax
	movq	%rsi, (%r10,%rdi,8)
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r14,%rbx,8), %rsi
	cmpq	%r12, %rsi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%eax, %rdi
	incl	%eax
	movq	%rsi, (%r10,%rdi,8)
	jmp	LBB0_18
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ## @XCB_GET_PROPERTY_TYPE_ANY
	.comm	_XCB_PROP_MODE_REPLACE,4,2      ## @XCB_PROP_MODE_REPLACE
	.comm	_XCB_ATOM_ATOM,4,2              ## @XCB_ATOM_ATOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_remove_property_atom       ; -- Begin function xcb_remove_property_atom
	.p2align	2
_xcb_remove_property_atom:              ; @xcb_remove_property_atom
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_xcb_grab_server
Lloh3:
	adrp	x8, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #4096
	bl	_xcb_get_property
	mov	x1, x0
	mov	x0, x19
	mov	x2, #0
	bl	_xcb_get_property_reply
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.1:
	mov	x0, x23
	bl	_xcb_get_property_value_length
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, x23
	bl	_xcb_get_property_value
	cbz	x0, LBB0_10
; %bb.3:
	mov	x24, x0
	mov	x0, x23
	bl	_xcb_get_property_value_length
	mov	x25, sp
	ldr	w8, [x23]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	sdiv	w8, w0, w8
	lsl	x9, x8, #3
	add	x10, x9, #15
	and	x12, x10, #0xffffffff0
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x7, x9, x12
	mov	sp, x7
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w6, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #8
	subs	x8, x8, #1
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	cmp	x9, x22
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x9, [x7, w6, sxtw #3]
	add	w6, w6, #1
	b	LBB0_5
LBB0_8:
	mov	w6, #0
LBB0_9:
Lloh8:
	adrp	x8, _XCB_PROP_MODE_REPLACE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XCB_PROP_MODE_REPLACE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _XCB_ATOM_ATOM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XCB_ATOM_ATOM@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w5, #32
	bl	_xcb_change_property
	mov	sp, x25
LBB0_10:
	mov	x0, x23
	bl	_FREE
	mov	x0, x19
	bl	_xcb_ungrab_server
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ; @XCB_GET_PROPERTY_TYPE_ANY
	.comm	_XCB_PROP_MODE_REPLACE,4,2      ; @XCB_PROP_MODE_REPLACE
	.comm	_XCB_ATOM_ATOM,4,2              ; @XCB_ATOM_ATOM
.subsections_via_symbols
