	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_create_zones
_mlx4_create_zones:                     ## @mlx4_create_zones
	.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
	movl	%r9d, %r13d
	movl	%r8d, -80(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_mlx4_priv
	movq	%rax, %rbx
	movq	_MLX4_QP_TABLE_ZONE_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mlx4_zone_allocator_create
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	leal	(,%r14,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_MLX4_QP_TABLE_ZONE_GENERAL@GOTPCREL(%rip), %r13
	movslq	(%r13), %rcx
	movq	%rax, %rbx
	leaq	(%rax,%rcx,4), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	$8388607, %edx                  ## imm = 0x7FFFFF
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_mlx4_bitmap_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_35
## %bb.5:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdi
	movslq	(%r13), %rax
	movq	%rcx, %r14
	leaq	(%rbx,%rax,4), %rsi
	movq	_MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO@GOTPCREL(%rip), %rcx
	movq	_MLX4_ZONE_USE_RR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%r14), %r9d
	addl	%eax, %r9d
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mlx4_zone_add_one
	movl	%eax, %r12d
	movl	$1, %eax
	testl	%r12d, %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_32
## %bb.6:
	movq	_MLX4_QP_TABLE_ZONE_RSS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leal	-1(%rsi), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_MLX4_QP_REGION_FW@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%esi, %r8d
	subl	-80(%rbp), %r8d                 ## 4-byte Folded Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mlx4_bitmap_init
	movl	%eax, %r12d
	movl	$1, %eax
	testl	%r12d, %r12d
	jne	LBB0_32
## %bb.7:
	movq	8(%r14), %rdi
	movq	_MLX4_QP_TABLE_ZONE_RSS@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	_MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPCREL(%rip), %rcx
	movq	_MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MLX4_ZONE_USE_RR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MLX4_QP_TABLE_RSS_ETH_PRIORITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%r14), %r9d
	addl	%eax, %r9d
	xorl	%r8d, %r8d
	callq	_mlx4_zone_add_one
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r12d
	movl	$2, %eax
LBB0_32:
	movl	%eax, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mlx4_bitmap_cleanup
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_33
## %bb.34:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_35:
	movq	%rbx, %rdi
	callq	_kfree
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_37
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_36:
	movq	8(%rbx), %rdi
	callq	_mlx4_zone_allocator_destroy
LBB0_37:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rbx), %rbx
	leaq	4(,%rbx,4), %rax
	addq	%r13, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incq	%rbx
	movl	$2, %eax
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %rbx
	jae	LBB0_38
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_MLX4_BF_QP_SKIP_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, %ebx
	negl	%ebx
	andl	%eax, %ebx
	movq	_MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_min
	movl	%eax, %r15d
	movl	(%r12), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %edi
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	subl	%eax, %r14d
	callq	_roundup_pow_of_two
	cmpl	%eax, %r14d
	jge	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_MLX4_BF_QP_SKIP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	testl	%eax, %edi
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, %eax
	decl	%eax
	testl	%eax, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	decl	%ebx
	movl	%ebx, %r12d
	orl	%eax, %r12d
	orl	%edi, %r12d
	incl	%r12d
	testl	%eax, %edi
	cmovnel	%r12d, %eax
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r13d, %edi
	subl	%eax, %edi
                                        ## kill: def $eax killed $eax killed $rax
	notl	%eax
	andl	%eax, %ebx
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_min3
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jge	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	subl	%r12d, %r13d
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_min3
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmovgl	%r12d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r14d, %r15d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_MLX4_QP_TABLE_ZONE_RSS@GOTPCREL(%rip), %rax
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	(%rax), %rax
	leaq	(%rcx,%rax,4), %rdi
	movq	_MLX4_BF_QP_SKIP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_mlx4_bitmap_alloc_range
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %ecx
	addl	%r15d, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	movl	%eax, %ebx
	callq	_roundup_pow_of_two
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_roundup_pow_of_two
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %r12d
	movl	%r15d, %edi
	callq	_roundup_pow_of_two
	subl	%r15d, %eax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_mlx4_bitmap_init
	movl	%ebx, %r8d
	movl	%eax, %r12d
	jmp	LBB0_28
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mlx4_bitmap_init
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mlx4_bitmap_alloc_range
	movl	-80(%rbp), %r8d                 ## 4-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	testl	%r12d, %r12d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MLX4_ZONE_USE_RR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	8(%r14), %rdi
	movq	_MLX4_QP_TABLE_RAW_ETH_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r14), %r9d
	addl	%ebx, %r9d
	movq	%r13, %r15
	movq	%r14, %r13
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mlx4_zone_add_one
	movl	%eax, %r12d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	incq	%rbx
	addq	$4, %r14
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	movq	%r15, %r13
	testl	%r12d, %r12d
	je	LBB0_10
	jmp	LBB0_32
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_38
## %bb.31:
	negl	%r12d
	jmp	LBB0_32
