	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function status_show
_status_show:                           ## @status_show
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_to_fpga_manager
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	*%rcx
	movl	%eax, %r15d
	movq	_FPGA_MGR_STATUS_OPERATION_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	movq	%rax, %rbx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_FPGA_MGR_STATUS_CRC_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.6:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	addl	%eax, %ebx
LBB0_7:
	movq	_FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_9
## %bb.8:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
	addl	%eax, %ebx
LBB0_9:
	movq	_FPGA_MGR_STATUS_IP_PROTOCOL_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.10:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_sprintf
	addl	%eax, %ebx
LBB0_11:
	movq	_FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.12:
	movslq	%ebx, %rbx
	addq	%rbx, %r14
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	addl	%eax, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_FPGA_MGR_STATUS_OPERATION_ERR,4,2 ## @FPGA_MGR_STATUS_OPERATION_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reconfig operation error\n"

	.comm	_FPGA_MGR_STATUS_CRC_ERR,4,2    ## @FPGA_MGR_STATUS_CRC_ERR
L_.str.1:                               ## @.str.1
	.asciz	"reconfig CRC error\n"

	.comm	_FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR,4,2 ## @FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR
L_.str.2:                               ## @.str.2
	.asciz	"reconfig incompatible image\n"

	.comm	_FPGA_MGR_STATUS_IP_PROTOCOL_ERR,4,2 ## @FPGA_MGR_STATUS_IP_PROTOCOL_ERR
L_.str.3:                               ## @.str.3
	.asciz	"reconfig IP protocol error\n"

	.comm	_FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR,4,2 ## @FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR
L_.str.4:                               ## @.str.4
	.asciz	"reconfig fifo overflow error\n"

	.no_dead_strip	_status_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function status_show
_status_show:                           ; @status_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	bl	_to_fpga_manager
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	blr	x8
	mov	x21, x0
Lloh0:
	adrp	x8, _FPGA_MGR_STATUS_OPERATION_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FPGA_MGR_STATUS_OPERATION_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x20, x0
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_4:
	mov	w20, #0
LBB0_5:
Lloh8:
	adrp	x8, _FPGA_MGR_STATUS_CRC_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FPGA_MGR_STATUS_CRC_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	add	x0, x19, w20, sxtw
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	add	w20, w20, w0
LBB0_7:
Lloh13:
	adrp	x8, _FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	add	x0, x19, w20, sxtw
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	add	w20, w20, w0
LBB0_9:
Lloh18:
	adrp	x8, _FPGA_MGR_STATUS_IP_PROTOCOL_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FPGA_MGR_STATUS_IP_PROTOCOL_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:
	add	x0, x19, w20, sxtw
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	add	w20, w20, w0
LBB0_11:
Lloh23:
	adrp	x8, _FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
	add	x0, x19, w20, sxtw
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
	add	w20, w20, w0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_FPGA_MGR_STATUS_OPERATION_ERR,4,2 ; @FPGA_MGR_STATUS_OPERATION_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reconfig operation error\n"

	.comm	_FPGA_MGR_STATUS_CRC_ERR,4,2    ; @FPGA_MGR_STATUS_CRC_ERR
l_.str.1:                               ; @.str.1
	.asciz	"reconfig CRC error\n"

	.comm	_FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR,4,2 ; @FPGA_MGR_STATUS_INCOMPATIBLE_IMAGE_ERR
l_.str.2:                               ; @.str.2
	.asciz	"reconfig incompatible image\n"

	.comm	_FPGA_MGR_STATUS_IP_PROTOCOL_ERR,4,2 ; @FPGA_MGR_STATUS_IP_PROTOCOL_ERR
l_.str.3:                               ; @.str.3
	.asciz	"reconfig IP protocol error\n"

	.comm	_FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR,4,2 ; @FPGA_MGR_STATUS_FIFO_OVERFLOW_ERR
l_.str.4:                               ; @.str.4
	.asciz	"reconfig fifo overflow error\n"

	.no_dead_strip	_status_show
.subsections_via_symbols
