	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbedtls_clz
_mbedtls_clz:                           ## @mbedtls_clz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_biL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	leal	-1(%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	xorl	%eax, %eax
	movl	%edx, %ecx
	addl	$-1, %ecx
	jae	LBB0_5
## %bb.1:
	movl	%esi, %ecx
	andl	%edi, %ecx
	jne	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	cmpq	%rdx, %rax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	sarl	%esi
	movl	%esi, %ecx
	andl	%edi, %ecx
	je	LBB0_3
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_biL,4,2                        ## @biL
	.no_dead_strip	_mbedtls_clz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mbedtls_clz
_mbedtls_clz:                           ; @mbedtls_clz
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _biL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _biL@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x8]
	subs	w8, w9, #1
	mov	w10, #1
	lsl	w10, w10, w8
	and	w8, w10, w0
	ccmp	w8, #0, #0, hs
	b.eq	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	asr	w10, w10, #1
	add	x8, x8, #1
	and	w11, w10, w0
	cmp	x8, x9
	ccmp	w11, #0, #0, lo
	b.eq	LBB0_3
; %bb.4:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_biL,4,2                        ; @biL
	.no_dead_strip	_mbedtls_clz
.subsections_via_symbols
