	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_wqe_overhead
_send_wqe_overhead:                     ## @send_wqe_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
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$9, %edi
	ja	LBB0_6
## %bb.1:
	movl	$72, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	$8, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_MLX4_IB_UD_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MLX4_INLINE_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax,4), %edi
	movl	$4, %esi
	callq	_ALIGN
	movl	%eax, %ebx
	movl	$8, %edi
	movl	$4, %esi
	callq	_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$4, %eax
	jmp	LBB0_7
LBB0_2:
	movq	_MLX4_IB_QP_LSO@GOTPCREL(%rip), %rax
	movq	_MLX4_IB_LSO_HEADER_SPARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$8, %ecx
	testl	%esi, (%rax)
	movl	$8, %eax
	cmovnel	%ecx, %eax
	jmp	LBB0_7
LBB0_4:
	movl	$12, %eax
	jmp	LBB0_7
LBB0_6:
	movl	$4, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_MLX4_IB_QP_LSO,4,2             ## @MLX4_IB_QP_LSO
	.comm	_MLX4_IB_LSO_HEADER_SPARE,4,2   ## @MLX4_IB_LSO_HEADER_SPARE
	.comm	_MLX4_IB_UD_HEADER_SIZE,4,2     ## @MLX4_IB_UD_HEADER_SIZE
	.comm	_MLX4_INLINE_ALIGN,4,2          ## @MLX4_INLINE_ALIGN
	.no_dead_strip	_send_wqe_overhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_wqe_overhead
_send_wqe_overhead:                     ; @send_wqe_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
	sub	w8, w0, #128
	cmp	w8, #9
	b.hi	LBB0_6
; %bb.1:
	mov	w0, #72
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #8
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _MLX4_IB_UD_HEADER_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX4_IB_UD_HEADER_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x8, _MLX4_INLINE_ALIGN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX4_INLINE_ALIGN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DIV_ROUND_UP
	add	w0, w19, w0, lsl #2
	mov	w1, #4
	bl	_ALIGN
	mov	x19, x0
	mov	w0, #8
	mov	w1, #4
	bl	_ALIGN
	add	w8, w19, w0
	add	w0, w8, #4
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _MLX4_IB_QP_LSO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX4_IB_QP_LSO@GOTPAGEOFF]
Lloh10:
	adrp	x9, _MLX4_IB_LSO_HEADER_SPARE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MLX4_IB_LSO_HEADER_SPARE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	add	w9, w9, #8
	tst	w8, w1
	mov	w8, #8
	csel	w0, w8, w9, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #12
	b	LBB0_7
LBB0_6:
	mov	w0, #4
LBB0_7:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_MLX4_IB_QP_LSO,4,2             ; @MLX4_IB_QP_LSO
	.comm	_MLX4_IB_LSO_HEADER_SPARE,4,2   ; @MLX4_IB_LSO_HEADER_SPARE
	.comm	_MLX4_IB_UD_HEADER_SIZE,4,2     ; @MLX4_IB_UD_HEADER_SIZE
	.comm	_MLX4_INLINE_ALIGN,4,2          ; @MLX4_INLINE_ALIGN
	.no_dead_strip	_send_wqe_overhead
.subsections_via_symbols
