	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_cee_get_attr            ## -- Begin function bfa_nw_cee_get_attr
	.p2align	4, 0x90
_bfa_nw_cee_get_attr:                   ## @bfa_nw_cee_get_attr
	.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	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_BUG_ON
	movq	16(%rbx), %rdi
	callq	_bfa_nw_ioc_is_operational
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$0, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	_BFA_STATUS_DEVBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_BFA_STATUS_IOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	$1, (%rbx)
	leaq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, 48(%rbx)
	movl	%r15d, 40(%rbx)
	movq	%r14, 32(%rbx)
	movq	8(%rbx), %r13
	movq	16(%rbx), %rdi
	movl	4(%r13), %r14d
	movq	_BFI_MC_CEE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BFI_CEE_H2I_GET_CFG_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_bfa_ioc_portid
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_bfi_h2i_set
	movl	(%r13), %edi
	movl	24(%rbx), %esi
	callq	_bfa_dma_be_addr_set
	movq	16(%rbx), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_bfa_nw_ioc_mbox_queue
	movq	_BFA_STATUS_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BFA_STATUS_IOC_FAILURE,4,2     ## @BFA_STATUS_IOC_FAILURE
	.comm	_BFA_STATUS_DEVBUSY,4,2         ## @BFA_STATUS_DEVBUSY
	.comm	_BFI_MC_CEE,4,2                 ## @BFI_MC_CEE
	.comm	_BFI_CEE_H2I_GET_CFG_REQ,4,2    ## @BFI_CEE_H2I_GET_CFG_REQ
	.comm	_BFA_STATUS_OK,4,2              ## @BFA_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_cee_get_attr            ; -- Begin function bfa_nw_cee_get_attr
	.p2align	2
_bfa_nw_cee_get_attr:                   ; @bfa_nw_cee_get_attr
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_BUG_ON
	ldr	x0, [x19, #16]
	bl	_bfa_nw_ioc_is_operational
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.5:
Lloh0:
	adrp	x8, _BFA_STATUS_DEVBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BFA_STATUS_DEVBUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _BFA_STATUS_IOC_FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BFA_STATUS_IOC_FAILURE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	mov	x23, x19
	ldr	x24, [x23, #8]!
	str	w8, [x19]
	str	x22, [x19, #48]
	str	w21, [x19, #40]
	str	x20, [x19, #32]
Lloh4:
	adrp	x8, _BFI_MC_CEE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BFI_MC_CEE@GOTPAGEOFF]
	ldr	w20, [x24, #4]
Lloh6:
	ldr	w21, [x8]
Lloh7:
	adrp	x8, _BFI_CEE_H2I_GET_CFG_REQ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BFI_CEE_H2I_GET_CFG_REQ@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	ldr	x0, [x19, #16]
	bl	_bfa_ioc_portid
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_bfi_h2i_set
	ldr	w0, [x24]
	ldr	w1, [x19, #24]
	bl	_bfa_dma_be_addr_set
	ldr	x0, [x19, #16]
	mov	x1, x23
	mov	x2, #0
	mov	x3, #0
	bl	_bfa_nw_ioc_mbox_queue
Lloh10:
	adrp	x8, _BFA_STATUS_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BFA_STATUS_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BFA_STATUS_IOC_FAILURE,4,2     ; @BFA_STATUS_IOC_FAILURE
	.comm	_BFA_STATUS_DEVBUSY,4,2         ; @BFA_STATUS_DEVBUSY
	.comm	_BFI_MC_CEE,4,2                 ; @BFI_MC_CEE
	.comm	_BFI_CEE_H2I_GET_CFG_REQ,4,2    ; @BFI_CEE_H2I_GET_CFG_REQ
	.comm	_BFA_STATUS_OK,4,2              ; @BFA_STATUS_OK
.subsections_via_symbols
