	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_mlx_header
_build_mlx_header:                      ## @build_mlx_header
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	256(%rdi), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_to_mdev
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	40(%rbx), %edi
	callq	_to_mah
	movq	%rax, %r15
	movl	16(%rbx), %eax
	movl	$0, %r13d
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	movq	32(%rbx), %rcx
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	%r8, %rsi
	andq	$-2, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	movdqu	32(%rcx,%rdi,8), %xmm4
	movdqu	48(%rcx,%rdi,8), %xmm5
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm0, %xmm2
	pshufd	$232, %xmm3, %xmm3              ## xmm3 = xmm3[0,2,2,3]
	paddd	%xmm1, %xmm3
	pshufd	$232, %xmm4, %xmm0              ## xmm0 = xmm4[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm5, %xmm1              ## xmm1 = xmm5[0,2,2,3]
	paddd	%xmm3, %xmm1
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_6
## %bb.7:
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
LBB0_9:
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %r13d
	cmpq	%rax, %rdx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rcx,%rdx,8), %r13d
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
LBB0_11:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	256(%r14), %rdi
	movl	240(%r14), %esi
	callq	_rdma_port_get_link_layer
	movq	%rax, %r12
	movq	_IB_LINK_LAYER_ETHERNET@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_mlx4_ib_ah_grh_present
	xorl	%edx, %edx
	cmpq	%rbx, %r12
	sete	%cl
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_12
## %bb.13:
	movb	%cl, -112(%rbp)                 ## 1-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_to_mdev
	movl	8(%rax), %edi
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	callq	_to_mdev
	movl	8(%rax), %r12d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edi
	callq	_be32_to_cpu
	sarl	$24, %eax
	movq	32(%rbx), %rdx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_mlx4_get_roce_gid_from_slave
	testl	%eax, %eax
	jne	LBB0_75
