	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gpu_fft_get_host_info          ## -- Begin function gpu_fft_get_host_info
	.p2align	4, 0x90
_gpu_fft_get_host_info:                 ## @gpu_fft_get_host_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movabsq	$72057594574798848, %rax        ## imm = 0x100000020000000
	movq	%rax, (%rdi)
	movq	_GPU_FFT_USE_VC4_L2_CACHE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	cmpq	$0, (%rax)
	sete	%cl
	setne	%dl
	leal	4(,%rdx,8), %eax
	movl	%eax, 8(%rdi)
	shll	$29, %ecx
	movl	%ecx, 12(%rdi)
	movq	_RTLD_LAZY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dlopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_dlsym
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_5
## %bb.3:
	callq	*%r13
	cmpl	$1073741824, %eax               ## imm = 0x40000000
	je	LBB0_5
## %bb.4:
	movq	$4, 8(%r14)
LBB0_5:
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	callq	*%r12
	movl	%eax, (%r14)
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	callq	*%r15
	movl	%eax, 4(%r14)
LBB0_9:
	movq	%rbx, %rdi
	callq	_dlclose
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPU_FFT_USE_VC4_L2_CACHE,8,3   ## @GPU_FFT_USE_VC4_L2_CACHE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libbcm_host.so"

	.comm	_RTLD_LAZY,4,2                  ## @RTLD_LAZY
L_.str.1:                               ## @.str.1
	.asciz	"bcm_host_get_sdram_address"

L_.str.2:                               ## @.str.2
	.asciz	"bcm_host_get_peripheral_address"

L_.str.3:                               ## @.str.3
	.asciz	"bcm_host_get_peripheral_size"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gpu_fft_get_host_info
lCPI0_0:
	.long	536870912                       ; 0x20000000
	.long	16777216                        ; 0x1000000
lCPI0_1:
	.long	12                              ; 0xc
	.long	0                               ; 0x0
lCPI0_2:
	.long	4                               ; 0x4
	.long	536870912                       ; 0x20000000
lCPI0_3:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gpu_fft_get_host_info
	.p2align	2
_gpu_fft_get_host_info:                 ; @gpu_fft_get_host_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _GPU_FFT_USE_VC4_L2_CACHE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPU_FFT_USE_VC4_L2_CACHE@GOTPAGEOFF]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, eq
	dup.2s	v1, w8
	str	d0, [x0]
	shl.2s	v0, v1, #31
	cmlt.2s	v0, v0, #0
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d2, [x8, lCPI0_2@PAGEOFF]
	bsl.8b	v0, v2, v1
	str	d0, [x0, #8]
Lloh9:
	adrp	x8, _RTLD_LAZY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTLD_LAZY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlopen
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dlsym
	mov	x23, x0
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dlsym
	mov	x22, x0
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dlsym
	mov	x21, x0
	cbz	x23, LBB0_4
; %bb.2:
	blr	x23
	mov	w8, #1073741824
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.3:
Lloh20:
	adrp	x8, lCPI0_3@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	str	d0, [x19, #8]
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
	blr	x22
	str	w0, [x19]
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	blr	x21
	str	w0, [x19, #4]
LBB0_8:
	mov	x0, x20
	bl	_dlclose
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GPU_FFT_USE_VC4_L2_CACHE,8,3   ; @GPU_FFT_USE_VC4_L2_CACHE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libbcm_host.so"

	.comm	_RTLD_LAZY,4,2                  ; @RTLD_LAZY
l_.str.1:                               ; @.str.1
	.asciz	"bcm_host_get_sdram_address"

l_.str.2:                               ; @.str.2
	.asciz	"bcm_host_get_peripheral_address"

l_.str.3:                               ; @.str.3
	.asciz	"bcm_host_get_peripheral_size"

.subsections_via_symbols
