	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gp8psk_info
_gp8psk_info:                           ## @gp8psk_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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-96(%rbp), %rsi
	callq	_gp8psk_get_fw_version
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
	jmp	LBB0_3
LBB0_1:
	movq	-80(%rbp), %r14
	movq	-96(%rbp), %r15
	movq	-88(%rbp), %r12
	leaq	-96(%rbp), %rdi
	callq	_GP8PSK_FW_VERS
	movl	$2000, %r9d                     ## imm = 0x7D0
	addq	-56(%rbp), %r9
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	pushq	-72(%rbp)
	pushq	-64(%rbp)
	callq	_info
	addq	$16, %rsp
LBB0_3:
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gp8psk_get_fpga_version
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
	jmp	LBB0_6
LBB0_4:
	movq	-104(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FW Version = %i.%02i.%i (0x%x)  Build %4i/%02i/%02i"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get FW version"

L_.str.2:                               ## @.str.2
	.asciz	"FPGA Version = %i"

L_.str.3:                               ## @.str.3
	.asciz	"failed to get FPGA version"

	.no_dead_strip	_gp8psk_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gp8psk_info
_gp8psk_info:                           ; @gp8psk_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x1, sp, #72
	bl	_gp8psk_get_fw_version
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldp	x21, x20, [sp, #80]
	ldr	x22, [sp, #72]
	add	x0, sp, #72
	bl	_GP8PSK_FW_VERS
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	x9, x8, [sp, #104]
	add	x8, x8, #2000
	ldr	x10, [sp, #96]
	stp	x9, x10, [sp, #40]
	stp	x0, x8, [sp, #24]
	stp	x21, x22, [sp, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	str	x20, [sp]
LBB0_3:
	bl	_info
	add	x1, sp, #64
	mov	x0, x19
	bl	_gp8psk_get_fpga_version
	cbz	w0, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #64]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_info
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW Version = %i.%02i.%i (0x%x)  Build %4i/%02i/%02i"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get FW version"

l_.str.2:                               ; @.str.2
	.asciz	"FPGA Version = %i"

l_.str.3:                               ; @.str.3
	.asciz	"failed to get FPGA version"

	.no_dead_strip	_gp8psk_info
.subsections_via_symbols
