	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_of_parse_voltage           ## -- Begin function mmc_of_parse_voltage
	.p2align	4, 0x90
_mmc_of_parse_voltage:                  ## @mmc_of_parse_voltage
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, -44(%rbp)
	cmpl	$8, %eax
	jae	LBB0_3
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_debug
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_3:
	movl	$1, %r15d
	jl	LBB0_10
## %bb.4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,8), %edi
	callq	_be32_to_cpu
	movl	%eax, %r14d
	movl	4(%r13,%rbx,8), %edi
	callq	_be32_to_cpu
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_mmc_vddrange_to_ocrmask
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	orl	%eax, (%r12)
	incq	%rbx
	movslq	-44(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"voltage-ranges"

L_.str.1:                               ## @.str.1
	.asciz	"%pOF: voltage-ranges unspecified\n"

L_.str.2:                               ## @.str.2
	.asciz	"%pOF: voltage-ranges empty\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"%pOF: voltage-range #%d is invalid\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_of_parse_voltage           ; -- Begin function mmc_of_parse_voltage
	.p2align	2
_mmc_of_parse_voltage:                  ; @mmc_of_parse_voltage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_of_get_property
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
	asr	w9, w8, #3
	str	w9, [sp, #12]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	mov	w0, #0
	b	LBB0_11
LBB0_4:
	b.lt	LBB0_8
; %bb.5:
	mov	x22, #0
	add	x23, x0, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x23, #-4]
	bl	_be32_to_cpu
	mov	x21, x0
	ldr	w0, [x23]
	bl	_be32_to_cpu
	mov	x1, x0
	mov	x0, x21
	bl	_mmc_vddrange_to_ocrmask
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
	add	x22, x22, #1
	ldrsw	x8, [sp, #12]
	add	x23, x23, #8
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_8:
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	str	x22, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	mov	x1, x19
	bl	_pr_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"voltage-ranges"

l_.str.1:                               ; @.str.1
	.asciz	"%pOF: voltage-ranges unspecified\n"

l_.str.2:                               ; @.str.2
	.asciz	"%pOF: voltage-ranges empty\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"%pOF: voltage-range #%d is invalid\n"

.subsections_via_symbols
