	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7511_init_regulators
_adv7511_init_regulators:               ## @adv7511_init_regulators
	.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, %r15
	movq	(%rdi), %rax
	movq	24(%rdi), %r14
	movq	_ADV7511@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_adv7511_supply_names@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_adv7533_supply_names@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, 8(%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_21
## %bb.4:
	movl	8(%r15), %esi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.5:
	xorl	%ecx, %ecx
	cmpl	$4, %esi
	jb	LBB0_15
## %bb.6:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	$32, %rdx
	jb	LBB0_15
## %bb.7:
	movl	%esi, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$12, %rdx
	jae	LBB0_9
## %bb.8:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_22
LBB0_9:
	andq	$-4, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdx,8), %xmm0
	movups	16(%rbx,%rdx,8), %xmm1
	movups	%xmm0, (%rax,%rdx,8)
	movups	%xmm1, 16(%rax,%rdx,8)
	movups	32(%rbx,%rdx,8), %xmm0
	movups	48(%rbx,%rdx,8), %xmm1
	movups	%xmm0, 32(%rax,%rdx,8)
	movups	%xmm1, 48(%rax,%rdx,8)
	movups	64(%rbx,%rdx,8), %xmm0
	movups	80(%rbx,%rdx,8), %xmm1
	movups	%xmm0, 64(%rax,%rdx,8)
	movups	%xmm1, 80(%rax,%rdx,8)
	movups	96(%rbx,%rdx,8), %xmm0
	movups	112(%rbx,%rdx,8), %xmm1
	movups	%xmm0, 96(%rax,%rdx,8)
	movups	%xmm1, 112(%rax,%rdx,8)
	addq	$16, %rdx
	addq	$-4, %rdi
	jne	LBB0_10
LBB0_11:
	testq	%r8, %r8
	je	LBB0_14
## %bb.12:
	leaq	(%rax,%rdx,8), %r9
	addq	$16, %r9
	leaq	(%rbx,%rdx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rdi), %xmm0
	movups	(%rdx,%rdi), %xmm1
	movups	%xmm0, -16(%r9,%rdi)
	movups	%xmm1, (%r9,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_13
LBB0_14:
	cmpq	%rsi, %rcx
	je	LBB0_19
LBB0_15:
	movq	%rcx, %r8
	notq	%r8
	addq	%rsi, %r8
	movq	%rsi, %rdi
	andq	$3, %rdi
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx,8), %rdx
	movq	%rdx, (%rax,%rcx,8)
	incq	%rcx
	decq	%rdi
	jne	LBB0_16
LBB0_17:
	cmpq	$3, %r8
	jb	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx,8), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	8(%rbx,%rcx,8), %rdx
	movq	%rdx, 8(%rax,%rcx,8)
	movq	16(%rbx,%rcx,8), %rdx
	movq	%rdx, 16(%rax,%rcx,8)
	movq	24(%rbx,%rcx,8), %rdx
	movq	%rdx, 24(%rax,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_18
LBB0_19:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	callq	_devm_regulator_bulk_get
	testl	%eax, %eax
	je	LBB0_20
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	8(%r15), %edi
	movq	16(%r15), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regulator_bulk_enable          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADV7511,8,3                    ## @ADV7511
	.comm	_adv7511_supply_names,8,3       ## @adv7511_supply_names
	.comm	_adv7533_supply_names,8,3       ## @adv7533_supply_names
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_adv7511_init_regulators
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7511_init_regulators
_adv7511_init_regulators:               ; @adv7511_init_regulators
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ADV7511@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADV7511@GOTPAGEOFF]
Lloh2:
	adrp	x10, _adv7533_supply_names@GOTPAGE
Lloh3:
	ldr	x10, [x10, _adv7533_supply_names@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _adv7511_supply_names@GOTPAGE
Lloh6:
	ldr	x11, [x11, _adv7511_supply_names@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	str	w1, [x19, #8]
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x2, x0
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_9
; %bb.2:
	mov	x8, #0
	cmp	w1, #8
	b.lo	LBB0_7
; %bb.3:
	sub	x9, x2, x21
	cmp	x9, #64
	b.lo	LBB0_7
; %bb.4:
	and	x8, x1, #0xfffffff8
	add	x9, x2, #32
	add	x10, x21, #32
	mov	x11, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x8, x1
	b.eq	LBB0_9
LBB0_7:
	lsl	x10, x8, #3
	add	x9, x21, x10
	add	x10, x2, x10
	sub	x8, x1, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	str	x11, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_devm_regulator_bulk_get
	cbnz	w0, LBB0_12
; %bb.10:
	ldr	w0, [x19, #8]
	ldr	x1, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_regulator_bulk_enable
LBB0_11:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ADV7511,8,3                    ; @ADV7511
	.comm	_adv7511_supply_names,8,3       ; @adv7511_supply_names
	.comm	_adv7533_supply_names,8,3       ; @adv7533_supply_names
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_adv7511_init_regulators
.subsections_via_symbols
