	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_any_valid_pipe             ## -- Begin function get_any_valid_pipe
	.p2align	4, 0x90
_get_any_valid_pipe:                    ## @get_any_valid_pipe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_TILEGX_NUM_PIPELINE_ENCODINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	btl	%eax, %ecx
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edx, %eax
	jl	LBB0_1
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TILEGX_NUM_PIPELINE_ENCODINGS,4,2 ## @TILEGX_NUM_PIPELINE_ENCODINGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_any_valid_pipe             ; -- Begin function get_any_valid_pipe
	.p2align	2
_get_any_valid_pipe:                    ; @get_any_valid_pipe
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TILEGX_NUM_PIPELINE_ENCODINGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TILEGX_NUM_PIPELINE_ENCODINGS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w0, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w0, #1
	lsr	w10, w8, w0
	tbnz	w10, #0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, w9
	b.lt	LBB0_1
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TILEGX_NUM_PIPELINE_ENCODINGS,4,2 ; @TILEGX_NUM_PIPELINE_ENCODINGS
.subsections_via_symbols
