	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_rule_handle_action_stes
_dr_rule_handle_action_stes:            ## @dr_rule_handle_action_stes
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r15d
	xorl	%r12d, %r12d
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	cmpl	%r9d, %r15d
	jge	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	leal	-1(%r15), %ecx
	imull	%eax, %ecx
	imull	%r15d, %eax
	cmpl	$1, %r15d
	cltq
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rbx
	movslq	%ecx, %rax
	leaq	(%rdx,%rax,4), %r12
	cmovbq	%rbx, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_dr_rule_create_collision_htbl
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_mlx5dr_ste_get
	movq	%r14, %rbx
	addq	$4, %rbx
	movq	%r14, %rdi
	callq	_mlx5dr_ste_get_miss_list
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_list_add_tail
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_hit_addr_by_next_htbl
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_dr_rule_add_member
	testl	%eax, %eax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$0, (%rsp)
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_mlx5dr_send_fill_and_append_ste_send_info
	incl	%r15d
	cmpl	%r15d, -52(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_2
	jmp	LBB0_8
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_mlx5dr_dbg
	movq	%r13, %rdi
	callq	_kfree
LBB0_6:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_mlx5dr_ste_put
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_ACTION_MAX_STES,4,2         ## @DR_ACTION_MAX_STES
	.comm	_DR_STE_SIZE,4,2                ## @DR_STE_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed adding rule member\n"

	.no_dead_strip	_dr_rule_handle_action_stes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_rule_handle_action_stes
_dr_rule_handle_action_stes:            ; @dr_rule_handle_action_stes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x1]
	ldr	w20, [x21]
	cmp	w20, w5
	b.ge	LBB0_6
; %bb.1:
	mov	x24, x5
	mov	x22, x4
	mov	x28, x2
	ldr	x8, [x0]
	stp	x1, x8, [sp]                    ; 16-byte Folded Spill
Lloh0:
	adrp	x27, _DR_STE_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _DR_STE_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x27
	ldr	w8, [x27]
	mul	w9, w8, w20
	add	x26, x22, w9, sxtw #2
	sub	w9, w20, #1
	mul	w8, w8, w9
	add	x8, x22, w8, sxtw #2
	cmp	w20, #0
	csel	x27, x26, x8, eq
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	mov	x2, x26
	bl	_dr_rule_create_collision_htbl
	cbz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	mov	x19, x28
	bl	_mlx5dr_ste_get
	add	x28, x25, #4
	mov	x0, x25
	bl	_mlx5dr_ste_get_miss_list
	mov	x1, x0
	mov	x0, x28
	bl	_list_add_tail
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
	ldr	w1, [x25]
	mov	x0, x27
	bl	_mlx5dr_ste_set_hit_addr_by_next_htbl
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x25
	bl	_dr_rule_add_member
	cbnz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x23
	ldr	w1, [x23]
	mov	x0, x25
	mov	w2, #0
	mov	x3, x26
	mov	x4, x28
	mov	x28, x19
	mov	x5, x19
	mov	w6, #0
	bl	_mlx5dr_send_fill_and_append_ste_send_info
	add	w20, w20, #1
	cmp	w24, w20
	b.ne	LBB0_2
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5dr_dbg
	mov	x0, x28
	bl	_kfree
LBB0_8:
	mov	x0, x25
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x21
	bl	_mlx5dr_ste_put
LBB0_9:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_ACTION_MAX_STES,4,2         ; @DR_ACTION_MAX_STES
	.comm	_DR_STE_SIZE,4,2                ; @DR_STE_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed adding rule member\n"

	.no_dead_strip	_dr_rule_handle_action_stes
.subsections_via_symbols
