	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_hw_get_dflt_resc
_qed_hw_get_dflt_resc:                  ## @qed_hw_get_dflt_resc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	(%rdi), %r13d
	movq	16(%rdi), %rdi
	callq	_QED_IS_AH
	addl	$-128, %ebx
	cmpl	$13, %ebx
	ja	LBB0_15
## %bb.1:
	movl	%eax, %ecx
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	_ETH_NUM_MAC_FILTERS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_3:
	movq	_NUM_OF_GLOBAL_QUEUES@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_4:
	testl	%ecx, %ecx
	jne	LBB0_22
## %bb.5:
	movq	_MAX_NUM_VPORTS_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_6:
	testl	%ecx, %ecx
	jne	LBB0_23
## %bb.7:
	movq	_ETH_RSS_ENGINE_NUM_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_8:
	movq	_MAX_QM_GLOBAL_RLS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_9:
	testl	%ecx, %ecx
	jne	LBB0_24
## %bb.10:
	movq	_MAX_QM_TX_QUEUES_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_11:
	testl	%ecx, %ecx
	jne	LBB0_26
## %bb.12:
	movq	_MAX_NUM_L2_QUEUES_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_13:
	testl	%ecx, %ecx
	jne	LBB0_27
## %bb.14:
	movq	_PXP_NUM_ILT_RECORDS_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_33
LBB0_16:
	testl	%ecx, %ecx
	jne	LBB0_28
## %bb.17:
	movq	_RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_18:
	movq	_MAX_NUM_LL2_RX_QUEUES@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_19:
	movl	12(%r12), %edx
	movq	_QED_PCI_ISCSI@GOTPCREL(%rip), %rax
	movq	_QED_PCI_FCOE@GOTPCREL(%rip), %rcx
	cmpl	(%rax), %edx
	je	LBB0_34
## %bb.20:
	cmpl	(%rcx), %edx
	je	LBB0_34
## %bb.21:
	movl	$0, (%r15)
	movl	$0, (%r14)
	jmp	LBB0_32
LBB0_22:
	movq	_MAX_NUM_VPORTS_K2@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_23:
	movq	_ETH_RSS_ENGINE_NUM_K2@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_24:
	movq	_MAX_QM_TX_QUEUES_K2@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	cltd
	idivl	%r13d
	andl	$-8, %eax
	jmp	LBB0_30
LBB0_26:
	movq	_MAX_NUM_L2_QUEUES_K2@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_27:
	movq	_PXP_NUM_ILT_RECORDS_K2@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_28:
	movq	_RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %eax
	cltd
	idivl	%r13d
LBB0_30:
	movl	%eax, (%r15)
	imull	8(%r12), %eax
LBB0_31:
	movl	%eax, (%r14)
LBB0_32:
	xorl	%eax, %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movl	$1, (%r15)
	movq	16(%r12), %rdx
	cmpl	$4, (%rdx)
	je	LBB0_36
## %bb.35:
	movl	12(%r12), %edx
	cmpl	(%rax), %edx
	jne	LBB0_37
LBB0_36:
	movl	4(%r12), %eax
	jmp	LBB0_31
LBB0_37:
	xorl	%eax, %eax
	cmpl	(%rcx), %edx
	jne	LBB0_33
