	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x_shape_frame
_x_shape_frame:                         ## @x_shape_frame
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %rdi
	callq	_assert
	movq	_conn@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_XCB_SHAPE_SO_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movq	16(%rbx), %rax
	movq	32(%rbx), %r9
	addq	%rax, %r9
	addq	24(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %r10d
	movl	%r14d, %edx
	movl	%r14d, %ecx
	pushq	%r10
	pushq	%rax
	callq	_xcb_shape_combine
	addq	$16, %rsp
	leaq	-64(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_x_get_border_rectangles
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	movq	_XCB_SHAPE_SO_UNION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_XCB_CLIP_ORDERING_UNSORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %r8d
	subq	$8, %rsp
	movl	%r14d, %edx
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	pushq	$0
	callq	_xcb_shape_rectangles
	addq	$32, %rsp
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_conn,4,2                       ## @conn
	.comm	_XCB_SHAPE_SO_SET,4,2           ## @XCB_SHAPE_SO_SET
	.comm	_XCB_SHAPE_SO_UNION,4,2         ## @XCB_SHAPE_SO_UNION
	.comm	_XCB_CLIP_ORDERING_UNSORTED,4,2 ## @XCB_CLIP_ORDERING_UNSORTED
	.no_dead_strip	_x_shape_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x_shape_frame
_x_shape_frame:                         ; @x_shape_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x0, [x0, #8]
	bl	_assert
Lloh3:
	adrp	x21, _conn@GOTPAGE
Lloh4:
	ldr	x21, [x21, _conn@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _XCB_SHAPE_SO_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XCB_SHAPE_SO_SET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w4, [x20]
	ldp	x9, x8, [x20, #24]
	ldp	x11, x10, [x20, #8]
	add	x5, x10, x8
	add	x6, x9, x10
	ldr	w7, [x11]
	mov	x2, x19
	mov	x3, x19
	bl	_xcb_shape_combine
	add	x22, sp, #8
	add	x1, sp, #8
	mov	x0, x20
	bl	_x_get_border_rectangles
	cbz	x0, LBB0_2
; %bb.1:
	mov	x7, x0
Lloh8:
	adrp	x8, _XCB_SHAPE_SO_UNION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XCB_SHAPE_SO_UNION@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _XCB_CLIP_ORDERING_UNSORTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XCB_CLIP_ORDERING_UNSORTED@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	ldr	w4, [x20]
	str	x22, [sp]
	mov	x2, x19
	mov	w5, #0
	mov	w6, #0
	bl	_xcb_shape_rectangles
LBB0_2:
	ldr	x8, [sp, #24]
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_4
; %bb.3:
	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
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_conn,4,2                       ; @conn
	.comm	_XCB_SHAPE_SO_SET,4,2           ; @XCB_SHAPE_SO_SET
	.comm	_XCB_SHAPE_SO_UNION,4,2         ; @XCB_SHAPE_SO_UNION
	.comm	_XCB_CLIP_ORDERING_UNSORTED,4,2 ; @XCB_CLIP_ORDERING_UNSORTED
	.no_dead_strip	_x_shape_frame
.subsections_via_symbols
