	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shader_find_free_input_register ## -- Begin function shader_find_free_input_register
	.p2align	4, 0x90
_shader_find_free_input_register:       ## @shader_find_free_input_register
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$3, 8(%rdi)
	setge	%al
	movl	(%rdi,%rax,4), %edi
	notl	%edi
	movb	$31, %cl
	subb	%sil, %cl
	shll	%cl, %edi
	shrl	%cl, %edi
	popq	%rbp
	jmp	_wined3d_log2i                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shader_find_free_input_register ; -- Begin function shader_find_free_input_register
	.p2align	2
_shader_find_free_input_register:       ; @shader_find_free_input_register
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cmp	w8, #2
	cset	w8, gt
	ldr	w8, [x0, w8, uxtw #2]
	mvn	w9, w1
	mov	w10, #-1
	lsr	w9, w10, w9
	bic	w0, w9, w8
	b	_wined3d_log2i
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
