	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_set_rss_hash_opt
_mlx5e_set_rss_hash_opt:                ## @mlx5e_set_rss_hash_opt
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_modify_tir_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_flow_type_to_traffic_type
	movl	%eax, %r12d
	movq	_MLX5E_NUM_INDIR_TIRS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %rax
	movq	_TCP_V4_FLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	movq	_TCP_V6_FLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.5:
	movq	_UDP_V4_FLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_UDP_V6_FLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_8:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %eax
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	%r13d, %ecx
	orl	%r14d, %ecx
	movq	_RXH_L4_B_0_1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movq	_RXH_L4_B_2_3@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movl	%ebx, %edx
	orl	%r15d, %edx
	orl	%ecx, %edx
	notl	%edx
	testl	%edx, %eax
	je	LBB0_9
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	andl	%eax, %r14d
	jne	LBB0_10
## %bb.11:
	andl	%eax, %r13d
	jne	LBB0_12
LBB0_13:
	andl	%eax, %ebx
	jne	LBB0_14
LBB0_15:
	andl	%eax, %r15d
	je	LBB0_17
LBB0_16:
	movq	_MLX5_HASH_FIELD_SEL_L4_DPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_17:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_kvzalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	orl	%r14d, %r13d
	orl	%r15d, %ebx
	orl	%r13d, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rax
	movl	%r12d, %ecx
	cmpl	(%rax,%rcx,4), %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_21
## %bb.20:
	movl	%ebx, (%rax,%rcx,4)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_mlx5e_modify_tirs_hash
LBB0_21:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%r15, %rdi
	callq	_kvfree
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_10:
	movq	_MLX5_HASH_FIELD_SEL_SRC_IP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	%eax, %r13d
	je	LBB0_13
LBB0_12:
	movq	_MLX5_HASH_FIELD_SEL_DST_IP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	andl	%eax, %ebx
	je	LBB0_15
LBB0_14:
	movq	_MLX5_HASH_FIELD_SEL_L4_SPORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %r15d
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_modify_tir_in,4,2              ## @modify_tir_in
	.comm	_MLX5E_NUM_INDIR_TIRS,4,2       ## @MLX5E_NUM_INDIR_TIRS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCP_V4_FLOW,8,3                ## @TCP_V4_FLOW
	.comm	_TCP_V6_FLOW,8,3                ## @TCP_V6_FLOW
	.comm	_UDP_V4_FLOW,8,3                ## @UDP_V4_FLOW
	.comm	_UDP_V6_FLOW,8,3                ## @UDP_V6_FLOW
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_RXH_IP_SRC,4,2                 ## @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ## @RXH_IP_DST
	.comm	_RXH_L4_B_0_1,4,2               ## @RXH_L4_B_0_1
	.comm	_RXH_L4_B_2_3,4,2               ## @RXH_L4_B_2_3
	.comm	_MLX5_HASH_FIELD_SEL_SRC_IP,4,2 ## @MLX5_HASH_FIELD_SEL_SRC_IP
	.comm	_MLX5_HASH_FIELD_SEL_DST_IP,4,2 ## @MLX5_HASH_FIELD_SEL_DST_IP
	.comm	_MLX5_HASH_FIELD_SEL_L4_SPORT,4,2 ## @MLX5_HASH_FIELD_SEL_L4_SPORT
	.comm	_MLX5_HASH_FIELD_SEL_L4_DPORT,4,2 ## @MLX5_HASH_FIELD_SEL_L4_DPORT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mlx5e_set_rss_hash_opt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_set_rss_hash_opt
_mlx5e_set_rss_hash_opt:                ; @mlx5e_set_rss_hash_opt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _modify_tir_in@GOTPAGE
Lloh1:
	ldr	x8, [x8, _modify_tir_in@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MLX5_ST_SZ_BYTES
	mov	x20, x0
	ldr	x0, [x22]
	bl	_flow_type_to_traffic_type
Lloh3:
	adrp	x8, _MLX5E_NUM_INDIR_TIRS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5E_NUM_INDIR_TIRS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	x8, [x22]
Lloh8:
	adrp	x9, _TCP_V4_FLOW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TCP_V4_FLOW@GOTPAGEOFF]
Lloh10:
	adrp	x10, _TCP_V6_FLOW@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TCP_V6_FLOW@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _UDP_V4_FLOW@GOTPAGE
Lloh15:
	ldr	x11, [x11, _UDP_V4_FLOW@GOTPAGEOFF]
