	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_ib_ipoib_csum_ok
_mlx4_ib_ipoib_csum_ok:                 ## @mlx4_ib_ipoib_csum_ok
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MLX4_CQE_STATUS_IPV4@GOTPCREL(%rip), %r12
	movq	_MLX4_CQE_STATUS_IPV4F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	movq	_MLX4_CQE_STATUS_IPV4OPT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX4_CQE_STATUS_IPV6@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_MLX4_CQE_STATUS_IPOK@GOTPCREL(%rip), %r13
	orl	(%r13), %eax
	movl	%eax, %edi
	callq	_cpu_to_be16
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	(%r13), %edi
	orl	(%r12), %edi
	callq	_cpu_to_be16
	xorl	%r12d, %r12d
	cmpl	%eax, %ebx
	jne	LBB0_3
## %bb.1:
	movq	_MLX4_CQE_STATUS_UDP@GOTPCREL(%rip), %rax
	movq	_MLX4_CQE_STATUS_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_be16
	testl	%r15d, %eax
	je	LBB0_3
## %bb.2:
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	xorl	%r12d, %r12d
	cmpl	%r14d, %eax
	sete	%r12b
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_CQE_STATUS_IPV4,4,2       ## @MLX4_CQE_STATUS_IPV4
	.comm	_MLX4_CQE_STATUS_IPV4F,4,2      ## @MLX4_CQE_STATUS_IPV4F
	.comm	_MLX4_CQE_STATUS_IPV4OPT,4,2    ## @MLX4_CQE_STATUS_IPV4OPT
	.comm	_MLX4_CQE_STATUS_IPV6,4,2       ## @MLX4_CQE_STATUS_IPV6
	.comm	_MLX4_CQE_STATUS_IPOK,4,2       ## @MLX4_CQE_STATUS_IPOK
	.comm	_MLX4_CQE_STATUS_UDP,4,2        ## @MLX4_CQE_STATUS_UDP
	.comm	_MLX4_CQE_STATUS_TCP,4,2        ## @MLX4_CQE_STATUS_TCP
	.no_dead_strip	_mlx4_ib_ipoib_csum_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_ib_ipoib_csum_ok
_mlx4_ib_ipoib_csum_ok:                 ; @mlx4_ib_ipoib_csum_ok
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MLX4_CQE_STATUS_IPV4@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MLX4_CQE_STATUS_IPV4@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _MLX4_CQE_STATUS_IPV4F@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLX4_CQE_STATUS_IPV4F@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _MLX4_CQE_STATUS_IPV4OPT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX4_CQE_STATUS_IPV4OPT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _MLX4_CQE_STATUS_IPV6@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MLX4_CQE_STATUS_IPV6@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x22, _MLX4_CQE_STATUS_IPOK@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MLX4_CQE_STATUS_IPOK@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w0, w8, w9
	bl	_cpu_to_be16
	and	w23, w0, w20
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w0, w9, w8
	bl	_cpu_to_be16
	cmp	w23, w0
	b.ne	LBB0_3
; %bb.1:
Lloh13:
	adrp	x8, _MLX4_CQE_STATUS_UDP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MLX4_CQE_STATUS_UDP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _MLX4_CQE_STATUS_TCP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MLX4_CQE_STATUS_TCP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_be16
	tst	w0, w20
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #65535
	bl	_cpu_to_be16
	cmp	w0, w19
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_CQE_STATUS_IPV4,4,2       ; @MLX4_CQE_STATUS_IPV4
	.comm	_MLX4_CQE_STATUS_IPV4F,4,2      ; @MLX4_CQE_STATUS_IPV4F
	.comm	_MLX4_CQE_STATUS_IPV4OPT,4,2    ; @MLX4_CQE_STATUS_IPV4OPT
	.comm	_MLX4_CQE_STATUS_IPV6,4,2       ; @MLX4_CQE_STATUS_IPV6
	.comm	_MLX4_CQE_STATUS_IPOK,4,2       ; @MLX4_CQE_STATUS_IPOK
	.comm	_MLX4_CQE_STATUS_UDP,4,2        ; @MLX4_CQE_STATUS_UDP
	.comm	_MLX4_CQE_STATUS_TCP,4,2        ; @MLX4_CQE_STATUS_TCP
	.no_dead_strip	_mlx4_ib_ipoib_csum_ok
.subsections_via_symbols
