	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_set_safe_displaymarks   ## -- Begin function dce110_set_safe_displaymarks
	.p2align	4, 0x90
_dce110_set_safe_displaymarks:          ## @dce110_set_safe_displaymarks
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_WATERMARK@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -64(%rbp)
	movq	_SAFE_NBP_MARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -96(%rbp)
	movq	_MAX_PIPES@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	%rax, %rbx
	shlq	$32, %rbx
	orq	%rax, %rbx
	movl	$8, %r12d
	xorl	%r15d, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	shlq	$4, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpq	$0, (%rax,%r12)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rax,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rax
	movq	_MAX_WATERMARK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, 16(%rsp)
	movdqa	-96(%rbp), %xmm0
	movdqu	%xmm0, (%rsp)
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	*8(%rax)
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx), %rdi
	movq	(%rdi), %rax
	movq	_MAX_WATERMARK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movdqa	-64(%rbp), %xmm0
	movdqu	%xmm0, (%rsp)
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	*(%rax)
	jmp	LBB0_6
LBB0_7:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WATERMARK,4,2              ## @MAX_WATERMARK
	.comm	_SAFE_NBP_MARK,4,2              ## @SAFE_NBP_MARK
	.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	_dce110_set_safe_displaymarks   ; -- Begin function dce110_set_safe_displaymarks
	.p2align	2
_dce110_set_safe_displaymarks:          ; @dce110_set_safe_displaymarks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x22, _MAX_PIPES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_PIPES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	x24, #0
	ldr	w25, [x1]
Lloh2:
	adrp	x8, _SAFE_NBP_MARK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SAFE_NBP_MARK@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	bfi	x20, x20, #32, #32
Lloh5:
	adrp	x26, _MAX_WATERMARK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MAX_WATERMARK@GOTPAGEOFF]
	ldr	w21, [x26]
	bfi	x21, x21, #32, #32
	lsl	x27, x25, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #16
	cmp	x24, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x8, x23
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x8, x23]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	w9, [x26]
	str	w9, [sp, #16]
	stp	x21, x21, [sp]
	mov	x1, x20
	mov	x2, x20
	mov	x3, x21
	mov	x4, x21
	mov	x5, #0
	mov	x6, #0
	blr	x8
	cmp	x25, x24
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x27]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w7, [x26]
	mov	x1, x20
	mov	x2, x20
	mov	x3, x21
	mov	x4, x21
	mov	x5, x21
	mov	x6, x21
	blr	x8
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WATERMARK,4,2              ; @MAX_WATERMARK
	.comm	_SAFE_NBP_MARK,4,2              ; @SAFE_NBP_MARK
	.comm	_MAX_PIPES,4,2                  ; @MAX_PIPES
.subsections_via_symbols
