	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x_set_shape                    ## -- Begin function x_set_shape
	.p2align	4, 0x90
_x_set_shape:                           ## @x_set_shape
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_state_for_frame
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	cmpl	$128, %r14d
	je	LBB0_7
## %bb.4:
	cmpl	$129, %r14d
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rax
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_7:
	movq	(%rbx), %rax
	addq	$4, %rax
LBB0_8:
	movl	%r15d, (%rax)
	movq	%rbx, %rdi
	callq	_con_is_floating
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	callq	_x_shape_frame
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ELOG                           ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	_x_unshape_frame
LBB0_12:
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcb_flush                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"window state for con %p not found\n"

L_.str.1:                               ## @.str.1
	.asciz	"Received unknown shape event kind for con %p. This is a bug.\n"

	.comm	_conn,4,2                       ## @conn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x_set_shape                    ; -- Begin function x_set_shape
	.p2align	2
_x_set_shape:                           ; @x_set_shape
	.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, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_state_for_frame
	cbz	x0, LBB0_4
; %bb.1:
	cmp	w20, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #129
	b.ne	LBB0_9
; %bb.3:
	ldr	x8, [x19]
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_5:
	ldr	x8, [x19]
	add	x8, x8, #4
LBB0_6:
	str	w21, [x8]
	mov	x0, x19
	bl	_con_is_floating
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	cbz	w21, LBB0_12
; %bb.8:
	bl	_x_shape_frame
	b	LBB0_13
LBB0_9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	mov	x1, x19
	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
	b	_ELOG
LBB0_11:
	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
LBB0_12:
	bl	_x_unshape_frame
LBB0_13:
Lloh4:
	adrp	x8, _conn@GOTPAGE
Lloh5:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	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
	b	_xcb_flush
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"window state for con %p not found\n"

l_.str.1:                               ; @.str.1
	.asciz	"Received unknown shape event kind for con %p. This is a bug.\n"

	.comm	_conn,4,2                       ; @conn
.subsections_via_symbols
