	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_mci_process_status
_ath_mci_process_status:                ## @ath_mci_process_status
	.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
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rsi)
	jne	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	movl	(%rsi), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_ath_mci_find_profile
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movl	(%r15), %edi
	movq	_ATH_MCI_MAX_PROFILE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %edi
	jge	LBB0_11
## %bb.3:
	cmpq	$0, 8(%r15)
	movl	4(%r12), %esi
	movl	%ebx, %r15d
	je	LBB0_5
## %bb.4:
	callq	___set_bit
	jmp	LBB0_6
LBB0_5:
	callq	___clear_bit
LBB0_6:
	movl	$0, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	(%r12)
	jmp	LBB0_9
LBB0_10:
	movq	%r12, %rdi
	callq	_ath_mci_set_concur_txprio
	xorl	%r14d, %r14d
	cmpl	(%r12), %r15d
	setne	%r14b
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH_MCI_MAX_PROFILE,4,2        ## @ATH_MCI_MAX_PROFILE
	.no_dead_strip	_ath_mci_process_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_mci_process_status
_ath_mci_process_status:                ; @ath_mci_process_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x1, #16]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0]
	ldr	w8, [x1]
	str	w8, [sp, #8]
	add	x1, sp, #8
	bl	_ath_mci_find_profile
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x20]
Lloh0:
	adrp	x22, _ATH_MCI_MAX_PROFILE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH_MCI_MAX_PROFILE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ge	LBB0_5
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w1, [x19, #4]
	cbz	x8, LBB0_7
; %bb.4:
	bl	___set_bit
	b	LBB0_8
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___clear_bit
LBB0_8:
	mov	w20, #0
	str	wzr, [x19]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_9
LBB0_12:
	mov	x0, x19
	bl	_ath_mci_set_concur_txprio
	ldr	w8, [x19]
	cmp	w21, w8
	cset	w0, ne
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_MCI_MAX_PROFILE,4,2        ; @ATH_MCI_MAX_PROFILE
	.no_dead_strip	_ath_mci_process_status
.subsections_via_symbols
