	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_rule_handle_empty_entry
_dr_rule_handle_empty_entry:            ## @dr_rule_handle_empty_entry
	.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	%r9, %r15
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_mlx5dr_htbl_get
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_list_add_tail
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mlx5dr_ste_set_miss_addr
	movl	%ebx, 4(%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movq	_DR_CHUNK_SIZE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_mlx5dr_ste_create_next_htbl
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_mlx5dr_dbg
	movq	%r13, %rdi
	callq	_kfree
LBB0_3:
	movq	%r14, %rdi
	callq	_list_del_init
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5dr_htbl_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	24(%rbp), %r9
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_mlx5dr_send_fill_and_append_ste_send_info
LBB0_4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DR_CHUNK_SIZE_1,4,2            ## @DR_CHUNK_SIZE_1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed allocating table\n"

	.comm	_DR_STE_SIZE,4,2                ## @DR_STE_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_dr_rule_handle_empty_entry
.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_empty_entry
_dr_rule_handle_empty_entry:            ; @dr_rule_handle_empty_entry
	.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	x21, x7
	mov	x24, x6
	mov	x22, x5
	mov	x26, x4
	mov	x19, x3
	mov	x20, x2
	mov	x25, x1
	mov	x23, x0
	mov	x0, x2
	bl	_mlx5dr_htbl_get
	mov	x0, x19
	mov	x1, x24
	bl	_list_add_tail
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mlx5dr_ste_set_miss_addr
	str	w26, [x19, #4]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
Lloh3:
	adrp	x8, _DR_CHUNK_SIZE_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DR_CHUNK_SIZE_1@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x19
	mov	x3, x22
	bl	_mlx5dr_ste_create_next_htbl
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x23]
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5dr_dbg
	mov	x0, x24
	bl	_kfree
LBB0_3:
	mov	x0, x19
	bl	_list_del_init
	mov	x0, x20
	bl	_mlx5dr_htbl_put
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh11:
	adrp	x8, _DR_STE_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DR_STE_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x22
	mov	x4, x24
	mov	x5, x21
	mov	w6, #0
	bl	_mlx5dr_send_fill_and_append_ste_send_info
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DR_CHUNK_SIZE_1,4,2            ; @DR_CHUNK_SIZE_1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed allocating table\n"

	.comm	_DR_STE_SIZE,4,2                ; @DR_STE_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_dr_rule_handle_empty_entry
.subsections_via_symbols
