	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_mci_adjust_aggr_limit
_ath_mci_adjust_aggr_limit:             ## @ath_mci_adjust_aggr_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$100, %eax
	subl	4(%rdi), %eax
	imull	(%rdi), %eax
	cmpl	$499, %eax                      ## imm = 0x1F3
	jg	LBB0_4
## %bb.1:
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movl	8(%rdi), %ecx
	addl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	cmpl	%eax, %ecx
	jg	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath_mci_adjust_aggr_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_mci_adjust_aggr_limit
_ath_mci_adjust_aggr_limit:             ; @ath_mci_adjust_aggr_limit
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	mov	w10, #100
	sub	w9, w10, w9
	mul	w8, w9, w8
	cmp	w8, #499
	b.gt	LBB0_3
; %bb.1:
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	ldr	w9, [x0, #8]
	lsl	w8, w8, #1
	cbz	w9, LBB0_4
; %bb.2:
	cmp	w9, w8
	b.gt	LBB0_4
LBB0_3:
	ret
LBB0_4:
	str	w8, [x0, #8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath_mci_adjust_aggr_limit
.subsections_via_symbols
