	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gpu_fft_base_exec_direct       ## -- Begin function gpu_fft_base_exec_direct
	.p2align	4, 0x90
_gpu_fft_base_exec_direct:              ## @gpu_fft_base_exec_direct
	.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	(%rdi), %rax
	movq	_V3D_DBCFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
	movq	_V3D_DBQITE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
	movq	_V3D_DBQITC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$-1, (%rax,%rcx,4)
	movq	_V3D_L2CACTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$4, (%rax,%rcx,4)
	movq	_V3D_SLCACTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$-1, (%rax,%rcx,4)
	movq	_V3D_SRQCS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movl	$65920, (%rax,%r8,4)            ## imm = 0x10180
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r9
	movq	_V3D_SRQUA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r11
	movq	_V3D_SRQPC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%esi, %r10d
	cmpl	$1, %esi
	jne	LBB0_9
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_1:
	movl	$1, %eax
	cmpl	%esi, %eax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_8
LBB0_9:
	movl	%r10d, %r14d
	andl	$-2, %r14d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rcx,4), %ebx
	movl	%ebx, (%rax,%r11,4)
	movl	16(%rdi), %ebx
	movl	%ebx, (%rax,%rdx,4)
	movl	4(%r9,%rcx,4), %ebx
	movl	%ebx, (%rax,%r11,4)
	movl	16(%rdi), %ebx
	movl	%ebx, (%rax,%rdx,4)
	addq	$2, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_10
LBB0_4:
	testb	$1, %r10b
	je	LBB0_6
## %bb.5:
	movl	(%r9,%rcx,4), %ecx
	movl	%ecx, (%rax,%r11,4)
	movl	16(%rdi), %ecx
	movl	%ecx, (%rax,%rdx,4)
LBB0_6:
	movzbl	2(%rax,%r8,4), %eax
	cmpl	%esi, %eax
	jne	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_DBCFG,8,3                  ## @V3D_DBCFG
	.comm	_V3D_DBQITE,8,3                 ## @V3D_DBQITE
	.comm	_V3D_DBQITC,8,3                 ## @V3D_DBQITC
	.comm	_V3D_L2CACTL,8,3                ## @V3D_L2CACTL
	.comm	_V3D_SLCACTL,8,3                ## @V3D_SLCACTL
	.comm	_V3D_SRQCS,8,3                  ## @V3D_SRQCS
	.comm	_V3D_SRQUA,8,3                  ## @V3D_SRQUA
	.comm	_V3D_SRQPC,8,3                  ## @V3D_SRQPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gpu_fft_base_exec_direct       ; -- Begin function gpu_fft_base_exec_direct
	.p2align	2
_gpu_fft_base_exec_direct:              ; @gpu_fft_base_exec_direct
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _V3D_DBCFG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V3D_DBCFG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	wzr, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _V3D_DBQITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V3D_DBQITE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	wzr, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _V3D_DBQITC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V3D_DBQITC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	mov	w10, #-1
	str	w10, [x8, x9, lsl #2]
Lloh9:
	adrp	x9, _V3D_L2CACTL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V3D_L2CACTL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	mov	w11, #4
	str	w11, [x8, x9, lsl #2]
Lloh12:
	adrp	x9, _V3D_SLCACTL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _V3D_SLCACTL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	w10, [x8, x9, lsl #2]
Lloh15:
	adrp	x9, _V3D_SRQCS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _V3D_SRQCS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	mov	w10, #384
	movk	w10, #1, lsl #16
	str	w10, [x8, x9, lsl #2]
	cbz	w1, LBB0_5
; %bb.1:
Lloh18:
	adrp	x11, _V3D_SRQUA@GOTPAGE
Lloh19:
	ldr	x11, [x11, _V3D_SRQUA@GOTPAGEOFF]
	ldr	x10, [x0, #8]
Lloh20:
	ldr	x11, [x11]
Lloh21:
	adrp	x12, _V3D_SRQPC@GOTPAGE
Lloh22:
	ldr	x12, [x12, _V3D_SRQPC@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x12]
	mov	w13, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x10], #4
	str	w14, [x8, x11, lsl #2]
	ldr	w14, [x0, #16]
	str	w14, [x8, x12, lsl #2]
	subs	x13, x13, #1
	b.ne	LBB0_2
; %bb.3:
	add	x8, x8, x9, lsl #2
	ldrb	w8, [x8, #2]
	cmp	w8, w1
	b.ne	LBB0_6
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
	mov	w8, #1
	cmp	w8, w1
	b.eq	LBB0_4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_6
	.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
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_DBCFG,8,3                  ; @V3D_DBCFG
	.comm	_V3D_DBQITE,8,3                 ; @V3D_DBQITE
	.comm	_V3D_DBQITC,8,3                 ; @V3D_DBQITC
	.comm	_V3D_L2CACTL,8,3                ; @V3D_L2CACTL
	.comm	_V3D_SLCACTL,8,3                ; @V3D_SLCACTL
	.comm	_V3D_SRQCS,8,3                  ; @V3D_SRQCS
	.comm	_V3D_SRQUA,8,3                  ; @V3D_SRQUA
	.comm	_V3D_SRQPC,8,3                  ; @V3D_SRQPC
.subsections_via_symbols