LBB0_38:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_QP_TABLE_ZONE_NUM,4,2     ## @MLX4_QP_TABLE_ZONE_NUM
	.comm	_MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP,4,2 ## @MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_MLX4_QP_TABLE_ZONE_GENERAL,4,2 ## @MLX4_QP_TABLE_ZONE_GENERAL
	.comm	_MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO,4,2 ## @MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO
	.comm	_MLX4_ZONE_USE_RR,4,2           ## @MLX4_ZONE_USE_RR
	.comm	_MLX4_QP_TABLE_ZONE_RSS,4,2     ## @MLX4_QP_TABLE_ZONE_RSS
	.comm	_MLX4_QP_REGION_FW,8,3          ## @MLX4_QP_REGION_FW
	.comm	_MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO,4,2 ## @MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO
	.comm	_MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO,4,2 ## @MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO
	.comm	_MLX4_QP_TABLE_RSS_ETH_PRIORITY,4,2 ## @MLX4_QP_TABLE_RSS_ETH_PRIORITY
	.comm	_MLX4_BF_QP_SKIP_MASK,4,2       ## @MLX4_BF_QP_SKIP_MASK
	.comm	_MLX4_QP_TABLE_RAW_ETH_SIZE,4,2 ## @MLX4_QP_TABLE_RAW_ETH_SIZE
	.comm	_MLX4_QP_TABLE_RAW_ETH_PRIORITY,4,2 ## @MLX4_QP_TABLE_RAW_ETH_PRIORITY
	.no_dead_strip	_mlx4_create_zones
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_create_zones
_mlx4_create_zones:                     ; @mlx4_create_zones
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x25, x3
	mov	x24, x2
	mov	x26, x1
	mov	x23, x0
	bl	_mlx4_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _MLX4_QP_TABLE_ZONE_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_QP_TABLE_ZONE_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
Lloh3:
	adrp	x8, _MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_mlx4_zone_allocator_create
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.1:
	lsl	w0, w28, #2
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.2:
	mov	x20, x0
Lloh9:
	adrp	x27, _MLX4_QP_TABLE_ZONE_GENERAL@GOTPAGE
