	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_ioc_get_adapter_attr
_bfa_ioc_get_adapter_attr:              ## @bfa_ioc_get_adapter_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	72(%rsi), %esi
	callq	_bfa_ioc_get_adapter_serial_num
	movl	68(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_get_adapter_fw_ver
	movl	64(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_get_adapter_optrom_ver
	movl	60(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_get_adapter_manufacturer
	leaq	56(%rbx), %rdi
	leaq	24(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_bfa_ioc_get_nports
	movl	%eax, 52(%rbx)
	movq	%r14, %rdi
	callq	_bfa_ioc_speed_sup
	movl	%eax, 48(%rbx)
	movl	44(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_get_adapter_model
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_get_adapter_model
	movl	20(%r15), %edi
	movl	%edi, 36(%rbx)
	callq	_bfa_mfg_is_mezz
	movl	%eax, 32(%rbx)
	movl	16(%r15), %edi
	callq	_BFI_ADAPTER_IS_SPECIAL
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%rbx)
	movq	%r14, %rdi
	callq	_bfa_ioc_get_pwwn
	movl	%eax, 28(%rbx)
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_bfa_nw_ioc_get_mac
	movups	(%r15), %xmm0
	movups	%xmm0, 8(%rbx)
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfa_ioc_get_pci_chip_rev       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bfa_ioc_get_adapter_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfa_ioc_get_adapter_attr
_bfa_ioc_get_adapter_attr:              ; @bfa_ioc_get_adapter_attr
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	ldr	w1, [x1, #72]
	bl	_bfa_ioc_get_adapter_serial_num
	ldr	w1, [x20, #68]
	mov	x0, x19
	bl	_bfa_ioc_get_adapter_fw_ver
	ldr	w1, [x20, #64]
	mov	x0, x19
	bl	_bfa_ioc_get_adapter_optrom_ver
	ldr	w1, [x20, #60]
	mov	x0, x19
	bl	_bfa_ioc_get_adapter_manufacturer
	add	x0, x20, #56
	add	x1, x21, #24
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_bfa_ioc_get_nports
	str	w0, [x20, #52]
	mov	x0, x19
	bl	_bfa_ioc_speed_sup
	str	w0, [x20, #48]
	ldr	w1, [x20, #44]
	mov	x0, x19
	bl	_bfa_ioc_get_adapter_model
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_bfa_ioc_get_adapter_model
	ldr	w0, [x21, #20]
	str	w0, [x20, #36]
	bl	_bfa_mfg_is_mezz
	str	w0, [x20, #32]
	ldr	w0, [x21, #16]
	bl	_BFI_ADAPTER_IS_SPECIAL
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x20]
	mov	x0, x19
	bl	_bfa_ioc_get_pwwn
	str	w0, [x20, #28]
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_bfa_nw_ioc_get_mac
	ldr	q0, [x21]
	stur	q0, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x19
	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
	b	_bfa_ioc_get_pci_chip_rev
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bfa_ioc_get_adapter_attr
.subsections_via_symbols
