	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_find_first_free_match_stream_enc_for_link ## -- Begin function dce110_find_first_free_match_stream_enc_for_link
	.p2align	4, 0x90
_dce110_find_first_free_match_stream_enc_for_link: ## @dce110_find_first_free_match_stream_enc_for_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r10d
	testl	%r10d, %r10d
	jle	LBB0_11
## %bb.1:
	movq	(%rdx), %r8
	movq	(%rdi), %r11
	movl	$-1, %r9d
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, %r9d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %r10
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r11,%rdx,4)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rsi), %rax
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rcx
	movq	(%r8), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_2
## %bb.7:
	popq	%rbp
	retq
LBB0_8:
	testl	%r9d, %r9d
	js	LBB0_11
## %bb.9:
	movq	8(%rsi), %rax
	movl	%r9d, %ecx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_find_first_free_match_stream_enc_for_link ; -- Begin function dce110_find_first_free_match_stream_enc_for_link
	.p2align	2
_dce110_find_first_free_match_stream_enc_for_link: ; @dce110_find_first_free_match_stream_enc_for_link
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x9, #0
	ldr	x10, [x2]
	ldr	x11, [x0]
	mov	w12, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, x9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11, x9, lsl #2]
	cbnz	w13, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x1, #8]
	ldr	x0, [x13, x9, lsl #3]
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x0]
	ldr	x13, [x10]
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.7:
	ret
LBB0_8:
	tbnz	w12, #31, LBB0_10
; %bb.9:
	ldr	x8, [x1, #8]
	ldr	x0, [x8, w12, uxtw #3]
	ret
LBB0_10:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
