	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_ioc_get_type
_bfa_ioc_get_type:                      ## @bfa_ioc_get_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_BFI_PCIFN_CLASS_ETH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_BFA_IOC_TYPE_LL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	%rdi, %rbx
	movq	_BFI_PCIFN_CLASS_FC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_BFI_PORT_MODE_FC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_BFA_IOC_TYPE_FC@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_BFA_IOC_TYPE_FCoE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_PCIFN_CLASS_ETH,8,3        ## @BFI_PCIFN_CLASS_ETH
	.comm	_BFA_IOC_TYPE_LL,4,2            ## @BFA_IOC_TYPE_LL
	.comm	_BFI_PCIFN_CLASS_FC,8,3         ## @BFI_PCIFN_CLASS_FC
	.comm	_BFI_PORT_MODE_FC,8,3           ## @BFI_PORT_MODE_FC
	.comm	_BFA_IOC_TYPE_FC,4,2            ## @BFA_IOC_TYPE_FC
	.comm	_BFA_IOC_TYPE_FCoE,4,2          ## @BFA_IOC_TYPE_FCoE
	.no_dead_strip	_bfa_ioc_get_type
.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_type
_bfa_ioc_get_type:                      ; @bfa_ioc_get_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BFI_PCIFN_CLASS_ETH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BFI_PCIFN_CLASS_ETH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BFA_IOC_TYPE_LL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFA_IOC_TYPE_LL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x19, x0
Lloh5:
	adrp	x9, _BFI_PCIFN_CLASS_FC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BFI_PCIFN_CLASS_FC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _BFI_PORT_MODE_FC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BFI_PORT_MODE_FC@GOTPAGEOFF]
Lloh10:
	adrp	x10, _BFA_IOC_TYPE_FC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BFA_IOC_TYPE_FC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x11, _BFA_IOC_TYPE_FCoE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _BFA_IOC_TYPE_FCoE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_PCIFN_CLASS_ETH,8,3        ; @BFI_PCIFN_CLASS_ETH
	.comm	_BFA_IOC_TYPE_LL,4,2            ; @BFA_IOC_TYPE_LL
	.comm	_BFI_PCIFN_CLASS_FC,8,3         ; @BFI_PCIFN_CLASS_FC
	.comm	_BFI_PORT_MODE_FC,8,3           ; @BFI_PORT_MODE_FC
	.comm	_BFA_IOC_TYPE_FC,4,2            ; @BFA_IOC_TYPE_FC
	.comm	_BFA_IOC_TYPE_FCoE,4,2          ; @BFA_IOC_TYPE_FCoE
	.no_dead_strip	_bfa_ioc_get_type
.subsections_via_symbols