## %bb.15:
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_12:
	movl	$65535, -84(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0xFFFF
	movq	%r14, %r15
	xorl	%r10d, %r10d
	xorl	%r14d, %r14d
	xorl	%r8d, %r8d
	jmp	LBB0_23
LBB0_16:
	movl	240(%r14), %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rdx
	leaq	-120(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fill_gid_by_hw_index
	testl	%eax, %eax
	jne	LBB0_75
## %bb.17:
	movl	-56(%rbp), %eax
	movq	_IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	$0, %esi
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.18:
	leaq	-120(%rbp), %rdi
	callq	_ipv6_addr_v4mapped
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	(%rcx,%rcx), %esi
	addl	$4, %esi
	movl	$1, %edx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_19:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rbx
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	cmpq	%rax, %rbx
	je	LBB0_20
## %bb.21:
	movq	%r14, %r15
	movq	(%r12), %rdi
	callq	_be16_to_cpu
	andl	$4095, %eax                     ## imm = 0xFFF
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	$1, %r8d
	jmp	LBB0_22
LBB0_4:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %r8b
	jne	LBB0_8
	jmp	LBB0_9
LBB0_20:
	movl	$65535, -84(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0xFFFF
	movq	%r14, %r15
	xorl	%r8d, %r8d
LBB0_22:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	movb	-112(%rbp), %cl                 ## 1-byte Reload
LBB0_23:
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movb	%cl, %dl
	xorl	%esi, %esi
	cmpq	%rbx, %r12
	setne	%sil
	leaq	16(%r15), %r12
	subq	$8, %rsp
	movl	%r13d, %edi
	movl	%r8d, %ebx
	movl	%r8d, %ecx
	movl	%eax, %r13d
	movl	%eax, %r8d
	movl	%r14d, %r9d
	pushq	%r12
	pushq	$0
	pushq	%r10
	callq	_ib_ud_header_init
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_75
## %bb.24:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r15, %r14
	je	LBB0_26
## %bb.25:
	movl	40(%r12), %edi
	callq	_be32_to_cpu
	sarl	$28, %eax
	movl	%eax, 64(%r14)
	movq	64(%r12), %rax
	movq	%rax, 80(%r14)
	movl	44(%r12), %edi
	andl	$127, %edi
	callq	_cpu_to_be16
	movq	%rax, 72(%r14)
LBB0_26:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_28
## %bb.27:
	cmpl	$6, %eax
	je	LBB0_28
## %bb.34:
	cmpl	$4, %eax
	je	LBB0_35
LBB0_36:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_38
LBB0_37:
	movq	_ROCE_V2_UDP_DPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 152(%r14)
	movq	_MLX4_ROCEV2_QP1_SPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 144(%r14)
	movq	$0, 136(%r14)
LBB0_38:
	movq	_MLX4_WQE_CTRL_CQ_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	andl	%eax, (%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	je	LBB0_46
## %bb.39:
	xorl	%eax, %eax
	cmpl	$0, 248(%r14)
	movl	$0, %edi
	jne	LBB0_41
## %bb.40:
	movq	_MLX4_WQE_MLX_VL15@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_41:
	movq	80(%r14), %rcx
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_43
## %bb.42:
	movq	_MLX4_WQE_MLX_SLR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_43:
	movl	64(%r14), %ecx
	shll	$8, %ecx
	orl	%ecx, %edi
	orl	%eax, %edi
	callq	_cpu_to_be32
	orl	%eax, (%r13)
	movl	24(%r12), %ebx
	movl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_cpu_to_be32
	testl	%ebx, %eax
	je	LBB0_45
## %bb.44:
	movl	$1, %edi
	callq	_cpu_to_be32
	orl	%eax, (%r13)
LBB0_45:
	movq	80(%r14), %rax
	movq	%rax, 16(%r13)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_46:
	movl	20(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_49
## %bb.47:
	cmpl	$129, %eax
	jne	LBB0_72
## %bb.48:
	movq	_IB_OPCODE_UD_SEND_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movl	$0, 16(%r14)
	jmp	LBB0_50
LBB0_28:
	movl	40(%r12), %edi
	callq	_be32_to_cpu
	shrl	$20, %eax
	movzbl	%al, %eax
	movl	%eax, 200(%r14)
	movl	40(%r12), %ebx
	movl	$1048575, %edi                  ## imm = 0xFFFFF
	callq	_cpu_to_be32
	andl	%ebx, %eax
	movl	%eax, 204(%r14)
	movl	56(%r12), %eax
	movl	%eax, 232(%r14)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_30
## %bb.29:
	movq	224(%r14), %rdi
	movq	-120(%rbp), %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_49:
	movq	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movl	$1, 16(%r14)
	movl	28(%r15), %eax
	movl	%eax, 128(%r14)
LBB0_50:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_62
## %bb.51:
	movl	40(%r12), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	sarl	$16, %r15d
	cmpl	$4, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_52
## %bb.53:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	jmp	LBB0_54
LBB0_62:
	cmpl	$0, 248(%r14)
	je	LBB0_63
## %bb.70:
	movq	%rbx, %rdi
	callq	_to_mdev
	movl	64(%r14), %esi
	movl	240(%r14), %edx
	movq	%rax, %rdi
	callq	_sl_to_vl
	movl	248(%r14), %ecx
	movl	%eax, 68(%r14)
	testl	%ecx, %ecx
	je	LBB0_64
## %bb.71:
	cmpl	$15, %eax
	jne	LBB0_64
LBB0_72:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_75
LBB0_30:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_to_mdev
	movl	8(%rax), %edi
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	callq	_to_mdev
	movq	(%rax), %rax
	movslq	240(%r14), %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$-8, %rdi
	callq	_atomic64_read
	movl	%eax, %edi
	callq	_cpu_to_be64
	movl	%eax, 220(%r14)
	movq	%rbx, %rdi
	callq	_to_mdev
	movq	(%rax), %rax
	movslq	240(%r14), %rcx
	shlq	$4, %rcx
	movq	-16(%rcx,%rax), %rax
	movq	32(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 216(%r14)
	jmp	LBB0_33
LBB0_52:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
LBB0_54:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	andl	$-8192, %r15d                   ## imm = 0xE000
	testl	%ecx, %ecx
	jne	LBB0_56
## %bb.55:
	movq	_ETH_P_IBOE@GOTPCREL(%rip), %rax
LBB0_56:
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_cpu_to_be16
	movq	%rax, 8(%r13)
	movl	120(%r14), %edi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	16(%r12), %esi
	callq	_ether_addr_copy
	movq	112(%r14), %rdi
	movq	8(%r12), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	8(%r13), %rdi
	movq	8(%r12), %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	8(%r12), %rsi
	addq	$8, %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	-120(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	120(%r14), %edi
	movq	112(%r14), %rsi
	movl	$6, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_58
## %bb.57:
	movq	_MLX4_WQE_CTRL_FORCE_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	orl	%eax, (%r13)
LBB0_58:
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be16
	cmpl	$0, -132(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_59
## %bb.61:
	movq	%rax, 96(%r14)
	orl	-84(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, %edi
	callq	_cpu_to_be16
	movq	%rax, 88(%r14)
	jmp	LBB0_60
LBB0_63:
	movl	$15, 68(%r14)
	xorl	%ecx, %ecx
LBB0_64:
	movq	80(%r14), %rax
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_66
## %bb.65:
	movq	%rax, 72(%r14)
	jmp	LBB0_66
LBB0_59:
	movq	%rax, 104(%r14)
LBB0_60:
	movl	248(%r14), %ecx
	movq	-128(%rbp), %r15                ## 8-byte Reload
LBB0_66:
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	24(%r15), %eax
	setne	%dl
	movl	%edx, 32(%r14)
	leaq	8(%r15), %rax
	leaq	268(%r14), %rdx
	testl	%ecx, %ecx
	movl	240(%r14), %esi
	cmoveq	%rdx, %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ib_get_cached_pkey
	movl	-56(%rbp), %edi
	callq	_cpu_to_be16
	movq	%rax, 48(%r14)
	movl	(%r15), %edi
	callq	_cpu_to_be32
	movl	%eax, 36(%r14)
	movl	264(%r14), %edi
	leal	1(%rdi), %eax
	movl	%eax, 264(%r14)
	andl	$16777215, %edi                 ## imm = 0xFFFFFF
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_be32
	movl	%eax, 40(%r14)
	movl	4(%r15), %edi
	testl	%edi, %edi
	jns	LBB0_68
## %bb.67:
	movl	(%r14), %edi
LBB0_68:
	callq	_cpu_to_be32
	movl	%eax, 20(%r14)
	movl	248(%r14), %edi
	callq	_cpu_to_be32
	movl	%eax, 24(%r14)
	movq	8(%r14), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_ib_ud_header_pack
	movq	_MLX4_INLINE_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	-144(%rbp), %r13                ## 8-byte Reload
	leaq	28(%r13), %r15
	leal	-1(%rbx), %edx
	movl	%r15d, %ecx
	andl	%edx, %ecx
	subl	%ecx, %ebx
	movl	%eax, %r12d
	subl	%ebx, %r12d
	jle	LBB0_69
## %bb.73:
	movl	%ebx, %edi
	orl	$-2147483648, %edi              ## imm = 0x80000000
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_cpu_to_be32
	movl	%eax, 24(%r13)
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rbx
	leaq	(%r15,%rbx), %rdi
	addq	$4, %rdi
	leaq	(,%rbx,4), %rsi
	addq	8(%r14), %rsi
	movl	%r12d, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_wmb
	orl	$-2147483648, %r12d             ## imm = 0x80000000
	movl	%r12d, %edi
	callq	_cpu_to_be32
	movl	%eax, 28(%r13,%rbx)
	movl	$8, %edi
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_74
LBB0_69:
	movl	%eax, %edi
	orl	$-2147483648, %edi              ## imm = 0x80000000
	movl	%eax, %ebx
	callq	_cpu_to_be32
	movl	%eax, 24(%r13)
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movl	$4, %edi
LBB0_74:
	addl	%ebx, %edi
	movl	$16, %esi
	callq	_ALIGN
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_75:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	72(%r12), %rax
	movdqu	(%rax), %xmm0
	movdqu	%xmm0, 216(%r14)
LBB0_33:
	movq	208(%r14), %rdi
	movq	48(%r12), %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$4, %eax
	jne	LBB0_36
LBB0_35:
	movl	40(%r12), %edi
	callq	_be32_to_cpu
	shrl	$20, %eax
	movzbl	%al, %eax
	movl	%eax, 160(%r14)
	movq	$0, 192(%r14)
	movq	_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 184(%r14)
	movl	20(%r12), %eax
	movl	%eax, 176(%r14)
	leaq	172(%r14), %rdi
	movq	-120(%rbp), %rsi
	addq	$48, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	168(%r14), %rdi
	movq	48(%r12), %rsi
	addq	$48, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_ib_ud_ip4_csum
	movl	%eax, 164(%r14)
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_37
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_LINK_LAYER_ETHERNET,8,3     ## @IB_LINK_LAYER_ETHERNET
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ## @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_IP_DF,4,2                      ## @IP_DF
	.comm	_ROCE_V2_UDP_DPORT,4,2          ## @ROCE_V2_UDP_DPORT
	.comm	_MLX4_ROCEV2_QP1_SPORT,4,2      ## @MLX4_ROCEV2_QP1_SPORT
	.comm	_MLX4_WQE_CTRL_CQ_UPDATE,4,2    ## @MLX4_WQE_CTRL_CQ_UPDATE
	.comm	_MLX4_WQE_MLX_VL15,4,2          ## @MLX4_WQE_MLX_VL15
	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.comm	_MLX4_WQE_MLX_SLR,4,2           ## @MLX4_WQE_MLX_SLR
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ## @IB_OPCODE_UD_SEND_ONLY
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ## @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_IBOE,4,2                 ## @ETH_P_IBOE
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_MLX4_WQE_CTRL_FORCE_LOOPBACK,4,2 ## @MLX4_WQE_CTRL_FORCE_LOOPBACK
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.comm	_MLX4_INLINE_ALIGN,4,2          ## @MLX4_INLINE_ALIGN
	.no_dead_strip	_build_mlx_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_mlx_header
_build_mlx_header:                      ; @build_mlx_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x0, [x0, #256]
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	bl	_to_mdev
	mov	x19, x0
	ldr	w0, [x22, #40]
	bl	_to_mah
	mov	x24, x0
	ldr	w8, [x22, #16]
	cmp	w8, #1
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x22, #32]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w25, #0
	b	LBB0_7
LBB0_3:
	mov	w25, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w25, s0
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #8
	add	w25, w25, w10
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x0, [x20, #256]
	ldr	w1, [x20, #240]
	bl	_rdma_port_get_link_layer
	mov	x26, x0
Lloh0:
	adrp	x8, _IB_LINK_LAYER_ETHERNET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_LINK_LAYER_ETHERNET@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x24
	bl	_mlx4_ib_ah_grh_present
	mov	x21, x0
	cmp	x26, x23
	cset	w27, eq
	str	x22, [sp, #48]                  ; 8-byte Folded Spill
	b.ne	LBB0_13
; %bb.10:
	mov	x22, x28
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x28
	bl	_to_mdev
	ldr	w0, [x0, #8]
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_14
; %bb.11:
	mov	x0, x28
	bl	_to_mdev
	ldr	w19, [x0, #8]
	ldr	w0, [x24, #24]
	bl	_be32_to_cpu
	asr	w1, w0, #24
	ldr	x2, [x24, #32]
	mov	x0, x19
	bl	_mlx4_get_roce_gid_from_slave
	cbnz	w0, LBB0_62
; %bb.12:
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_17
LBB0_13:
	mov	x19, x28
	mov	w9, #0
	mov	w10, #0
	mov	w22, #0
	mov	w8, #65535
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_22
LBB0_14:
	ldr	w1, [x20, #240]
	ldr	x2, [x24, #32]
	add	x3, sp, #72
	add	x4, sp, #64
	mov	x0, x19
	bl	_fill_gid_by_hw_index
	cbnz	w0, LBB0_62
; %bb.15:
	ldr	w8, [sp, #64]
Lloh3:
	adrp	x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	b.ne	LBB0_17
; %bb.16:
	add	x0, sp, #72
	bl	_ipv6_addr_v4mapped
	mov	w21, #0
	cmp	x0, #0
	mov	w8, #4
	mov	w9, #6
	csel	w22, w9, w8, eq
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	b	LBB0_18
LBB0_17:
	str	wzr, [sp, #24]                  ; 4-byte Folded Spill
	mov	w22, #0
LBB0_18:
	ldr	x28, [x24]
	mov	w0, #65535
	bl	_cpu_to_be16
	cmp	x28, x0
	b.eq	LBB0_20
; %bb.19:
	ldr	x0, [x24]
	bl	_be16_to_cpu
	and	w8, w0, #0xfff
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	mov	w9, #1
	b	LBB0_21
LBB0_20:
	mov	w8, #65535
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	mov	w9, #0
LBB0_21:
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
LBB0_22:
	cmp	x26, x23
	cset	w1, ne
	add	x28, x20, #16
	str	x28, [sp]
	mov	x0, x25
	mov	x2, x27
	mov	x25, x9
	mov	x3, x9
	mov	x4, x21
	mov	x5, x22
	mov	x27, x10
	mov	x6, x10
	mov	w7, #0
	bl	_ib_ud_header_init
	cbnz	w0, LBB0_62
; %bb.23:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
	cmp	x26, x23
	b.eq	LBB0_25
; %bb.24:
	ldr	w0, [x24, #40]
	bl	_be32_to_cpu
	asr	w8, w0, #28
	str	w8, [x20, #64]
	ldr	x8, [x24, #64]
	str	x8, [x20, #80]
	ldr	w8, [x24, #44]
	and	w0, w8, #0x7f
	bl	_cpu_to_be16
	str	x0, [x20, #72]
LBB0_25:
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	cbnz	w21, LBB0_41
; %bb.26:
	mov	x8, x22
	cmp	w22, #6
	b.eq	LBB0_41
; %bb.27:
	cmp	w8, #4
	b.eq	LBB0_65
LBB0_28:
	cbz	w27, LBB0_30
LBB0_29:
Lloh6:
	adrp	x8, _ROCE_V2_UDP_DPORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROCE_V2_UDP_DPORT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x20, #152]
Lloh9:
	adrp	x8, _MLX4_ROCEV2_QP1_SPORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_ROCEV2_QP1_SPORT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htons
	stp	xzr, x0, [x20, #136]
LBB0_30:
Lloh12:
	adrp	x8, _MLX4_WQE_CTRL_CQ_UPDATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX4_WQE_CTRL_CQ_UPDATE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	w8, [x25]
	and	w8, w8, w0
	str	w8, [x25]
	cmp	x26, x23
	b.eq	LBB0_34
; %bb.31:
	ldr	w8, [x20, #248]
Lloh15:
	adrp	x9, _MLX4_WQE_MLX_VL15@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MLX4_WQE_MLX_VL15@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, wzr, eq
	ldr	x9, [x20, #80]
Lloh18:
	adrp	x10, _IB_LID_PERMISSIVE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _MLX4_WQE_MLX_SLR@GOTPAGE
Lloh22:
	ldr	x11, [x11, _MLX4_WQE_MLX_SLR@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w8, w9, w8
	ldr	w9, [x20, #64]
	orr	w0, w8, w9, lsl #8
	bl	_cpu_to_be32
	ldr	w8, [x25]
	orr	w8, w8, w0
	str	w8, [x25]
	ldr	w21, [x24, #24]
	mov	w0, #-2147483648
	bl	_cpu_to_be32
	tst	w0, w21
	b.eq	LBB0_33
; %bb.32:
	mov	w0, #1
	bl	_cpu_to_be32
	ldr	w8, [x25]
	orr	w8, w8, w0
	str	w8, [x25]
LBB0_33:
	ldr	x8, [x20, #80]
	str	x8, [x25, #16]
LBB0_34:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w8, [x8, #20]
	cmp	w8, #128
	b.eq	LBB0_43
; %bb.35:
	cmp	w8, #129
	b.ne	LBB0_40
; %bb.36:
Lloh24:
	adrp	x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	str	wzr, [x20, #16]
	cmp	x26, x23
	b.eq	LBB0_44
LBB0_37:
	ldr	w8, [x20, #248]
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_50
; %bb.38:
	mov	x26, x19
	mov	x0, x28
	bl	_to_mdev
	ldr	w1, [x20, #64]
	ldr	w2, [x20, #240]
	bl	_sl_to_vl
	ldr	w8, [x20, #248]
	str	w0, [x20, #68]
	cbz	w8, LBB0_51
; %bb.39:
	cmp	w0, #15
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	b.ne	LBB0_52
LBB0_40:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_62
LBB0_41:
	ldr	w0, [x24, #40]
	bl	_be32_to_cpu
	ubfx	w8, w0, #20, #8
	str	w8, [x20, #200]
	ldr	w21, [x24, #40]
	mov	w0, #1048575
	bl	_cpu_to_be32
	and	w8, w0, w21
	str	w8, [x20, #204]
	ldr	w8, [x24, #56]
	str	w8, [x20, #232]
	cmp	x26, x23
	b.ne	LBB0_48
; %bb.42:
	ldr	x0, [x20, #224]
	ldr	x1, [sp, #72]
	mov	w2, #16
	bl	_memcpy
	b	LBB0_64
LBB0_43:
Lloh30:
	adrp	x8, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	mov	w8, #1
	str	w8, [x20, #16]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w8, [x8, #28]
	str	w8, [x20, #128]
	cmp	x26, x23
	b.ne	LBB0_37
LBB0_44:
	mov	x26, x19
	ldr	w0, [x24, #40]
	bl	_be32_to_cpu
	asr	w8, w0, #16
Lloh33:
	adrp	x9, _ETH_P_IBOE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ETH_P_IBOE@GOTPAGEOFF]
Lloh35:
	adrp	x10, _ETH_P_IP@GOTPAGE
Lloh36:
	ldr	x10, [x10, _ETH_P_IP@GOTPAGEOFF]
Lloh37:
	adrp	x11, _ETH_P_IPV6@GOTPAGE
Lloh38:
	ldr	x11, [x11, _ETH_P_IPV6@GOTPAGEOFF]
	and	w21, w8, #0xffffe000
	cmp	w22, #4
	csel	x8, x10, x11, eq
	cmp	w27, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
	mov	x0, x21
	bl	_cpu_to_be16
	str	x0, [x25, #8]
	ldr	w0, [x20, #120]
	ldr	w1, [x24, #16]
	bl	_ether_addr_copy
	ldr	x0, [x20, #112]
	ldr	x1, [x24, #8]
	mov	w2, #6
	bl	_memcpy
	ldr	x0, [x25, #8]
	ldr	x1, [x24, #8]
	mov	w2, #2
	bl	_memcpy
	ldr	x8, [x24, #8]
	add	x1, x8, #8
	mov	x0, x25
	mov	w2, #4
	bl	_memcpy
	ldr	x1, [sp, #72]
	add	x0, sp, #64
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x20, #120]
	ldr	x1, [x20, #112]
	mov	w2, #6
	bl	_memcmp
	cbnz	w0, LBB0_46
; %bb.45:
Lloh39:
	adrp	x8, _MLX4_WQE_CTRL_FORCE_LOOPBACK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MLX4_WQE_CTRL_FORCE_LOOPBACK@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	w8, [x25]
	orr	w8, w8, w0
	str	w8, [x25]
LBB0_46:
	mov	x0, x19
	bl	_cpu_to_be16
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_54
; %bb.47:
	str	x0, [x20, #96]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	orr	w0, w21, w8
	bl	_cpu_to_be16
	str	x0, [x20, #88]
	b	LBB0_55
LBB0_48:
	mov	x0, x28
	bl	_to_mdev
	ldr	w0, [x0, #8]
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_63
; %bb.49:
	mov	x0, x28
	bl	_to_mdev
	ldr	x8, [x0]
	ldrsw	x9, [x20, #240]
	add	x8, x8, x9, lsl #4
	sub	x0, x8, #8
	bl	_atomic64_read
	bl	_cpu_to_be64
	str	w0, [x20, #220]
	mov	x0, x28
	bl	_to_mdev
	ldr	x8, [x0]
	ldrsw	x9, [x20, #240]
	add	x8, x8, x9, lsl #4
	ldur	x8, [x8, #-16]
	ldr	x9, [x24, #32]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x20, #216]
	b	LBB0_64
LBB0_50:
	mov	x26, x19
	mov	w9, #15
	str	w9, [x20, #68]
LBB0_51:
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
LBB0_52:
	ldr	x9, [x20, #80]
Lloh42:
	adrp	x10, _IB_LID_PERMISSIVE@GOTPAGE
Lloh43:
	ldr	x10, [x10, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_56
; %bb.53:
	str	x9, [x20, #72]
	b	LBB0_56
LBB0_54:
	str	x0, [x20, #104]
LBB0_55:
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w8, [x20, #248]
LBB0_56:
	ldr	w9, [x22, #24]
Lloh45:
	adrp	x10, _IB_SEND_SOLICITED@GOTPAGE
Lloh46:
	ldr	x10, [x10, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, ne
	str	w9, [x20, #32]
	ldr	w1, [x20, #240]
	add	x9, x22, #8
	add	x10, x20, #268
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
	add	x3, sp, #64
	mov	x0, x28
	bl	_ib_get_cached_pkey
	ldr	w0, [sp, #64]
	bl	_cpu_to_be16
	str	x0, [x20, #48]
	ldr	w0, [x22]
	bl	_cpu_to_be32
	str	w0, [x20, #36]
	ldr	w8, [x20, #264]
	add	w9, w8, #1
	str	w9, [x20, #264]
	and	w0, w8, #0xffffff
	bl	_cpu_to_be32
	str	w0, [x20, #40]
	ldr	w0, [x22, #4]
	tbz	w0, #31, LBB0_58
; %bb.57:
	ldr	w0, [x20]
LBB0_58:
	bl	_cpu_to_be32
	str	w0, [x20, #20]
	ldr	w0, [x20, #248]
	bl	_cpu_to_be32
	str	w0, [x20, #24]
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_ib_ud_header_pack
	mov	x19, x0
Lloh48:
	adrp	x8, _MLX4_INLINE_ALIGN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MLX4_INLINE_ALIGN@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	add	x21, x25, #28
	sub	w9, w8, #1
	and	w9, w9, w21
	sub	w23, w8, w9
	subs	w22, w0, w23
	b.le	LBB0_60
; %bb.59:
	orr	w0, w23, #0x80000000
	bl	_cpu_to_be32
	str	w0, [x25, #24]
	ldr	x1, [x20, #8]
	mov	x0, x21
	mov	x2, x23
	bl	_memcpy
	add	x21, x21, w23, sxtw
	add	x0, x21, #4
	ldr	x8, [x20, #8]
	add	x1, x8, w23, sxtw #2
	mov	x2, x22
	bl	_memcpy
	bl	_wmb
	orr	w0, w22, #0x80000000
	bl	_cpu_to_be32
	str	w0, [x21]
	mov	w8, #8
	b	LBB0_61
LBB0_60:
	orr	w0, w19, #0x80000000
	bl	_cpu_to_be32
	str	w0, [x25, #24]
	ldr	x1, [x20, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_memcpy
	mov	w8, #4
LBB0_61:
	add	w0, w8, w19
	mov	w1, #16
	bl	_ALIGN
	mov	x8, x0
	mov	w0, #0
	str	w8, [x26]
LBB0_62:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_63:
	ldr	x8, [x24, #72]
	ldr	q0, [x8]
	stur	q0, [x20, #216]
LBB0_64:
	ldr	x0, [x20, #208]
	ldr	x1, [x24, #48]
	mov	w2, #16
	bl	_memcpy
	mov	x8, x22
	cmp	w8, #4
	b.ne	LBB0_28
LBB0_65:
	ldr	w0, [x24, #40]
	bl	_be32_to_cpu
	ubfx	w8, w0, #20, #8
	str	w8, [x20, #160]
	str	xzr, [x20, #192]
Lloh51:
	adrp	x8, _IP_DF@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IP_DF@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x20, #184]
	ldr	w8, [x24, #20]
	str	w8, [x20, #176]
	add	x0, x20, #172
	ldr	x8, [sp, #72]
	add	x1, x8, #48
	mov	w2, #4
	bl	_memcpy
	add	x0, x20, #168
	ldr	x8, [x24, #48]
	add	x1, x8, #48
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_ib_ud_ip4_csum
	str	w0, [x20, #164]
	cbnz	w27, LBB0_29
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_LINK_LAYER_ETHERNET,8,3     ; @IB_LINK_LAYER_ETHERNET
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ; @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_IP_DF,4,2                      ; @IP_DF
	.comm	_ROCE_V2_UDP_DPORT,4,2          ; @ROCE_V2_UDP_DPORT
	.comm	_MLX4_ROCEV2_QP1_SPORT,4,2      ; @MLX4_ROCEV2_QP1_SPORT
	.comm	_MLX4_WQE_CTRL_CQ_UPDATE,4,2    ; @MLX4_WQE_CTRL_CQ_UPDATE
	.comm	_MLX4_WQE_MLX_VL15,4,2          ; @MLX4_WQE_MLX_VL15
	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.comm	_MLX4_WQE_MLX_SLR,4,2           ; @MLX4_WQE_MLX_SLR
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ; @IB_OPCODE_UD_SEND_ONLY
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ; @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_IBOE,4,2                 ; @ETH_P_IBOE
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_MLX4_WQE_CTRL_FORCE_LOOPBACK,4,2 ; @MLX4_WQE_CTRL_FORCE_LOOPBACK
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.comm	_MLX4_INLINE_ALIGN,4,2          ; @MLX4_INLINE_ALIGN
	.no_dead_strip	_build_mlx_header
.subsections_via_symbols
