	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_get_upper_threshold
_ath6kl_wmi_get_upper_threshold:        ## @ath6kl_wmi_get_upper_threshold
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	%rdx, %rax
	subq	$1, %rax
	movq	(%rcx,%rax,8), %r8
	jb	LBB0_4
## %bb.1:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	cmpq	%rdi, %rax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_2
LBB0_4:
	movq	%r8, %rax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath6kl_wmi_get_upper_threshold
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_get_upper_threshold
_ath6kl_wmi_get_upper_threshold:        ; @ath6kl_wmi_get_upper_threshold
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x1]
	add	x10, x9, x2, lsl #3
	ldur	x0, [x10, #-8]
	cbz	x2, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x8
	b.gt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #8
	subs	x2, x2, #1
	b.ne	LBB0_1
LBB0_3:
	ret
LBB0_4:
	mov	x0, x10
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath6kl_wmi_get_upper_threshold
.subsections_via_symbols