## %bb.38:
	movl	4(%r12), %ecx
	addl	$2, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_33
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_30
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_18
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_MAX_NUM_L2_QUEUES_K2,4,2       ## @MAX_NUM_L2_QUEUES_K2
	.comm	_MAX_NUM_L2_QUEUES_BB,4,2       ## @MAX_NUM_L2_QUEUES_BB
	.comm	_MAX_NUM_VPORTS_K2,4,2          ## @MAX_NUM_VPORTS_K2
	.comm	_MAX_NUM_VPORTS_BB,4,2          ## @MAX_NUM_VPORTS_BB
	.comm	_ETH_RSS_ENGINE_NUM_K2,4,2      ## @ETH_RSS_ENGINE_NUM_K2
	.comm	_ETH_RSS_ENGINE_NUM_BB,4,2      ## @ETH_RSS_ENGINE_NUM_BB
	.comm	_MAX_QM_TX_QUEUES_K2,4,2        ## @MAX_QM_TX_QUEUES_K2
	.comm	_MAX_QM_TX_QUEUES_BB,4,2        ## @MAX_QM_TX_QUEUES_BB
	.comm	_MAX_QM_GLOBAL_RLS,4,2          ## @MAX_QM_GLOBAL_RLS
	.comm	_ETH_NUM_MAC_FILTERS,4,2        ## @ETH_NUM_MAC_FILTERS
	.comm	_PXP_NUM_ILT_RECORDS_K2,4,2     ## @PXP_NUM_ILT_RECORDS_K2
	.comm	_PXP_NUM_ILT_RECORDS_BB,4,2     ## @PXP_NUM_ILT_RECORDS_BB
	.comm	_MAX_NUM_LL2_RX_QUEUES,4,2      ## @MAX_NUM_LL2_RX_QUEUES
	.comm	_NUM_OF_GLOBAL_QUEUES,4,2       ## @NUM_OF_GLOBAL_QUEUES
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_K2,4,2 ## @RDMA_NUM_STATISTIC_COUNTERS_K2
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_BB,4,2 ## @RDMA_NUM_STATISTIC_COUNTERS_BB
	.comm	_QED_PCI_ISCSI,4,2              ## @QED_PCI_ISCSI
	.comm	_QED_PCI_FCOE,4,2               ## @QED_PCI_FCOE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qed_hw_get_dflt_resc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_hw_get_dflt_resc
_qed_hw_get_dflt_resc:                  ; @qed_hw_get_dflt_resc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w23, [x0]
	ldr	x0, [x0, #16]
	bl	_QED_IS_AH
	sub	w9, w22, #128
	cmp	w9, #13
	b.hi	LBB0_16
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x8, _ETH_NUM_MAC_FILTERS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_NUM_MAC_FILTERS@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh4:
	adrp	x8, _NUM_OF_GLOBAL_QUEUES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NUM_OF_GLOBAL_QUEUES@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
Lloh6:
	adrp	x8, _MAX_NUM_VPORTS_K2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_NUM_VPORTS_K2@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MAX_NUM_VPORTS_BB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_NUM_VPORTS_BB@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
Lloh10:
	adrp	x8, _ETH_RSS_ENGINE_NUM_K2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_RSS_ENGINE_NUM_K2@GOTPAGEOFF]
Lloh12:
	adrp	x9, _ETH_RSS_ENGINE_NUM_BB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_RSS_ENGINE_NUM_BB@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh14:
	adrp	x8, _MAX_QM_GLOBAL_RLS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_QM_GLOBAL_RLS@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh16:
	adrp	x8, _RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RDMA_NUM_STATISTIC_COUNTERS_K2@GOTPAGEOFF]
Lloh18:
	adrp	x9, _RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RDMA_NUM_STATISTIC_COUNTERS_BB@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh20:
	adrp	x8, _MAX_QM_TX_QUEUES_K2@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_QM_TX_QUEUES_K2@GOTPAGEOFF]
Lloh22:
	adrp	x9, _MAX_QM_TX_QUEUES_BB@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MAX_QM_TX_QUEUES_BB@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	sdiv	w8, w8, w23
	and	w8, w8, #0xfffffff8
	b	LBB0_13
LBB0_9:
Lloh24:
	adrp	x8, _MAX_NUM_L2_QUEUES_K2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAX_NUM_L2_QUEUES_K2@GOTPAGEOFF]
Lloh26:
	adrp	x9, _MAX_NUM_L2_QUEUES_BB@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MAX_NUM_L2_QUEUES_BB@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh28:
	adrp	x8, _PXP_NUM_ILT_RECORDS_K2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PXP_NUM_ILT_RECORDS_K2@GOTPAGEOFF]
Lloh30:
	adrp	x9, _PXP_NUM_ILT_RECORDS_BB@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PXP_NUM_ILT_RECORDS_BB@GOTPAGEOFF]
LBB0_11:
	cmp	w0, #0
	csel	x8, x9, x8, eq
LBB0_12:
	ldr	w8, [x8]
	sdiv	w8, w8, w23
