	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_table_init_nic
_dr_table_init_nic:                     ## @dr_table_init_nic
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rsi), %r15
	movl	(%r15), %eax
	movl	%eax, 4(%rsi)
	movl	(%rdi), %edi
	movq	_DR_CHUNK_SIZE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MLX5DR_STE_LU_TYPE_DONT_CARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_mlx5dr_ste_htbl_alloc
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_CONNECT_MISS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -36(%rbp)
	movl	(%r15), %ecx
	movl	%ecx, -40(%rbp)
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	$1, %r8d
	callq	_mlx5dr_ste_htbl_init_and_postsend
	movl	(%r14), %edi
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	callq	_mlx5dr_ste_htbl_free
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	callq	_mlx5dr_htbl_get
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_CHUNK_SIZE_1,4,2            ## @DR_CHUNK_SIZE_1
	.comm	_MLX5DR_STE_LU_TYPE_DONT_CARE,4,2 ## @MLX5DR_STE_LU_TYPE_DONT_CARE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONNECT_MISS,4,2               ## @CONNECT_MISS
	.no_dead_strip	_dr_table_init_nic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_table_init_nic
_dr_table_init_nic:                     ; @dr_table_init_nic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	ldr	w8, [x21]
	str	w8, [x1, #4]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _DR_CHUNK_SIZE_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_CHUNK_SIZE_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MLX5DR_STE_LU_TYPE_DONT_CARE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5DR_STE_LU_TYPE_DONT_CARE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_mlx5dr_ste_htbl_alloc
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
	mov	x2, x0
Lloh6:
	adrp	x8, _CONNECT_MISS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONNECT_MISS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21]
	stp	w9, w8, [sp, #8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w4, #1
	bl	_mlx5dr_ste_htbl_init_and_postsend
	mov	x20, x0
	ldr	w0, [x19]
	cbz	w20, LBB0_4
; %bb.2:
	bl	_mlx5dr_ste_htbl_free
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_4:
	bl	_mlx5dr_htbl_get
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_CHUNK_SIZE_1,4,2            ; @DR_CHUNK_SIZE_1
	.comm	_MLX5DR_STE_LU_TYPE_DONT_CARE,4,2 ; @MLX5DR_STE_LU_TYPE_DONT_CARE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONNECT_MISS,4,2               ; @CONNECT_MISS
	.no_dead_strip	_dr_table_init_nic
.subsections_via_symbols
