	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_completion_timeout
_ixgbe_get_completion_timeout:          ## @ixgbe_get_completion_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %edi
	movq	_PCI_EXP_DEVCTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_pcie_capability_read_word
	movq	_IXGBE_PCIDEVCTRL2_TIMEO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	-4(%rbp), %ecx
	addl	$-128, %ecx
	movl	$32000, %eax                    ## imm = 0x7D00
	cmpl	$8, %ecx
	ja	LBB0_2
## %bb.1:
	movslq	%ecx, %rax
	leaq	l_switch.table.ixgbe_get_completion_timeout(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_DEVCTL2,4,2            ## @PCI_EXP_DEVCTL2
	.comm	_IXGBE_PCIDEVCTRL2_TIMEO_MASK,4,2 ## @IXGBE_PCIDEVCTRL2_TIMEO_MASK
	.no_dead_strip	_ixgbe_get_completion_timeout
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.ixgbe_get_completion_timeout
l_switch.table.ixgbe_get_completion_timeout:
	.quad	130000                          ## 0x1fbd0
	.quad	100                             ## 0x64
	.quad	2000000                         ## 0x1e8480
	.quad	520000                          ## 0x7ef40
	.quad	2000000                         ## 0x1e8480
	.quad	2000                            ## 0x7d0
	.quad	2000000                         ## 0x1e8480
	.quad	32000                           ## 0x7d00
	.quad	32000                           ## 0x7d00

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_completion_timeout
_ixgbe_get_completion_timeout:          ; @ixgbe_get_completion_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _PCI_EXP_DEVCTL2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_EXP_DEVCTL2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_pcie_capability_read_word
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _IXGBE_PCIDEVCTRL2_TIMEO_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_PCIDEVCTRL2_TIMEO_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.ixgbe_get_completion_timeout@PAGE
Lloh7:
	add	x9, x9, l_switch.table.ixgbe_get_completion_timeout@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	mov	w0, #32000
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_DEVCTL2,4,2            ; @PCI_EXP_DEVCTL2
	.comm	_IXGBE_PCIDEVCTRL2_TIMEO_MASK,4,2 ; @IXGBE_PCIDEVCTRL2_TIMEO_MASK
	.no_dead_strip	_ixgbe_get_completion_timeout
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.ixgbe_get_completion_timeout
l_switch.table.ixgbe_get_completion_timeout:
	.quad	130000                          ; 0x1fbd0
	.quad	100                             ; 0x64
	.quad	2000000                         ; 0x1e8480
	.quad	520000                          ; 0x7ef40
	.quad	2000000                         ; 0x1e8480
	.quad	2000                            ; 0x7d0
	.quad	2000000                         ; 0x1e8480
	.quad	32000                           ; 0x7d00
	.quad	32000                           ; 0x7d00

.subsections_via_symbols
