	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpga_mgr_load                  ## -- Begin function fpga_mgr_load
	.p2align	4, 0x90
_fpga_mgr_load:                         ## @fpga_mgr_load
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.5:
	popq	%rbp
	jmp	_fpga_mgr_buf_load_sg           ## TAILCALL
LBB0_1:
	movq	16(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.6:
	popq	%rbp
	jmp	_fpga_mgr_buf_load              ## TAILCALL
LBB0_3:
	movq	(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.7:
	popq	%rbp
	jmp	_fpga_mgr_firmware_load         ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpga_mgr_load                  ; -- Begin function fpga_mgr_load
	.p2align	2
_fpga_mgr_load:                         ; @fpga_mgr_load
	.cfi_startproc
; %bb.0:
	ldr	x2, [x1, #24]
	cbz	x2, LBB0_2
; %bb.1:
	b	_fpga_mgr_buf_load_sg
LBB0_2:
	ldr	x2, [x1, #16]
	cbz	x2, LBB0_5
; %bb.3:
	ldr	x3, [x1, #8]
	cbz	x3, LBB0_5
; %bb.4:
	b	_fpga_mgr_buf_load
LBB0_5:
	ldr	x2, [x1]
	cbz	x2, LBB0_7
; %bb.6:
	b	_fpga_mgr_firmware_load
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