Lloh16:
	adrp	x12, _UDP_V6_FLOW@GOTPAGE
Lloh17:
	ldr	x12, [x12, _UDP_V6_FLOW@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
Lloh19:
	ldr	x12, [x12]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x22, #8]
Lloh20:
	adrp	x9, _RXH_IP_SRC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RXH_IP_SRC@GOTPAGEOFF]
Lloh22:
	adrp	x10, _RXH_IP_DST@GOTPAGE
Lloh23:
	ldr	x10, [x10, _RXH_IP_DST@GOTPAGEOFF]
Lloh24:
	ldr	w12, [x9]
Lloh25:
	ldr	w11, [x10]
	orr	w9, w11, w12
Lloh26:
	adrp	x10, _RXH_L4_B_0_1@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RXH_L4_B_0_1@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w13, w9, w10
Lloh29:
	adrp	x9, _RXH_L4_B_2_3@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RXH_L4_B_2_3@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w13, w13, w9
	bics	wzr, w8, w13
	b.eq	LBB0_7
LBB0_4:
Lloh32:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x21, x0
Lloh34:
	adrp	x13, _MLX5_HASH_FIELD_SEL_SRC_IP@GOTPAGE
Lloh35:
	ldr	x13, [x13, _MLX5_HASH_FIELD_SEL_SRC_IP@GOTPAGEOFF]
Lloh36:
	ldr	w13, [x13]
	tst	w12, w8
	csel	w23, wzr, w13, eq
Lloh37:
	adrp	x12, _MLX5_HASH_FIELD_SEL_DST_IP@GOTPAGE
Lloh38:
	ldr	x12, [x12, _MLX5_HASH_FIELD_SEL_DST_IP@GOTPAGEOFF]
Lloh39:
	ldr	w12, [x12]
	tst	w11, w8
Lloh40:
	adrp	x11, _MLX5_HASH_FIELD_SEL_L4_SPORT@GOTPAGE
Lloh41:
	ldr	x11, [x11, _MLX5_HASH_FIELD_SEL_L4_SPORT@GOTPAGEOFF]
	csel	w24, wzr, w12, eq
Lloh42:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w25, wzr, w11, eq
Lloh43:
	adrp	x10, _MLX5_HASH_FIELD_SEL_L4_DPORT@GOTPAGE
Lloh44:
	ldr	x10, [x10, _MLX5_HASH_FIELD_SEL_L4_DPORT@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w26, wzr, w10, eq
Lloh46:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kvzalloc
	cbz	x0, LBB0_11
; %bb.8:
	mov	x22, x0
	orr	w8, w24, w23
	orr	w8, w8, w25
	orr	w23, w8, w26
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	w9, [x8, w21, uxtw #2]
	cmp	w23, w9
	b.eq	LBB0_10
; %bb.9:
	mov	w9, w21
	str	w23, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_mlx5e_modify_tirs_hash
LBB0_10:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	bl	_kvfree
	mov	w0, #0
	b	LBB0_6
LBB0_11:
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_modify_tir_in,4,2              ; @modify_tir_in
	.comm	_MLX5E_NUM_INDIR_TIRS,4,2       ; @MLX5E_NUM_INDIR_TIRS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCP_V4_FLOW,8,3                ; @TCP_V4_FLOW
	.comm	_TCP_V6_FLOW,8,3                ; @TCP_V6_FLOW
	.comm	_UDP_V4_FLOW,8,3                ; @UDP_V4_FLOW
	.comm	_UDP_V6_FLOW,8,3                ; @UDP_V6_FLOW
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_RXH_IP_SRC,4,2                 ; @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ; @RXH_IP_DST
	.comm	_RXH_L4_B_0_1,4,2               ; @RXH_L4_B_0_1
	.comm	_RXH_L4_B_2_3,4,2               ; @RXH_L4_B_2_3
	.comm	_MLX5_HASH_FIELD_SEL_SRC_IP,4,2 ; @MLX5_HASH_FIELD_SEL_SRC_IP
	.comm	_MLX5_HASH_FIELD_SEL_DST_IP,4,2 ; @MLX5_HASH_FIELD_SEL_DST_IP
	.comm	_MLX5_HASH_FIELD_SEL_L4_SPORT,4,2 ; @MLX5_HASH_FIELD_SEL_L4_SPORT
	.comm	_MLX5_HASH_FIELD_SEL_L4_DPORT,4,2 ; @MLX5_HASH_FIELD_SEL_L4_DPORT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mlx5e_set_rss_hash_opt
.subsections_via_symbols
