	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_set_rxfh_indir
_mlx4_en_set_rxfh_indir:                ## @mlx4_en_set_rxfh_indir
	.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	%rsi, %r13
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r12
	movq	24(%rax), %r14
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_9
## %bb.1:
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13,%rsi,4), %edi
	movl	%edi, %eax
	orl	%ebx, %eax
	cmovel	%esi, %ebx
	movl	%esi, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	xorl	%eax, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	movl	%r8d, %ecx
	cmovnel	%ebx, %ecx
	cltd
	idivl	%ecx
	cmpl	%edx, %edi
	jne	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_3
## %bb.8:
	testl	%ebx, %ebx
	jne	LBB0_10
LBB0_9:
	movl	%r8d, %ebx
LBB0_10:
	movl	%ebx, %edi
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_7
## %bb.11:
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 16(%r12)
	je	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_mlx4_en_stop_port
	movq	8(%r12), %rax
	movl	%ebx, (%rax)
	movq	%r15, %rdi
	callq	_mlx4_en_start_port
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_en_err
	jmp	LBB0_16
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_14:
	movq	8(%r12), %rax
	movl	%ebx, (%rax)
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed starting port\n"

	.no_dead_strip	_mlx4_en_set_rxfh_indir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_set_rxfh_indir
_mlx4_en_set_rxfh_indir:                ; @mlx4_en_set_rxfh_indir
	.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	x23, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #24]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x23, x9, lsl #2]
	orr	w11, w10, w22
	cmp	w11, #0
	csel	w22, w22, w9, ne
	mov	x11, x9
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w11, #0
	ldr	w10, [x23]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, #0
	csel	w12, w8, w22, eq
	sdiv	w13, w11, w12
	msub	w11, w13, w12, w11
	cmp	w10, w11
	b.ne	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.7:
	cbnz	w22, LBB0_9
LBB0_8:
	mov	x22, x8
LBB0_9:
	mov	x0, x22
	bl	_is_power_of_2
	cbz	w0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_14
; %bb.11:
	mov	x0, x21
	mov	w1, #1
	bl	_mlx4_en_stop_port
	ldr	x8, [x20, #8]
	str	w22, [x8]
	mov	x0, x21
	bl	_mlx4_en_start_port
	mov	x21, x0
	cbz	w0, LBB0_15
; %bb.12:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_en_err
	b	LBB0_15
LBB0_13:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_14:
	mov	w21, #0
	ldr	x8, [x20, #8]
	str	w22, [x8]
LBB0_15:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_16:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed starting port\n"

	.no_dead_strip	_mlx4_en_set_rxfh_indir
.subsections_via_symbols
