	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sq_overhead
_sq_overhead:                           ## @sq_overhead
	.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
	movl	(%rdi), %edx
	addl	$-128, %edx
	cmpl	$7, %edx
	ja	LBB0_6
## %bb.1:
	movl	$8, %eax
	xorl	%ecx, %ecx
	movl	$4, %ebx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_5:
	movl	$12, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_9
LBB0_2:
	movl	$8, %ebx
LBB0_3:
	movq	_MLX5_IB_SQ_UMR_INLINE_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MLX5_IB_UMR_OCTOWORD@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %esi
	movl	$8, %edi
	callq	_max
	addl	%ebx, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_IB_QP_CREATE_IPOIB_UD_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	testl	%eax, 4(%rdi)
	setne	%cl
	leal	8(,%rcx,8), %eax
	jmp	LBB0_8
LBB0_7:
	movl	$4, %edi
	movl	$8, %esi
	callq	_max
	addl	$4, %eax
LBB0_8:
	movl	%eax, %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MLX5_IB_SQ_UMR_INLINE_THRESHOLD,4,2 ## @MLX5_IB_SQ_UMR_INLINE_THRESHOLD
	.comm	_MLX5_IB_UMR_OCTOWORD,4,2       ## @MLX5_IB_UMR_OCTOWORD
	.comm	_IB_QP_CREATE_IPOIB_UD_LSO,4,2  ## @IB_QP_CREATE_IPOIB_UD_LSO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sq_overhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sq_overhead
_sq_overhead:                           ; @sq_overhead
	.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	w8, [x0]
	sub	w10, w8, #128
	cmp	w10, #7
	b.hi	LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w9, #8
	mov	w19, #4
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	mov	w9, #12
	b	LBB0_8
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_9
LBB0_4:
	mov	w19, #8
LBB0_5:
Lloh5:
	adrp	x8, _MLX5_IB_SQ_UMR_INLINE_THRESHOLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_IB_SQ_UMR_INLINE_THRESHOLD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MLX5_IB_UMR_OCTOWORD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MLX5_IB_UMR_OCTOWORD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	add	w1, w8, #8
	mov	w0, #8
	bl	_max
	add	w9, w19, w0
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _IB_QP_CREATE_IPOIB_UD_LSO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_QP_CREATE_IPOIB_UD_LSO@GOTPAGEOFF]
	ldr	w9, [x0, #4]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w9
	mov	w8, #16
	mov	w9, #8
	csel	w9, w9, w8, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #4
	mov	w1, #8
	bl	_max
	add	w9, w0, #4
LBB0_8:
	mov	x8, x9
LBB0_9:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_MLX5_IB_SQ_UMR_INLINE_THRESHOLD,4,2 ; @MLX5_IB_SQ_UMR_INLINE_THRESHOLD
	.comm	_MLX5_IB_UMR_OCTOWORD,4,2       ; @MLX5_IB_UMR_OCTOWORD
	.comm	_IB_QP_CREATE_IPOIB_UD_LSO,4,2  ; @IB_QP_CREATE_IPOIB_UD_LSO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sq_overhead
.subsections_via_symbols
