	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ath10k_snoc_vreg_on
___ath10k_snoc_vreg_on:                 ## @__ath10k_snoc_vreg_on
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	_ATH10K_DBG_SNOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_ath10k_dbg
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movl	32(%rbx), %esi
	callq	_regulator_set_voltage
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movl	(%rbx), %r8d
	movl	16(%rbx), %edx
	movl	32(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_err
	jmp	LBB0_10
LBB0_2:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movl	4(%rbx), %edi
	callq	_regulator_set_load
	testl	%eax, %eax
	js	LBB0_4
LBB0_6:
	movl	4(%rbx), %edi
	callq	_regulator_enable
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	movl	16(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_err
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_regulator_set_load
	jmp	LBB0_5
LBB0_8:
	movq	8(%rbx), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_udelay
	jmp	LBB0_10
LBB0_4:
	movl	%eax, %r14d
	movl	16(%rbx), %edx
	movq	24(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_err
LBB0_5:
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_regulator_set_voltage
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_SNOC,4,2            ## @ATH10K_DBG_SNOC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snoc regulator %s being enabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to set regulator %s voltage-min: %d voltage-max: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to set regulator %s load: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to enable regulator %s\n"

	.no_dead_strip	___ath10k_snoc_vreg_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ath10k_snoc_vreg_on
___ath10k_snoc_vreg_on:                 ; @__ath10k_snoc_vreg_on
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ATH10K_DBG_SNOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_SNOC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x19, #16]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath10k_dbg
	ldr	w1, [x19, #32]
	ldp	w2, w0, [x19]
	bl	_regulator_set_voltage
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w2, [x19, #16]
	ldr	w8, [x19, #32]
	ldr	w9, [x19]
	stp	x8, x9, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_ath10k_err
	b	LBB0_11
LBB0_2:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_regulator_set_load
	tbnz	w0, #31, LBB0_9
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_regulator_enable
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w2, [x19, #16]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_ath10k_err
	ldr	w0, [x19, #4]
	mov	x1, #0
	bl	_regulator_set_load
	b	LBB0_10
LBB0_6:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_udelay
LBB0_8:
	mov	w20, #0
	b	LBB0_11
LBB0_9:
	mov	x20, x0
	ldr	w2, [x19, #16]
	ldr	x8, [x19, #24]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_ath10k_err
LBB0_10:
	ldp	w2, w0, [x19]
	mov	w1, #0
	bl	_regulator_set_voltage
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_SNOC,4,2            ; @ATH10K_DBG_SNOC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snoc regulator %s being enabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to set regulator %s voltage-min: %d voltage-max: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to set regulator %s load: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to enable regulator %s\n"

	.no_dead_strip	___ath10k_snoc_vreg_on
.subsections_via_symbols
