	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_hw_set_soft_resc_size
_qed_hw_set_soft_resc_size:             ## @qed_hw_set_soft_resc_size
	.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	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_QED_IS_AH
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_QED_MAX_RESC@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-128(%rbx), %ecx
	cmpl	$3, %ecx
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPCREL(%rip), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NUM_OF_GLOBAL_QUEUES@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_NUM_LL2_RX_QUEUES@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BDQ_NUM_RESOURCES@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	leaq	-56(%rbp), %r8
	callq	___qed_hw_set_soft_resc_size
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	movq	_FW_MSG_CODE_UNSUPPORTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	jmp	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_QED_MAX_RESC,4,2               ## @QED_MAX_RESC
	.comm	_MAX_NUM_LL2_RX_QUEUES,8,3      ## @MAX_NUM_LL2_RX_QUEUES
	.comm	_NUM_OF_GLOBAL_QUEUES,8,3       ## @NUM_OF_GLOBAL_QUEUES
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_K2,8,3 ## @RDMA_NUM_STATISTIC_COUNTERS_K2
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_BB,8,3 ## @RDMA_NUM_STATISTIC_COUNTERS_BB
	.comm	_BDQ_NUM_RESOURCES,8,3          ## @BDQ_NUM_RESOURCES
	.comm	_FW_MSG_CODE_UNSUPPORTED,8,3    ## @FW_MSG_CODE_UNSUPPORTED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qed_hw_set_soft_resc_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_hw_set_soft_resc_size
_qed_hw_set_soft_resc_size:             ; @qed_hw_set_soft_resc_size
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_QED_IS_AH
Lloh0:
	adrp	x23, _QED_MAX_RESC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _QED_MAX_RESC@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x21, x0
	mov	w22, #0
Lloh2:
	adrp	x26, lJTI0_0@PAGE
Lloh3:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x27, _FW_MSG_CODE_UNSUPPORTED@GOTPAGE
Lloh5:
	ldr	x27, [x27, _FW_MSG_CODE_UNSUPPORTED@GOTPAGEOFF]
Lloh6:
	adrp	x28, _NUM_OF_GLOBAL_QUEUES@GOTPAGE
Lloh7:
	ldr	x28, [x28, _NUM_OF_GLOBAL_QUEUES@GOTPAGEOFF]
Lloh8:
	adrp	x24, _MAX_NUM_LL2_RX_QUEUES@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MAX_NUM_LL2_RX_QUEUES@GOTPAGEOFF]
Lloh10:
	adrp	x25, _BDQ_NUM_RESOURCES@GOTPAGE
Lloh11:
	ldr	x25, [x25, _BDQ_NUM_RESOURCES@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w22, #128
	cmp	w9, #3
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x8, LBB0_5
	ldrb	w10, [x26, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, #0
Lloh12:
	adrp	x8, _RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPAGEOFF]
Lloh14:
	adrp	x9, _RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	x3, [x8]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x3, [x28]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x3, [x24]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x3, [x25]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	___qed_hw_set_soft_resc_size
	cbnz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	b	LBB0_2
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_QED_MAX_RESC,4,2               ; @QED_MAX_RESC
	.comm	_MAX_NUM_LL2_RX_QUEUES,8,3      ; @MAX_NUM_LL2_RX_QUEUES
	.comm	_NUM_OF_GLOBAL_QUEUES,8,3       ; @NUM_OF_GLOBAL_QUEUES
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_K2,8,3 ; @RDMA_NUM_STATISTIC_COUNTERS_K2
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_BB,8,3 ; @RDMA_NUM_STATISTIC_COUNTERS_BB
	.comm	_BDQ_NUM_RESOURCES,8,3          ; @BDQ_NUM_RESOURCES
	.comm	_FW_MSG_CODE_UNSUPPORTED,8,3    ; @FW_MSG_CODE_UNSUPPORTED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qed_hw_set_soft_resc_size
.subsections_via_symbols
