	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_validate_ch_config
_iavf_validate_ch_config:               ## @iavf_validate_ch_config
	.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
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	_IAVF_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_9
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rcx
	xorl	%ebx, %ebx
	movq	_IAVF_MBPS_DIVISOR@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	cmpl	%r14d, (%rax,%rbx,4)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	callq	_div_u64
	movq	16(%r15), %rcx
	addl	(%rcx,%rbx,8), %r14d
	addq	%rax, %r12
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.8:
	movq	_IAVF_MAX_REQ_QUEUES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jg	LBB0_9
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iavf_validate_tx_bandwidth     ## TAILCALL
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IAVF_MAX_TRAFFIC_CLASS,4,2     ## @IAVF_MAX_TRAFFIC_CLASS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid min tx rate (greater than 0) specified\n"

	.comm	_IAVF_MBPS_DIVISOR,4,2          ## @IAVF_MBPS_DIVISOR
	.comm	_IAVF_MAX_REQ_QUEUES,4,2        ## @IAVF_MAX_REQ_QUEUES
	.no_dead_strip	_iavf_validate_ch_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_validate_ch_config
_iavf_validate_ch_config:               ; @iavf_validate_ch_config
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IAVF_MAX_TRAFFIC_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IAVF_MAX_TRAFFIC_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #1
	ccmp	w8, w9, #0, ge
	b.le	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	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_2:
	mov	x20, x1
	mov	x19, x0
	mov	x23, #0
	mov	w22, #0
	mov	x21, #0
	ldr	x8, [x1, #16]
Lloh6:
	adrp	x24, _IAVF_MBPS_DIVISOR@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IAVF_MBPS_DIVISOR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, x23, lsl #3]
	cbz	x8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x23, lsl #2]
	cmp	w8, w22
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x23, lsl #3]
	cbnz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #24]
	ldr	w0, [x8, x23, lsl #2]
	ldr	w1, [x24]
	bl	_div_u64
	add	x21, x0, x21
	ldr	x8, [x20, #16]
	ldr	x9, [x8, x23, lsl #3]
	add	w22, w22, w9
	add	x23, x23, #1
	ldrsw	x9, [x20]
	cmp	x23, x9
	b.lt	LBB0_3
; %bb.7:
Lloh8:
	adrp	x8, _IAVF_MAX_REQ_QUEUES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IAVF_MAX_REQ_QUEUES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w22, w8
	b.gt	LBB0_1
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	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
	b	_iavf_validate_tx_bandwidth
LBB0_9:
	ldr	x0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IAVF_MAX_TRAFFIC_CLASS,4,2     ; @IAVF_MAX_TRAFFIC_CLASS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid min tx rate (greater than 0) specified\n"

	.comm	_IAVF_MBPS_DIVISOR,4,2          ; @IAVF_MBPS_DIVISOR
	.comm	_IAVF_MAX_REQ_QUEUES,4,2        ; @IAVF_MAX_REQ_QUEUES
	.no_dead_strip	_iavf_validate_ch_config
.subsections_via_symbols
