	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_setup_hw
_preview_setup_hw:                      ## @preview_setup_hw
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r12
	movq	_update_attrs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	notl	-44(%rbp)                       ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13,%r14), %rax
	testq	%rax, %rax
	movq	%r15, %r13
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jae	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %r15
	movq	(%r13), %r13
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	btl	%ebx, %esi
	setb	%cl
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13,%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx,4), %rsi
	movq	%r12, %rdi
	callq	*%rdx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13,%r14), %rax
	testq	%rax, %rax
	movq	%r15, %r13
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	jmp	LBB0_11
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_attrs,8,3               ## @update_attrs
	.no_dead_strip	_preview_setup_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_setup_hw
_preview_setup_hw:                      ; @preview_setup_hw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	w1, LBB0_13
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _update_attrs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _update_attrs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_13
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	mvn	w21, w21
	mov	w25, #1
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26, x23]
	cbz	x8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	w1, #0
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	blr	x8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x24, w0, uxtw
	b.hs	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w25, w24
	tst	w8, w19
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x26, [x22]
	ldr	x9, [x20]
	lsr	w10, w21, w24
	and	w10, w10, #0x1
	add	x1, x9, w10, uxtw #2
	ldr	w9, [x1]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x26, x23
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	blr	x8
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26, x23]
	cbz	x8, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	w1, #1
	b	LBB0_5
LBB0_13:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_update_attrs,8,3               ; @update_attrs
	.no_dead_strip	_preview_setup_hw
.subsections_via_symbols