Lloh10:
	ldr	x27, [x27, _MLX4_QP_TABLE_ZONE_GENERAL@GOTPAGEOFF]
	ldrsw	x8, [x27]
	add	x0, x0, x8, lsl #2
	ldr	w1, [x23]
	mov	w2, #8388607
	mov	x3, x26
	mov	x4, x24
	bl	_mlx4_bitmap_init
	mov	x24, x0
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	x0, [x19, #8]
	ldrsw	x8, [x27]
	add	x1, x20, x8, lsl #2
Lloh11:
	adrp	x9, _MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x26, _MLX4_ZONE_USE_RR@GOTPAGE
Lloh15:
	ldr	x26, [x26, _MLX4_ZONE_USE_RR@GOTPAGEOFF]
	ldr	w10, [x26]
	orr	w2, w10, w9
	ldr	w9, [x19]
	add	w5, w9, w8
	mov	w3, #0
	mov	w4, #0
	bl	_mlx4_zone_add_one
	cbnz	w0, LBB0_5
; %bb.4:
Lloh16:
	adrp	x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	add	x0, x20, x8, lsl #2
	sub	w2, w25, #1
	ldr	x8, [x23, #8]
Lloh19:
	adrp	x27, _MLX4_QP_REGION_FW@GOTPAGE
Lloh20:
	ldr	x27, [x27, _MLX4_QP_REGION_FW@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	w3, [x8, x9, lsl #2]
	sub	w4, w25, w22
	mov	x1, x25
	bl	_mlx4_bitmap_init
	cbz	w0, LBB0_13
LBB0_5:
	mov	x24, x0
	mov	w8, #1
LBB0_6:
	mov	w22, w8
	mov	x21, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_mlx4_bitmap_cleanup
	add	x21, x21, #4
	subs	x22, x22, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x20
	bl	_kfree
	b	LBB0_11
LBB0_9:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_12
LBB0_10:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_11:
	ldr	x0, [x19, #8]
	bl	_mlx4_zone_allocator_destroy
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	mov	x25, x27
	ldr	x0, [x19, #8]
Lloh27:
	adrp	x27, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGE
Lloh28:
	ldr	x27, [x27, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGEOFF]
	ldrsw	x8, [x27]
	add	x1, x20, x8, lsl #2
Lloh29:
	adrp	x9, _MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x26]
	orr	w2, w9, w10
Lloh35:
	adrp	x9, _MLX4_QP_TABLE_RSS_ETH_PRIORITY@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MLX4_QP_TABLE_RSS_ETH_PRIORITY@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x9]
	ldr	w9, [x19]
	add	w5, w9, w8
	mov	w4, #0
	bl	_mlx4_zone_add_one
	cbz	w0, LBB0_15
; %bb.14:
	mov	x24, x0
	mov	w8, #2
	b	LBB0_6
LBB0_15:
	mov	x26, #0
	ldr	x8, [x23, #8]
	ldr	x9, [x25]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldrsw	x8, [x27]
	add	x10, x8, #1
	add	x9, x20, x8, lsl #2
	add	x23, x9, #4
	add	w8, w8, #1
	stp	x8, x10, [sp, #8]               ; 16-byte Folded Spill
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x8, x26
	cmp	x8, x28
	b.hs	LBB0_36
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh38:
	adrp	x27, _MLX4_BF_QP_SKIP_MASK@GOTPAGE
Lloh39:
	ldr	x27, [x27, _MLX4_BF_QP_SKIP_MASK@GOTPAGEOFF]
	ldr	w8, [x27]
	neg	w9, w8
	and	w24, w8, w9
Lloh40:
	adrp	x8, _MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_min
	mov	x25, x0
	ldr	w0, [x27]
	ldr	w11, [sp, #28]                  ; 4-byte Folded Reload
	tst	w0, w11
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w27, w21, w11
	bl	_roundup_pow_of_two
	cmp	w27, w0
	b.ge	LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh43:
	adrp	x8, _MLX4_BF_QP_SKIP_MASK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MLX4_BF_QP_SKIP_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	w11, [sp, #28]                  ; 4-byte Folded Reload
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	ands	w8, w0, w11
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w9, w11, w25
	sub	w9, w9, #1
	tst	w0, w9
	b.eq	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	w9, w24, #1
	orr	w10, w9, w11
	orr	w27, w10, w0
	cmp	w8, #0
	csinc	w11, w11, w27, eq
	cmp	w11, w21
	str	w11, [sp, #28]                  ; 4-byte Folded Spill
	b.gt	LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w0, w21, w11
	bic	w1, w9, w11
	str	w1, [sp, #4]                    ; 4-byte Folded Spill
	mov	x2, x25
	bl	_min3
	mov	x24, x0
	cmp	w0, w25
Lloh46:
	adrp	x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGEOFF]
	b.ge	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w27, w27, #1
	sub	w0, w21, w27
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	mov	x2, x25
	bl	_min3
Lloh48:
	adrp	x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGEOFF]
	cmp	w0, w24
	csel	w24, w0, w24, gt
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	csel	w9, w27, w9, gt
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x24, x25
Lloh50:
	adrp	x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MLX4_QP_TABLE_ZONE_RSS@GOTPAGEOFF]
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	w24, #1
	b.lt	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrsw	x8, [x8]
	add	x0, x20, x8, lsl #2
Lloh52:
	adrp	x8, _MLX4_BF_QP_SKIP_MASK@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MLX4_BF_QP_SKIP_MASK@GOTPAGEOFF]
Lloh54:
	ldr	w3, [x8]
	mov	x1, x24
	mov	w2, #1
	bl	_mlx4_bitmap_alloc_range
	cmn	w0, #1
	b.eq	LBB0_34
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x25, x0
	add	w8, w0, w24
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x24
	bl	_roundup_pow_of_two
	mov	x27, x0
	mov	x0, x24
	bl	_roundup_pow_of_two
	sub	w8, w0, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x24
	bl	_roundup_pow_of_two
	sub	w4, w0, w24
	mov	x0, x23
	mov	x1, x27
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	mov	w3, #0
	bl	_mlx4_bitmap_init
	mov	x24, x0
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh55:
	adrp	x8, _MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MLX4_QP_TABLE_RAW_ETH_SIZE@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	sub	w2, w8, #1
	mov	x0, x23
	mov	w1, #1
	mov	w3, #0
	mov	w4, #0
	bl	_mlx4_bitmap_init
	mov	x24, x0
	mov	x0, x23
	mov	w1, #1
	mov	w2, #1
	mov	w3, #0
	bl	_mlx4_bitmap_alloc_range
	mov	x25, x22
LBB0_30:                                ;   in Loop: Header=BB0_16 Depth=1
	cbnz	w24, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x19, #8]
Lloh58:
	adrp	x8, _MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPAGE
Lloh62:
	ldr	x9, [x9, _MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh64:
	adrp	x9, _MLX4_ZONE_USE_RR@GOTPAGE
Lloh65:
	ldr	x9, [x9, _MLX4_ZONE_USE_RR@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh67:
	adrp	x8, _MLX4_QP_TABLE_RAW_ETH_PRIORITY@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MLX4_QP_TABLE_RAW_ETH_PRIORITY@GOTPAGEOFF]
Lloh69:
	ldr	w3, [x8]
	ldr	w8, [x19]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	w9, w9, w26
	add	w5, w9, w8
	mov	x1, x23
	mov	x4, x25
	bl	_mlx4_zone_add_one
	add	x26, x26, #1
	add	x23, x23, #4
	cbz	w0, LBB0_16
; %bb.32:
	mov	x24, x0
LBB0_33:
	add	w8, w26, #2
	b	LBB0_6
LBB0_34:
Lloh70:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cbz	w8, LBB0_36
; %bb.35:
	neg	w24, w8
	add	x8, x26, #2
	b	LBB0_6
LBB0_36:
	mov	w24, #0
	str	x20, [x19, #16]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_QP_TABLE_ZONE_NUM,4,2     ; @MLX4_QP_TABLE_ZONE_NUM
	.comm	_MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP,4,2 ; @MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MLX4_QP_TABLE_ZONE_GENERAL,4,2 ; @MLX4_QP_TABLE_ZONE_GENERAL
	.comm	_MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO,4,2 ; @MLX4_ZONE_FALLBACK_TO_HIGHER_PRIO
	.comm	_MLX4_ZONE_USE_RR,4,2           ; @MLX4_ZONE_USE_RR
	.comm	_MLX4_QP_TABLE_ZONE_RSS,4,2     ; @MLX4_QP_TABLE_ZONE_RSS
	.comm	_MLX4_QP_REGION_FW,8,3          ; @MLX4_QP_REGION_FW
	.comm	_MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO,4,2 ; @MLX4_ZONE_ALLOW_ALLOC_FROM_LOWER_PRIO
	.comm	_MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO,4,2 ; @MLX4_ZONE_ALLOW_ALLOC_FROM_EQ_PRIO
	.comm	_MLX4_QP_TABLE_RSS_ETH_PRIORITY,4,2 ; @MLX4_QP_TABLE_RSS_ETH_PRIORITY
	.comm	_MLX4_BF_QP_SKIP_MASK,4,2       ; @MLX4_BF_QP_SKIP_MASK
	.comm	_MLX4_QP_TABLE_RAW_ETH_SIZE,4,2 ; @MLX4_QP_TABLE_RAW_ETH_SIZE
	.comm	_MLX4_QP_TABLE_RAW_ETH_PRIORITY,4,2 ; @MLX4_QP_TABLE_RAW_ETH_PRIORITY
	.no_dead_strip	_mlx4_create_zones
.subsections_via_symbols
