	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mmc_vddrange_to_ocrmask
LCPI0_0:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	4294967294                      ## 0xfffffffe
	.long	4294967293                      ## 0xfffffffd
LCPI0_1:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
LCPI0_4:
	.long	4294967284                      ## 0xfffffff4
	.long	4294967284                      ## 0xfffffff4
	.long	4294967284                      ## 0xfffffff4
	.long	4294967284                      ## 0xfffffff4
LCPI0_5:
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mmc_vddrange_to_ocrmask
	.p2align	4, 0x90
_mmc_vddrange_to_ocrmask:               ## @mmc_vddrange_to_ocrmask
	.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
	xorl	%ebx, %ebx
	cmpl	%edi, %esi
	jl	LBB0_15
## %bb.1:
	movl	%edi, %r15d
	xorl	%ebx, %ebx
	movl	%esi, %edi
	xorl	%esi, %esi
	callq	_mmc_vdd_to_ocrbitnum
	testl	%eax, %eax
	js	LBB0_15
## %bb.2:
	movl	%eax, %r14d
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_mmc_vdd_to_ocrbitnum
	testl	%eax, %eax
	js	LBB0_15
## %bb.3:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	jl	LBB0_15
## %bb.4:
	incl	%ecx
	cmpl	$8, %ecx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_6:
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%r14d, %xmm0
	pshufd	$0, %xmm0, %xmm5                ## xmm5 = xmm0[0,0,0,0]
	paddd	LCPI0_0(%rip), %xmm5
	leal	-8(%rdx), %edi
	movl	%edi, %esi
	shrl	$3, %esi
	incl	%esi
	testl	%edi, %edi
	je	LBB0_7
## %bb.8:
	movl	%esi, %edi
	andl	$-2, %edi
	pxor	%xmm1, %xmm1
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4294967292,4294967292,4294967292,4294967292]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [4294967288,4294967288,4294967288,4294967288]
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [4294967284,4294967284,4294967284,4294967284]
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [4294967280,4294967280,4294967280,4294967280]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm0
	paddd	%xmm8, %xmm0
	movdqa	%xmm5, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	por	%xmm1, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm5, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm5, %xmm2
	paddd	%xmm6, %xmm2
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm3, %xmm1
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	por	%xmm0, %xmm2
	paddd	%xmm7, %xmm5
	addl	$-2, %edi
	jne	LBB0_9
## %bb.10:
	testb	$1, %sil
	je	LBB0_12
LBB0_11:
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [4294967292,4294967292,4294967292,4294967292]
	paddd	%xmm5, %xmm0
	pslld	$23, %xmm5
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm3, %xmm5
	cvttps2dq	%xmm5, %xmm4
	por	%xmm4, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm3, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm0, %xmm2
LBB0_12:
	por	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %ebx
	cmpl	%edx, %ecx
	je	LBB0_15
## %bb.13:
	subl	%edx, %r14d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	btsl	%r14d, %ebx
	leal	-1(%r14), %ecx
	cmpl	%eax, %r14d
	movl	%ecx, %r14d
	jg	LBB0_14
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	testb	$1, %sil
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mmc_vddrange_to_ocrmask
lCPI0_0:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	4294967294                      ; 0xfffffffe
	.long	4294967293                      ; 0xfffffffd
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mmc_vddrange_to_ocrmask
	.p2align	2
_mmc_vddrange_to_ocrmask:               ; @mmc_vddrange_to_ocrmask
	.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
	cmp	w1, w0
	b.lt	LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	bl	_mmc_vdd_to_ocrbitnum
	tbnz	w0, #31, LBB0_6
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	mov	w1, #1
	bl	_mmc_vdd_to_ocrbitnum
	mov	w8, #0
	tbnz	w0, #31, LBB0_7
; %bb.3:
	subs	w9, w19, w0
	b.lt	LBB0_7
; %bb.4:
	add	w9, w9, #1
	cmp	w9, #16
	b.hs	LBB0_8
; %bb.5:
	mov	w8, #0
	b	LBB0_11
LBB0_6:
	mov	w8, #0
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	dup.4s	v0, w19
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	add.4s	v1, v0, v1
	movi.2d	v0, #0000000000000000
	mvni.4s	v2, #3
	and	w10, w9, #0xfffffff0
	mvni.4s	v3, #7
	sub	w19, w19, w10
	mvni.4s	v4, #11
	movi.4s	v5, #1
	mvni.4s	v6, #15
	mov	x8, x10
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v1, v2
	add.4s	v19, v1, v3
	add.4s	v20, v1, v4
	ushl.4s	v21, v5, v1
	ushl.4s	v18, v5, v18
	ushl.4s	v19, v5, v19
	ushl.4s	v20, v5, v20
	orr.16b	v0, v0, v21
	orr.16b	v7, v7, v18
	orr.16b	v16, v16, v19
	orr.16b	v17, v17, v20
	add.4s	v1, v1, v6
	subs	w8, w8, #16
	b.ne	LBB0_9
; %bb.10:
	orr.16b	v0, v7, v0
	orr.16b	v0, v16, v0
	orr.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w8, s0
	mov.s	w11, v0[1]
	orr	w8, w8, w11
	cmp	w9, w10
	b.eq	LBB0_7
LBB0_11:
	mov	w9, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsl	w10, w9, w19
	sub	w11, w19, #1
	orr	w8, w8, w10
	cmp	w19, w0
	mov	x19, x11
	b.gt	LBB0_12
	b	LBB0_7
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
