	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v3d_init_core
_v3d_init_core:                         ## @v3d_init_core
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	cmpl	$39, (%rdi)
	jg	LBB0_2
## %bb.1:
	movq	_V3D_CTL_MISCCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V3D_MISCCFG_OVRTMUOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_V3D_CORE_WRITE
LBB0_2:
	movq	_V3D_CTL_L2TFLSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_V3D_CORE_WRITE
	movq	_V3D_CTL_L2TFLEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$-1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_V3D_CORE_WRITE                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_CTL_MISCCFG,4,2            ## @V3D_CTL_MISCCFG
	.comm	_V3D_MISCCFG_OVRTMUOUT,4,2      ## @V3D_MISCCFG_OVRTMUOUT
	.comm	_V3D_CTL_L2TFLSTA,4,2           ## @V3D_CTL_L2TFLSTA
	.comm	_V3D_CTL_L2TFLEND,4,2           ## @V3D_CTL_L2TFLEND
	.no_dead_strip	_v3d_init_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v3d_init_core
_v3d_init_core:                         ; @v3d_init_core
	.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, x1
	ldr	w8, [x0]
	cmp	w8, #39
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _V3D_CTL_MISCCFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V3D_CTL_MISCCFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _V3D_MISCCFG_OVRTMUOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V3D_MISCCFG_OVRTMUOUT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_V3D_CORE_WRITE
LBB0_2:
Lloh6:
	adrp	x8, _V3D_CTL_L2TFLSTA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V3D_CTL_L2TFLSTA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_V3D_CORE_WRITE
Lloh9:
	adrp	x8, _V3D_CTL_L2TFLEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V3D_CTL_L2TFLEND@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_V3D_CORE_WRITE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_CTL_MISCCFG,4,2            ; @V3D_CTL_MISCCFG
	.comm	_V3D_MISCCFG_OVRTMUOUT,4,2      ; @V3D_MISCCFG_OVRTMUOUT
	.comm	_V3D_CTL_L2TFLSTA,4,2           ; @V3D_CTL_L2TFLSTA
	.comm	_V3D_CTL_L2TFLEND,4,2           ; @V3D_CTL_L2TFLEND
	.no_dead_strip	_v3d_init_core
.subsections_via_symbols