LBB0_13:
	mov	w0, #0
	str	w8, [x21]
	ldr	w9, [x20, #8]
	mul	w8, w9, w8
LBB0_14:
	str	w8, [x19]
LBB0_15:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_17:
Lloh35:
	adrp	x8, _MAX_NUM_LL2_RX_QUEUES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MAX_NUM_LL2_RX_QUEUES@GOTPAGEOFF]
	b	LBB0_12
LBB0_18:
	ldr	w10, [x20, #12]
Lloh37:
	adrp	x9, _QED_PCI_ISCSI@GOTPAGE
Lloh38:
	ldr	x9, [x9, _QED_PCI_ISCSI@GOTPAGEOFF]
	ldr	w11, [x9]
Lloh39:
	adrp	x8, _QED_PCI_FCOE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _QED_PCI_FCOE@GOTPAGEOFF]
	ldr	w12, [x8]
	cmp	w10, w11
	ccmp	w10, w12, #4, ne
	b.ne	LBB0_22
; %bb.19:
	mov	w10, #1
	str	w10, [x21]
	ldr	x10, [x20, #16]
	ldr	w10, [x10]
	cmp	w10, #4
	b.eq	LBB0_21
; %bb.20:
	ldr	w10, [x20, #12]
	ldr	w9, [x9]
	cmp	w10, w9
	b.ne	LBB0_23
LBB0_21:
	mov	w0, #0
	ldr	w8, [x20, #4]
	b	LBB0_14
LBB0_22:
	mov	w0, #0
	str	wzr, [x21]
	str	wzr, [x19]
	b	LBB0_15
LBB0_23:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_25
; %bb.24:
	mov	w0, #0
	ldr	w8, [x20, #4]
	add	w8, w8, #2
	b	LBB0_14
LBB0_25:
	mov	w0, #0
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_MAX_NUM_L2_QUEUES_K2,4,2       ; @MAX_NUM_L2_QUEUES_K2
	.comm	_MAX_NUM_L2_QUEUES_BB,4,2       ; @MAX_NUM_L2_QUEUES_BB
	.comm	_MAX_NUM_VPORTS_K2,4,2          ; @MAX_NUM_VPORTS_K2
	.comm	_MAX_NUM_VPORTS_BB,4,2          ; @MAX_NUM_VPORTS_BB
	.comm	_ETH_RSS_ENGINE_NUM_K2,4,2      ; @ETH_RSS_ENGINE_NUM_K2
	.comm	_ETH_RSS_ENGINE_NUM_BB,4,2      ; @ETH_RSS_ENGINE_NUM_BB
	.comm	_MAX_QM_TX_QUEUES_K2,4,2        ; @MAX_QM_TX_QUEUES_K2
	.comm	_MAX_QM_TX_QUEUES_BB,4,2        ; @MAX_QM_TX_QUEUES_BB
	.comm	_MAX_QM_GLOBAL_RLS,4,2          ; @MAX_QM_GLOBAL_RLS
	.comm	_ETH_NUM_MAC_FILTERS,4,2        ; @ETH_NUM_MAC_FILTERS
	.comm	_PXP_NUM_ILT_RECORDS_K2,4,2     ; @PXP_NUM_ILT_RECORDS_K2
	.comm	_PXP_NUM_ILT_RECORDS_BB,4,2     ; @PXP_NUM_ILT_RECORDS_BB
	.comm	_MAX_NUM_LL2_RX_QUEUES,4,2      ; @MAX_NUM_LL2_RX_QUEUES
	.comm	_NUM_OF_GLOBAL_QUEUES,4,2       ; @NUM_OF_GLOBAL_QUEUES
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_K2,4,2 ; @RDMA_NUM_STATISTIC_COUNTERS_K2
	.comm	_RDMA_NUM_STATISTIC_COUNTERS_BB,4,2 ; @RDMA_NUM_STATISTIC_COUNTERS_BB
	.comm	_QED_PCI_ISCSI,4,2              ; @QED_PCI_ISCSI
	.comm	_QED_PCI_FCOE,4,2               ; @QED_PCI_FCOE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qed_hw_get_dflt_resc
.subsections_via_symbols
