	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roce_verify_mac
_roce_verify_mac:                       ## @roce_verify_mac
	.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	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movl	4(%rdx), %edi
	callq	_be32_to_cpu
	movq	(%rbx), %rcx
	xorl	%r15d, %r15d
	btl	$6, 64(%rcx)
	movl	%eax, %r14d
	movl	$0, %ebx
	adcl	$1, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_mlx4_is_eth
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	shrl	$16, %r14d
	movzbl	%r14b, %eax
	movq	_MLX4_QP_ST_MLX@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_4
## %bb.2:
	movl	(%r13), %ecx
	andl	$127, %ecx
	leaq	-48(%rbp), %r8
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_mac_find_smac_ix_in_slave
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_QP_ST_MLX,8,3             ## @MLX4_QP_ST_MLX
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_roce_verify_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roce_verify_mac
_roce_verify_mac:                       ; @roce_verify_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2, #4]
	bl	_be32_to_cpu
	mov	x23, x0
	ldr	x8, [x22]
	ldr	w8, [x8, #64]
	ubfx	w8, w8, #6, #1
	add	w22, w8, #1
	mov	x0, x20
	mov	x1, x22
	bl	_mlx4_is_eth
	cbz	x0, LBB0_5
; %bb.1:
	ubfx	w8, w23, #16, #8
Lloh0:
	adrp	x9, _MLX4_QP_ST_MLX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_QP_ST_MLX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldr	w8, [x21]
	and	w3, w8, #0x7f
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mac_find_smac_ix_in_slave
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_QP_ST_MLX,8,3             ; @MLX4_QP_ST_MLX
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_roce_verify_mac
.subsections_via_symbols
