	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_fill_msg_report_features
_cec_fill_msg_report_features:          ## @cec_fill_msg_report_features
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	%edx, %eax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	(%rcx,%rax,8), %r15
	movl	(%rdx,%rax,4), %edx
	shll	$4, %edx
	orl	$15, %edx
	movq	(%rsi), %rsi
	movl	%edx, (%rsi)
	movl	$4, 8(%r12)
	movq	_CEC_MSG_REPORT_FEATURES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rsi)
	movl	16(%rdi), %edx
	movl	%edx, 8(%rsi)
	movq	24(%rdi), %rdx
	movl	(%rdx,%rax,4), %eax
	movl	%eax, 12(%rsi)
	movq	(%rcx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %eax
	movq	(%r12), %rcx
	movslq	8(%r12), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 8(%r12)
	movl	%eax, (%rcx,%rdx,4)
	movq	_CEC_OP_FEAT_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15,%rbx,4)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	movl	$1, %r13d
	je	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_MSG_REPORT_FEATURES,4,2    ## @CEC_MSG_REPORT_FEATURES
	.comm	_CEC_OP_FEAT_EXT,4,2            ## @CEC_OP_FEAT_EXT
	.no_dead_strip	_cec_fill_msg_report_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_fill_msg_report_features
_cec_fill_msg_report_features:          ; @cec_fill_msg_report_features
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w8, w2
	ldp	x9, x10, [x0]
	ldr	x21, [x9, w2, uxtw #3]
	lsl	x8, x8, #2
	ldr	w10, [x10, x8]
	mov	w11, #15
	bfi	w11, w10, #4, #28
	ldr	x10, [x1]
	str	w11, [x10]
	mov	w11, #4
	str	w11, [x1, #8]
Lloh0:
	adrp	x11, _CEC_MSG_REPORT_FEATURES@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CEC_MSG_REPORT_FEATURES@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	str	w11, [x10, #4]
	ldr	w11, [x0, #16]
	str	w11, [x10, #8]
	ldr	x11, [x0, #24]
	ldr	w8, [x11, x8]
	str	w8, [x10, #12]
	ldr	x0, [x9]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, #0
	mov	w23, #0
Lloh3:
	adrp	x24, _CEC_OP_FEAT_EXT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CEC_OP_FEAT_EXT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x22, #2
	ldr	w9, [x21, x8]
	ldr	x10, [x19]
	ldrsw	x11, [x19, #8]
	add	w12, w11, #1
	str	w12, [x19, #8]
	str	w9, [x10, x11, lsl #2]
	ldr	w8, [x21, x8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w23, LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_MSG_REPORT_FEATURES,4,2    ; @CEC_MSG_REPORT_FEATURES
	.comm	_CEC_OP_FEAT_EXT,4,2            ; @CEC_OP_FEAT_EXT
	.no_dead_strip	_cec_fill_msg_report_features
.subsections_via_symbols
