	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altera_extract_target_data
_altera_extract_target_data:            ## @altera_extract_target_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movl	%ecx, %r9d
	addl	%edx, %r8d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	notl	%eax
	movl	%edx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	andl	%eax, (%rsi,%rcx,4)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	incl	%r9d
	cmpl	%r8d, %edx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r9d, %eax
	sarl	$3, %eax
	cltq
	movl	(%rdi,%rax,4), %r10d
	movl	%r9d, %eax
	andb	$7, %al
	movzbl	%al, %r11d
	movl	%edx, %ecx
	andb	$7, %cl
	movl	$1, %eax
	shll	%cl, %eax
	btl	%r11d, %r10d
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	orl	%eax, (%rsi,%rcx,4)
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_altera_extract_target_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altera_extract_target_data
_altera_extract_target_data:            ; @altera_extract_target_data
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
	b.lt	LBB0_6
; %bb.1:
	add	w8, w4, w2
	mov	w9, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w11, w2, #3
	sbfiz	x11, x11, #2, #32
	ldr	w12, [x1, x11]
	bic	w10, w12, w10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x1, x11]
	add	w2, w2, #1
	add	w3, w3, #1
	cmp	w2, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	asr	w10, w3, #3
	ldr	w11, [x0, w10, sxtw #2]
	and	w12, w3, #0x7
	and	w10, w2, #0x7
	lsl	w10, w9, w10
	lsr	w11, w11, w12
	tbz	w11, #0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	asr	w11, w2, #3
	sbfiz	x11, x11, #2, #32
	ldr	w12, [x1, x11]
	orr	w10, w12, w10
	b	LBB0_3
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_altera_extract_target_data
.subsections_via_symbols
