	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_check_fw_config
_ocrdma_check_fw_config:                ## @ocrdma_check_fw_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_OCRDMA_FN_MODE_RDMA@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_1
## %bb.2:
	movl	8(%rsi), %eax
	movl	%eax, 12(%rdi)
	movl	4(%rsi), %eax
	movl	%eax, 8(%rdi)
	movq	_OCRDMA_MAX_CQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_FN_MODE_RDMA,4,2        ## @OCRDMA_FN_MODE_RDMA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OCRDMA_MAX_CQ,8,3              ## @OCRDMA_MAX_CQ
	.no_dead_strip	_ocrdma_check_fw_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_check_fw_config
_ocrdma_check_fw_config:                ; @ocrdma_check_fw_config
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x10, _OCRDMA_FN_MODE_RDMA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OCRDMA_FN_MODE_RDMA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	bics	wzr, w10, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldur	d0, [x1, #4]
	str	d0, [x8, #8]
Lloh3:
	adrp	x9, _OCRDMA_MAX_CQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCRDMA_MAX_CQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x9, x9, #1
	str	x9, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_FN_MODE_RDMA,4,2        ; @OCRDMA_FN_MODE_RDMA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OCRDMA_MAX_CQ,8,3              ; @OCRDMA_MAX_CQ
	.no_dead_strip	_ocrdma_check_fw_config
.subsections_via_symbols
