	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_stream_set_static_screen_events ## -- Begin function dc_stream_set_static_screen_events
	.p2align	4, 0x90
_dc_stream_set_static_screen_events:    ## @dc_stream_set_static_screen_events
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PIPES@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	testl	%r12d, %r12d
	jle	LBB0_1
## %bb.2:
	movl	%r12d, %r8d
	movl	%r14d, %r10d
	andl	$-2, %r10d
	xorl	%r9d, %r9d
	xorl	%esi, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r9
	cmpq	%r8, %r9
	je	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%r9,8), %r11
	movq	8(%r13), %r12
	cmpl	$1, %r14d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r14b
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	cmpq	%r11, (%rax,%rdx,8)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rdx,8), %rax
	movslq	%esi, %rcx
	incl	%esi
	movq	%rax, (%rdi,%rcx,8)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$8, %ecx
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	$2, %rdx
	addq	$16, %rcx
	cmpq	%rdx, %r10
	je	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	cmpq	%r11, (%rax,%rdx,8)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	addq	%rcx, %rax
	addq	$-8, %rax
	movslq	%esi, %rbx
	incl	%esi
	movq	%rax, (%rdi,%rbx,8)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r12), %rax
	cmpq	%r11, (%rax,%rcx)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	%rcx, %rax
	movslq	%esi, %rbx
	incl	%esi
	movq	%rax, (%rdi,%rbx,8)
	jmp	LBB0_11
LBB0_1:
	xorl	%esi, %esi
LBB0_16:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%r13)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PIPES,4,2                  ## @MAX_PIPES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_stream_set_static_screen_events ; -- Begin function dc_stream_set_static_screen_events
	.p2align	2
_dc_stream_set_static_screen_events:    ; @dc_stream_set_static_screen_events
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _MAX_PIPES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PIPES@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x8]
	lsl	x12, x13, #3
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x12, #15
	and	x9, x9, #0xffffffff0
	sub	x8, x8, x9
	mov	sp, x8
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x10, #0
	mov	w9, #0
	mov	w11, w2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x11
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w13, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
	ldr	x15, [x1, x10, lsl #3]
	ldr	x16, [x0, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x14, x14, #8
	cmp	x12, x14
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x16]
	add	x17, x17, x14
	ldr	x2, [x17]
	cmp	x2, x15
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	str	x17, [x8, w9, sxtw #3]
	add	w9, w9, #1
	b	LBB0_5
LBB0_8:
	mov	w9, #0
LBB0_9:
	ldr	x10, [x0]
	mov	x0, x8
	mov	x1, x9
	mov	x2, x3
	blr	x10
	ldur	x8, [x29, #-8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	sp, x29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PIPES,4,2                  ; @MAX_PIPES
.subsections_via_symbols
