	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_get_preferred_window_type  ## -- Begin function xcb_get_preferred_window_type
	.p2align	4, 0x90
_xcb_get_preferred_window_type:         ## @xcb_get_preferred_window_type
	.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
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %r15
	callq	_xcb_get_property_value_length
	testl	%eax, %eax
	je	LBB0_16
## %bb.2:
	movq	%r15, %rdi
	callq	_xcb_get_property_value
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_xcb_get_property_value_length
	movl	(%r15), %ecx
	leal	7(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	cltd
	idivl	%esi
	testl	%eax, %eax
	jle	LBB0_16
## %bb.4:
	xorl	%ebx, %ebx
	movq	_A__NET_WM_WINDOW_TYPE_TOOLTIP@GOTPCREL(%rip), %r12
	movq	_A__NET_WM_WINDOW_TYPE_NOTIFICATION@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rax
	movq	_A__NET_WM_WINDOW_TYPE_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_DIALOG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_UTILITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_TOOLBAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_SPLASH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_MENU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_A__NET_WM_WINDOW_TYPE_POPUP_MENU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	(%r12), %rax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	(%r13), %rax
	je	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_xcb_get_property_value_length
	movl	(%r15), %ecx
	leal	7(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	cltd
	idivl	%esi
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_16:
	movq	_XCB_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_NONE,8,3                   ## @XCB_NONE
	.comm	_A__NET_WM_WINDOW_TYPE_NORMAL,8,3 ## @A__NET_WM_WINDOW_TYPE_NORMAL
	.comm	_A__NET_WM_WINDOW_TYPE_DIALOG,8,3 ## @A__NET_WM_WINDOW_TYPE_DIALOG
	.comm	_A__NET_WM_WINDOW_TYPE_UTILITY,8,3 ## @A__NET_WM_WINDOW_TYPE_UTILITY
	.comm	_A__NET_WM_WINDOW_TYPE_TOOLBAR,8,3 ## @A__NET_WM_WINDOW_TYPE_TOOLBAR
	.comm	_A__NET_WM_WINDOW_TYPE_SPLASH,8,3 ## @A__NET_WM_WINDOW_TYPE_SPLASH
	.comm	_A__NET_WM_WINDOW_TYPE_MENU,8,3 ## @A__NET_WM_WINDOW_TYPE_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU,8,3 ## @A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_POPUP_MENU,8,3 ## @A__NET_WM_WINDOW_TYPE_POPUP_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_TOOLTIP,8,3 ## @A__NET_WM_WINDOW_TYPE_TOOLTIP
	.comm	_A__NET_WM_WINDOW_TYPE_NOTIFICATION,8,3 ## @A__NET_WM_WINDOW_TYPE_NOTIFICATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_get_preferred_window_type  ; -- Begin function xcb_get_preferred_window_type
	.p2align	2
_xcb_get_preferred_window_type:         ; @xcb_get_preferred_window_type
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	bl	_xcb_get_property_value_length
	cbz	w0, LBB0_16
; %bb.2:
	mov	x0, x19
	bl	_xcb_get_property_value
	cbz	x0, LBB0_16
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_xcb_get_property_value_length
	ldr	w8, [x19]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	sdiv	w8, w0, w8
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.4:
	mov	x21, #0
Lloh0:
	adrp	x25, _A__NET_WM_WINDOW_TYPE_TOOLBAR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _A__NET_WM_WINDOW_TYPE_TOOLBAR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _A__NET_WM_WINDOW_TYPE_SPLASH@GOTPAGE
Lloh3:
	ldr	x26, [x26, _A__NET_WM_WINDOW_TYPE_SPLASH@GOTPAGEOFF]
Lloh4:
	adrp	x27, _A__NET_WM_WINDOW_TYPE_MENU@GOTPAGE
Lloh5:
	ldr	x27, [x27, _A__NET_WM_WINDOW_TYPE_MENU@GOTPAGEOFF]
Lloh6:
	adrp	x28, _A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU@GOTPAGE
Lloh7:
	ldr	x28, [x28, _A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU@GOTPAGEOFF]
Lloh8:
	adrp	x22, _A__NET_WM_WINDOW_TYPE_POPUP_MENU@GOTPAGE
Lloh9:
	ldr	x22, [x22, _A__NET_WM_WINDOW_TYPE_POPUP_MENU@GOTPAGEOFF]
Lloh10:
	adrp	x23, _A__NET_WM_WINDOW_TYPE_TOOLTIP@GOTPAGE
Lloh11:
	ldr	x23, [x23, _A__NET_WM_WINDOW_TYPE_TOOLTIP@GOTPAGEOFF]
Lloh12:
	adrp	x24, _A__NET_WM_WINDOW_TYPE_NOTIFICATION@GOTPAGE
Lloh13:
	ldr	x24, [x24, _A__NET_WM_WINDOW_TYPE_NOTIFICATION@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x21, lsl #3]
Lloh14:
	adrp	x8, _A__NET_WM_WINDOW_TYPE_NORMAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _A__NET_WM_WINDOW_TYPE_NORMAL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x8, _A__NET_WM_WINDOW_TYPE_DIALOG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _A__NET_WM_WINDOW_TYPE_DIALOG@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x8, _A__NET_WM_WINDOW_TYPE_UTILITY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _A__NET_WM_WINDOW_TYPE_UTILITY@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	mov	x0, x19
	bl	_xcb_get_property_value_length
	ldr	w8, [x19]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	sdiv	w8, w0, w8
	cmp	x21, w8, sxtw
	b.lt	LBB0_5
LBB0_16:
Lloh23:
	adrp	x8, _XCB_NONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XCB_NONE@GOTPAGEOFF]
Lloh25:
	ldr	x0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_NONE,8,3                   ; @XCB_NONE
	.comm	_A__NET_WM_WINDOW_TYPE_NORMAL,8,3 ; @A__NET_WM_WINDOW_TYPE_NORMAL
	.comm	_A__NET_WM_WINDOW_TYPE_DIALOG,8,3 ; @A__NET_WM_WINDOW_TYPE_DIALOG
	.comm	_A__NET_WM_WINDOW_TYPE_UTILITY,8,3 ; @A__NET_WM_WINDOW_TYPE_UTILITY
	.comm	_A__NET_WM_WINDOW_TYPE_TOOLBAR,8,3 ; @A__NET_WM_WINDOW_TYPE_TOOLBAR
	.comm	_A__NET_WM_WINDOW_TYPE_SPLASH,8,3 ; @A__NET_WM_WINDOW_TYPE_SPLASH
	.comm	_A__NET_WM_WINDOW_TYPE_MENU,8,3 ; @A__NET_WM_WINDOW_TYPE_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU,8,3 ; @A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_POPUP_MENU,8,3 ; @A__NET_WM_WINDOW_TYPE_POPUP_MENU
	.comm	_A__NET_WM_WINDOW_TYPE_TOOLTIP,8,3 ; @A__NET_WM_WINDOW_TYPE_TOOLTIP
	.comm	_A__NET_WM_WINDOW_TYPE_NOTIFICATION,8,3 ; @A__NET_WM_WINDOW_TYPE_NOTIFICATION
.subsections_via_symbols
