	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_6120_get_ib_cfg
_qib_6120_get_ib_cfg:                   ## @qib_6120_get_ib_cfg
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$11, %esi
	ja	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movl	12(%rdi), %eax
	jmp	LBB0_16
LBB0_3:
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_IBCCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PhyerrThreshold@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %ebx
	movq	_IBCCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LinkDownDefaultState@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	testl	%ebx, %eax
	jne	LBB0_14
## %bb.5:
	movq	_IB_LINKINITCMD_POLL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_7:
	movl	4(%rdi), %eax
	jmp	LBB0_16
LBB0_8:
	movl	$250, %eax
	jmp	LBB0_16
LBB0_9:
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_IBCCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OverrunThreshold@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SYM_FIELD                      ## TAILCALL
LBB0_11:
	movl	16(%rdi), %eax
	jmp	LBB0_16
LBB0_12:
	movl	8(%rdi), %eax
	jmp	LBB0_16
LBB0_13:
	movl	(%rdi), %eax
	jmp	LBB0_16
LBB0_14:
	movq	_IB_LINKINITCMD_SLEEP@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_IBCCtrl,4,2                    ## @IBCCtrl
	.comm	_OverrunThreshold,4,2           ## @OverrunThreshold
	.comm	_PhyerrThreshold,4,2            ## @PhyerrThreshold
	.comm	_LinkDownDefaultState,4,2       ## @LinkDownDefaultState
	.comm	_IB_LINKINITCMD_SLEEP,4,2       ## @IB_LINKINITCMD_SLEEP
	.comm	_IB_LINKINITCMD_POLL,4,2        ## @IB_LINKINITCMD_POLL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qib_6120_get_ib_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_6120_get_ib_cfg
_qib_6120_get_ib_cfg:                   ; @qib_6120_get_ib_cfg
	.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
	sub	w9, w1, #128
	cmp	w9, #11
	b.hi	LBB0_12
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w0, [x8, #12]
	b	LBB0_13
LBB0_3:
	ldr	w0, [x8, #4]
	b	LBB0_13
LBB0_4:
	mov	w0, #250
	b	LBB0_13
LBB0_5:
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _IBCCtrl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IBCCtrl@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _PhyerrThreshold@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PhyerrThreshold@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _IBCCtrl@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IBCCtrl@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _OverrunThreshold@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OverrunThreshold@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SYM_FIELD
LBB0_8:
	ldr	w0, [x8, #16]
	b	LBB0_13
LBB0_9:
	ldr	w0, [x8, #8]
	b	LBB0_13
LBB0_10:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _IBCCtrl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IBCCtrl@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _LinkDownDefaultState@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LinkDownDefaultState@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_SYM_MASK
Lloh18:
	adrp	x8, _IB_LINKINITCMD_SLEEP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_LINKINITCMD_SLEEP@GOTPAGEOFF]
Lloh20:
	adrp	x9, _IB_LINKINITCMD_POLL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IB_LINKINITCMD_POLL@GOTPAGEOFF]
	tst	w0, w19
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	b	LBB0_13
LBB0_12:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_IBCCtrl,4,2                    ; @IBCCtrl
	.comm	_OverrunThreshold,4,2           ; @OverrunThreshold
	.comm	_PhyerrThreshold,4,2            ; @PhyerrThreshold
	.comm	_LinkDownDefaultState,4,2       ; @LinkDownDefaultState
	.comm	_IB_LINKINITCMD_SLEEP,4,2       ; @IB_LINKINITCMD_SLEEP
	.comm	_IB_LINKINITCMD_POLL,4,2        ; @IB_LINKINITCMD_POLL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qib_6120_get_ib_cfg
.subsections_via_symbols
