	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_global_reset
_vfe_global_reset:                      ## @vfe_global_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_VFE_0_GLOBAL_RESET_CMD_IDLE_CGC@GOTPCREL(%rip), %rax
	movq	_VFE_0_GLOBAL_RESET_CMD_DSP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_TESTGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_BUS_MISR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_PM@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_REGISTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_BUS_BDG@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_BUS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VFE_0_GLOBAL_RESET_CMD_CAMIF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%rdi, %r14
	movq	_VFE_0_GLOBAL_RESET_CMD_CORE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$31, %edi
	callq	_BIT
	movq	_VFE_0_IRQ_MASK_0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r14), %rsi
	movl	%eax, %edi
	callq	_writel_relaxed
	xorl	%eax, %eax
	callq	_wmb
	movq	_VFE_0_GLOBAL_RESET_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_0_GLOBAL_RESET_CMD_IDLE_CGC,4,2 ## @VFE_0_GLOBAL_RESET_CMD_IDLE_CGC
	.comm	_VFE_0_GLOBAL_RESET_CMD_DSP,4,2 ## @VFE_0_GLOBAL_RESET_CMD_DSP
	.comm	_VFE_0_GLOBAL_RESET_CMD_TESTGEN,4,2 ## @VFE_0_GLOBAL_RESET_CMD_TESTGEN
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS_MISR,4,2 ## @VFE_0_GLOBAL_RESET_CMD_BUS_MISR
	.comm	_VFE_0_GLOBAL_RESET_CMD_PM,4,2  ## @VFE_0_GLOBAL_RESET_CMD_PM
	.comm	_VFE_0_GLOBAL_RESET_CMD_REGISTER,4,2 ## @VFE_0_GLOBAL_RESET_CMD_REGISTER
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS_BDG,4,2 ## @VFE_0_GLOBAL_RESET_CMD_BUS_BDG
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS,4,2 ## @VFE_0_GLOBAL_RESET_CMD_BUS
	.comm	_VFE_0_GLOBAL_RESET_CMD_CAMIF,4,2 ## @VFE_0_GLOBAL_RESET_CMD_CAMIF
	.comm	_VFE_0_GLOBAL_RESET_CMD_CORE,4,2 ## @VFE_0_GLOBAL_RESET_CMD_CORE
	.comm	_VFE_0_IRQ_MASK_0,8,3           ## @VFE_0_IRQ_MASK_0
	.comm	_VFE_0_GLOBAL_RESET_CMD,8,3     ## @VFE_0_GLOBAL_RESET_CMD
	.no_dead_strip	_vfe_global_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_global_reset
_vfe_global_reset:                      ; @vfe_global_reset
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _VFE_0_GLOBAL_RESET_CMD_IDLE_CGC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VFE_0_GLOBAL_RESET_CMD_IDLE_CGC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_DSP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_DSP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_TESTGEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_TESTGEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_BUS_MISR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_BUS_MISR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_PM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_PM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_REGISTER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_REGISTER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_BUS_BDG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_BUS_BDG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_BUS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_BUS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_CAMIF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_CAMIF@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD_CORE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD_CORE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	w0, #31
	bl	_BIT
	ldr	x8, [x19]
Lloh30:
	adrp	x9, _VFE_0_IRQ_MASK_0@GOTPAGE
Lloh31:
	ldr	x9, [x9, _VFE_0_IRQ_MASK_0@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	bl	_wmb
	ldr	x8, [x19]
Lloh33:
	adrp	x9, _VFE_0_GLOBAL_RESET_CMD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _VFE_0_GLOBAL_RESET_CMD@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_0_GLOBAL_RESET_CMD_IDLE_CGC,4,2 ; @VFE_0_GLOBAL_RESET_CMD_IDLE_CGC
	.comm	_VFE_0_GLOBAL_RESET_CMD_DSP,4,2 ; @VFE_0_GLOBAL_RESET_CMD_DSP
	.comm	_VFE_0_GLOBAL_RESET_CMD_TESTGEN,4,2 ; @VFE_0_GLOBAL_RESET_CMD_TESTGEN
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS_MISR,4,2 ; @VFE_0_GLOBAL_RESET_CMD_BUS_MISR
	.comm	_VFE_0_GLOBAL_RESET_CMD_PM,4,2  ; @VFE_0_GLOBAL_RESET_CMD_PM
	.comm	_VFE_0_GLOBAL_RESET_CMD_REGISTER,4,2 ; @VFE_0_GLOBAL_RESET_CMD_REGISTER
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS_BDG,4,2 ; @VFE_0_GLOBAL_RESET_CMD_BUS_BDG
	.comm	_VFE_0_GLOBAL_RESET_CMD_BUS,4,2 ; @VFE_0_GLOBAL_RESET_CMD_BUS
	.comm	_VFE_0_GLOBAL_RESET_CMD_CAMIF,4,2 ; @VFE_0_GLOBAL_RESET_CMD_CAMIF
	.comm	_VFE_0_GLOBAL_RESET_CMD_CORE,4,2 ; @VFE_0_GLOBAL_RESET_CMD_CORE
	.comm	_VFE_0_IRQ_MASK_0,8,3           ; @VFE_0_IRQ_MASK_0
	.comm	_VFE_0_GLOBAL_RESET_CMD,8,3     ; @VFE_0_GLOBAL_RESET_CMD
	.no_dead_strip	_vfe_global_reset
.subsections_via_symbols
