	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_i3c_master_get_free_pos
_dw_i3c_master_get_free_pos:            ## @dw_i3c_master_get_free_pos
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	movq	8(%rdi), %rdi
	decq	%rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_GENMASK
	testl	%r15d, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	bsfl	%eax, %eax
	movl	$-1, %ebx
	cmovnel	%eax, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_dw_i3c_master_get_free_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_i3c_master_get_free_pos
_dw_i3c_master_get_free_pos:            ; @dw_i3c_master_get_free_pos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w20, [x0]
	ldr	x8, [x0, #8]
	sub	x0, x8, #1
	mov	w1, #0
	bl	_GENMASK
	tst	w0, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19]
	rbit	w9, w8
	clz	w9, w9
	cmp	w8, #0
	csinv	w0, w9, wzr, ne
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_dw_i3c_master_get_free_pos
.subsections_via_symbols
