	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_get_rxfh
_mlx4_en_get_rxfh:                      ## @mlx4_en_get_rxfh
	.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, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_mlx4_en_get_rxfh_indir_size
	movq	%rax, %r13
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	cmoveq	%r13, %rdi
	callq	_rounddown_pow_of_two
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.1:
	testq	%r13, %r13
	je	LBB0_17
## %bb.2:
	movq	%rax, %rcx
	cmpq	$1, %r13
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
LBB0_12:
	testb	$1, %r13b
	je	LBB0_17
## %bb.13:
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_14
## %bb.15:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_16
LBB0_4:
	movq	%r13, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	divq	%rcx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, 8(%rbx,%rsi,8)
	addq	$2, %rsi
	cmpq	%rsi, %rdi
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, (%rbx,%rsi,8)
	leaq	1(%rsi), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_11
LBB0_14:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_16:
	movq	%rdx, (%rbx,%rsi,8)
LBB0_17:
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	movl	4(%r12), %esi
	movq	_MLX4_EN_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcpy
LBB0_19:
	testq	%r14, %r14
	je	LBB0_21
## %bb.20:
	movl	(%r12), %eax
	movl	%eax, (%r14)
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_EN_RSS_KEY_SIZE,4,2       ## @MLX4_EN_RSS_KEY_SIZE
	.no_dead_strip	_mlx4_en_get_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_get_rxfh
_mlx4_en_get_rxfh:                      ; @mlx4_en_get_rxfh
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x23
	bl	_mlx4_en_get_rxfh_indir_size
	mov	x23, x0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x0, x0, x8, eq
	bl	_rounddown_pow_of_two
	cbz	x22, LBB0_8
; %bb.1:
	cbz	x23, LBB0_8
; %bb.2:
	cmp	x23, #4
	b.hs	LBB0_4
; %bb.3:
	mov	x8, #0
	b	LBB0_7
LBB0_4:
	mov	x9, #0
	and	x8, x23, #0xfffffffffffffffc
	add	x10, x22, #16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, #1
	add	x12, x9, #2
	add	x13, x9, #3
	udiv	x14, x9, x0
	msub	x14, x14, x0, x9
	udiv	x15, x11, x0
	msub	x11, x15, x0, x11
	udiv	x15, x12, x0
	msub	x12, x15, x0, x12
	udiv	x15, x13, x0
	msub	x13, x15, x0, x13
	stp	x14, x11, [x10, #-16]
	stp	x12, x13, [x10], #32
	add	x9, x9, #4
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.6:
	cmp	x23, x8
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	udiv	x9, x8, x0
	msub	x9, x9, x0, x8
	str	x9, [x22, x8, lsl #3]
	add	x8, x8, #1
	cmp	x8, x23
	b.lo	LBB0_7
LBB0_8:
	cbz	x21, LBB0_10
; %bb.9:
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x8, _MLX4_EN_RSS_KEY_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_EN_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_memcpy
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_12:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_EN_RSS_KEY_SIZE,4,2       ; @MLX4_EN_RSS_KEY_SIZE
	.no_dead_strip	_mlx4_en_get_rxfh
.subsections_via_symbols
