	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_window_update_motif_hints      ## -- Begin function window_update_motif_hints
	.p2align	4, 0x90
_window_update_motif_hints:             ## @window_update_motif_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_BS_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:
	movq	%rbx, %rdi
	callq	_xcb_get_property_value_length
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%rbx, %rdi
	callq	_xcb_get_property_value
	testq	%r14, %r14
	je	LBB0_12
## %bb.5:
	testb	$2, (%rax)
	je	LBB0_12
## %bb.6:
	movl	8(%rax), %ecx
	testb	$2, %cl
	jne	LBB0_7
## %bb.8:
	movq	_BS_NONE@GOTPCREL(%rip), %rax
	testb	$9, %cl
	je	LBB0_11
LBB0_10:
	movq	_BS_NORMAL@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_12:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FREE                           ## TAILCALL
LBB0_7:
	movq	_BS_PIXEL@GOTPCREL(%rip), %rax
	testb	$9, %cl
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BS_NORMAL,4,2                  ## @BS_NORMAL
	.comm	_BS_PIXEL,4,2                   ## @BS_PIXEL
	.comm	_BS_NONE,4,2                    ## @BS_NONE
	.comm	_MWM_DECOR_ALL,4,2              ## @MWM_DECOR_ALL
	.comm	_MWM_DECOR_BORDER,4,2           ## @MWM_DECOR_BORDER
	.comm	_MWM_DECOR_TITLE,4,2            ## @MWM_DECOR_TITLE
	.comm	_MWM_HINTS_DECORATIONS,4,2      ## @MWM_HINTS_DECORATIONS
	.comm	_MWM_HINTS_DECORATIONS_FIELD,8,3 ## @MWM_HINTS_DECORATIONS_FIELD
	.comm	_MWM_HINTS_FLAGS_FIELD,8,3      ## @MWM_HINTS_FLAGS_FIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_window_update_motif_hints      ; -- Begin function window_update_motif_hints
	.p2align	2
_window_update_motif_hints:             ; @window_update_motif_hints
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BS_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BS_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_2:
	cbz	x19, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_xcb_get_property_value_length
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_xcb_get_property_value
	cbz	x20, LBB0_7
; %bb.5:
	ldrb	w8, [x0]
	tbz	w8, #1, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _BS_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BS_NONE@GOTPAGEOFF]
	ldr	w9, [x0, #8]
Lloh5:
	adrp	x10, _BS_PIXEL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BS_PIXEL@GOTPAGEOFF]
	tst	w9, #0x2
Lloh7:
	adrp	x11, _BS_NORMAL@GOTPAGE
Lloh8:
	ldr	x11, [x11, _BS_NORMAL@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	mov	w10, #9
	tst	w9, w10
	csel	x8, x8, x11, eq
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FREE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BS_NORMAL,4,2                  ; @BS_NORMAL
	.comm	_BS_PIXEL,4,2                   ; @BS_PIXEL
	.comm	_BS_NONE,4,2                    ; @BS_NONE
	.comm	_MWM_DECOR_ALL,4,2              ; @MWM_DECOR_ALL
	.comm	_MWM_DECOR_BORDER,4,2           ; @MWM_DECOR_BORDER
	.comm	_MWM_DECOR_TITLE,4,2            ; @MWM_DECOR_TITLE
	.comm	_MWM_HINTS_DECORATIONS,4,2      ; @MWM_HINTS_DECORATIONS
	.comm	_MWM_HINTS_DECORATIONS_FIELD,8,3 ; @MWM_HINTS_DECORATIONS_FIELD
	.comm	_MWM_HINTS_FLAGS_FIELD,8,3      ; @MWM_HINTS_FLAGS_FIELD
.subsections_via_symbols
