	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_get_num_pg_traf_type
_bnx2x_dcbx_get_num_pg_traf_type:       ## @bnx2x_dcbx_get_num_pg_traf_type
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	_LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	(%rdi), %r14
	movq	8(%rdx), %r12
	xorl	%eax, %eax
	movq	_DCBX_ILLEGAL_PG@GOTPCREL(%rip), %rcx
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	%rdx, (%rsi)
	incq	%rax
	movq	(%r13), %rdx
	addq	$16, %rsi
	cmpq	%rdx, %rax
	jb	LBB0_2
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.4:
	leaq	12(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-4(%rax), %edx
	movl	$1, %esi
	shll	%cl, %esi
	btl	%ecx, %edx
	jae	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	orl	%esi, %edx
	movl	%edx, -4(%rax)
	leaq	L_.str.2(%rip), %rax
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r15), %r8
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_DP
	incq	%rbx
	movq	(%r13), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r14,%rbx,8), %rcx
	leaq	L_.str.1(%rip), %rax
	movq	_MAX_PFC_PRIORITIES@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jae	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rsi, -12(%rax)
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	$16, %rax
	decq	%rdx
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movq	%rax, %rdx
	shlq	$4, %rdx
	movq	%rsi, (%r12,%rdx)
	movb	(%r14,%rbx,8), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	%esi, 8(%r12,%rdx)
	movl	$1, 12(%r12,%rdx)
	incq	%rax
	movq	%rax, (%r15)
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	(%rax)
	jmp	LBB0_10
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ## @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.comm	_DCBX_ILLEGAL_PG,8,3            ## @DCBX_ILLEGAL_PG
	.comm	_MAX_PFC_PRIORITIES,8,3         ## @MAX_PFC_PRIORITIES
	.comm	_BNX2X_MSG_DCB,4,2              ## @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add_traf_type %d pg_found %s num_of_pg %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"NO"

L_.str.2:                               ## @.str.2
	.asciz	"YES"

	.no_dead_strip	_bnx2x_dcbx_get_num_pg_traf_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_get_num_pg_traf_type
_bnx2x_dcbx_get_num_pg_traf_type:       ; @bnx2x_dcbx_get_num_pg_traf_type
	.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
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x23, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x9, #0
	ldr	x24, [x0]
	ldr	x11, [x2, #8]
Lloh2:
	adrp	x10, _DCBX_ILLEGAL_PG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DCBX_ILLEGAL_PG@GOTPAGEOFF]
	str	x11, [sp]                       ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10]
	str	x8, [x11], #16
	add	x9, x9, #1
	ldr	x8, [x23]
	cmp	x9, x8
	b.lo	LBB0_2
; %bb.3:
	cbz	x8, LBB0_14
; %bb.4:
	mov	x21, #0
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	x26, x9, #12
Lloh4:
	adrp	x27, _MAX_PFC_PRIORITIES@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MAX_PFC_PRIORITIES@GOTPAGEOFF]
Lloh6:
	adrp	x28, l_.str.1@PAGE
Lloh7:
	add	x28, x28, l_.str.1@PAGEOFF
	mov	w20, #1
Lloh8:
	adrp	x25, _BNX2X_MSG_DCB@GOTPAGE
Lloh9:
	ldr	x25, [x25, _BNX2X_MSG_DCB@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldur	w8, [x10, #-4]
	lsl	w9, w20, w9
	tst	w8, w9
	b.eq	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	orr	w8, w8, w9
	stur	w8, [x10, #-4]
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x25]
	ldr	x4, [x19]
	mov	x1, x22
	mov	x2, x21
	bl	_DP
	add	x21, x21, #1
	ldr	x8, [x23]
	cmp	x21, x8
	b.hs	LBB0_14
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x9, [x24, x21, lsl #3]
	ldr	x10, [x27]
	mov	x3, x28
	cmp	x9, x10
	b.hs	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x11, [x10, x9, lsl #3]
	mov	x10, x26
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x12, [x10, #-12]
	cmp	x12, x11
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	x9, x9, x8, lsl #4
	str	x11, [x9]
	lsl	x10, x21, #3
	ldr	w10, [x24, x10]
	mov	w11, #1
	lsl	w10, w11, w10
	stp	w10, w11, [x9, #8]
	mov	w20, #1
	add	x8, x8, #1
	str	x8, [x19]
	mov	x3, x28
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w11, [x10]
	add	w11, w11, #1
	str	w11, [x10]
	b	LBB0_6
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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ; @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.comm	_DCBX_ILLEGAL_PG,8,3            ; @DCBX_ILLEGAL_PG
	.comm	_MAX_PFC_PRIORITIES,8,3         ; @MAX_PFC_PRIORITIES
	.comm	_BNX2X_MSG_DCB,4,2              ; @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add_traf_type %d pg_found %s num_of_pg %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"NO"

l_.str.2:                               ; @.str.2
	.asciz	"YES"

	.no_dead_strip	_bnx2x_dcbx_get_num_pg_traf_type
.subsections_via_symbols
