	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_rule_handle_ste_branch
_dr_rule_handle_ste_branch:             ## @dr_rule_handle_ste_branch
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r8, %rdi
	movq	%rcx, %rsi
	callq	_mlx5dr_ste_calc_hash_index
	movl	%eax, %r12d
	movq	16(%r14), %rax
	movslq	%r12d, %r15
	shlq	$2, %r15
	movq	(%rax), %rbx
	addq	%r15, %rbx
	addq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_mlx5dr_ste_not_used_ste
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_2:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%r13
	pushq	%rbx
	callq	_dr_rule_handle_empty_entry
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	xorl	%r15d, %r15d
LBB0_21:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r12d, -92(%rbp)                ## 4-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_dr_rule_find_ste_in_miss_list
	testq	%rax, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_8
## %bb.5:
	movq	%r13, %rbx
	movq	%rax, %r13
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mlx5dr_ste_is_last_in_rule
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mlx5dr_dbg
	movq	%rbx, %r13
	movq	-104(%rbp), %rbx                ## 8-byte Reload
LBB0_8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	_dr_rule_need_enlarge_hash
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	16(%rbp), %rax
	movq	%r14, (%rax)
	movq	%r14, %rdi
	callq	_mlx5dr_htbl_get
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_dr_rule_rehash
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_mlx5dr_htbl_put
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5dr_info
	movq	%r14, %r12
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_mlx5dr_ste_calc_hash_index
	movl	%eax, %r14d
	movq	16(%r12), %rax
	movslq	%r14d, %r15
	shlq	$2, %r15
	movq	(%rax), %rbx
	addq	%r15, %rbx
	addq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_mlx5dr_ste_not_used_ste
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r12, %r14
	jmp	LBB0_2
LBB0_9:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_19
LBB0_6:
	movq	%r13, %r15
	jmp	LBB0_21
LBB0_14:
	movl	%r14d, %r12d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_dr_rule_find_ste_in_miss_list
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	%rax, %r14
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mlx5dr_ste_is_last_in_rule
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mlx5dr_dbg
LBB0_18:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_19:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_dr_rule_handle_collision
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_mlx5dr_dbg
	jmp	LBB0_21
LBB0_16:
	movq	%r14, %r15
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Duplicate rule inserted\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed creating rehash table, htbl-log_size: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed adding collision entry, index: %d\n"

	.no_dead_strip	_dr_rule_handle_ste_branch
.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_ste_branch
_dr_rule_handle_ste_branch:             ; @dr_rule_handle_ste_branch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w5, [sp, #60]                   ; 4-byte Folded Spill
	mov	x20, x4
	mov	x27, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x8, [x8]
	ldr	x8, [x8]
	stp	x6, x8, [sp, #32]               ; 16-byte Folded Spill
	ldr	x8, [x1]
	mov	x23, x8
	ldr	x8, [x8]
	ldr	x28, [x8]
	mov	x0, x4
	mov	x1, x3
	bl	_mlx5dr_ste_calc_hash_index
	mov	x24, x0
	ldp	x9, x8, [x27, #8]
	ldr	x8, [x8]
	sbfiz	x10, x24, #2, #32
	add	x26, x8, x10
	add	x25, x9, x10
	mov	x0, x25
	bl	_mlx5dr_ste_not_used_ste
	cbz	x0, LBB0_4
LBB0_1:
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x27
	mov	x3, x25
	ldr	w4, [sp, #60]                   ; 4-byte Folded Reload
	mov	x5, x20
	mov	x6, x26
	mov	x7, x22
	bl	_dr_rule_handle_empty_entry
	cbz	x0, LBB0_3
; %bb.2:
	mov	x25, #0
LBB0_3:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	stp	x28, x22, [sp, #16]             ; 16-byte Folded Spill
	mov	x28, x26
	mov	x0, x26
	mov	x1, x20
	bl	_dr_rule_find_ste_in_miss_list
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_7
; %bb.5:
	mov	x22, x0
	mov	x0, x23
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	bl	_mlx5dr_ste_is_last_in_rule
	cbz	w0, LBB0_13
; %bb.6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_mlx5dr_dbg
LBB0_7:
	mov	x0, x27
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	bl	_dr_rule_need_enlarge_hash
	cbz	x0, LBB0_12
; %bb.8:
	str	x27, [x26]
	mov	x0, x27
	bl	_mlx5dr_htbl_get
	mov	x0, x19
	mov	x1, x21
	mov	x2, x27
	ldr	w3, [sp, #60]                   ; 4-byte Folded Reload
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	mov	x4, x22
	bl	_dr_rule_rehash
	mov	x21, x0
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x27
	bl	_mlx5dr_htbl_put
	ldr	w2, [x27]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_mlx5dr_info
	mov	x21, x27
LBB0_10:
	mov	x0, x20
	mov	x1, x21
	bl	_mlx5dr_ste_calc_hash_index
	mov	x19, x0
	ldp	x9, x8, [x21, #8]
	ldr	x8, [x8]
	sbfiz	x10, x19, #2, #32
	add	x26, x8, x10
	add	x25, x9, x10
	mov	x0, x25
	bl	_mlx5dr_ste_not_used_ste
	cbz	x0, LBB0_14
; %bb.11:
	mov	x27, x21
	b	LBB0_1
LBB0_12:
	mov	x19, x24
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	ldp	x24, x0, [sp, #40]              ; 16-byte Folded Reload
	mov	x26, x28
	b	LBB0_18
LBB0_13:
	mov	x25, x22
	b	LBB0_3
LBB0_14:
	mov	x0, x26
	mov	x1, x20
	bl	_dr_rule_find_ste_in_miss_list
	cbz	x0, LBB0_17
; %bb.15:
	mov	x21, x0
	mov	x0, x23
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	bl	_mlx5dr_ste_is_last_in_rule
	cbz	w0, LBB0_20
; %bb.16:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_mlx5dr_dbg
LBB0_17:
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
LBB0_18:
	mov	x1, x23
	mov	x2, x25
	mov	x3, x20
	mov	x4, x26
	mov	x5, x22
	bl	_dr_rule_handle_collision
	mov	x25, x0
	cbnz	x0, LBB0_3
; %bb.19:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_mlx5dr_dbg
	b	LBB0_3
LBB0_20:
	mov	x25, x21
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Duplicate rule inserted\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed creating rehash table, htbl-log_size: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed adding collision entry, index: %d\n"

	.no_dead_strip	_dr_rule_handle_ste_branch
.subsections_via_symbols
