	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl12xx_croc                    ## -- Begin function wl12xx_croc
	.p2align	4, 0x90
_wl12xx_croc:                           ## @wl12xx_croc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %esi
	movl	%ebx, %edi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wl12xx_cmd_croc
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	___clear_bit
	movl	(%r14), %edi
	movq	_WL12XX_MAX_ROLES@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_find_first_bit
	cmpq	(%rbx), %rax
	jl	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_wl12xx_rearm_tx_watchdog_locked
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_WL12XX_MAX_ROLES,8,3           ## @WL12XX_MAX_ROLES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl12xx_croc                    ; -- Begin function wl12xx_croc
	.p2align	2
_wl12xx_croc:                           ; @wl12xx_croc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w1, [x0]
	mov	x0, x21
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_wl12xx_cmd_croc
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.4:
	ldr	w1, [x19]
	mov	x0, x21
	bl	___clear_bit
	ldr	w0, [x19]
Lloh0:
	adrp	x21, _WL12XX_MAX_ROLES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WL12XX_MAX_ROLES@GOTPAGEOFF]
	ldr	x1, [x21]
	bl	_find_first_bit
	ldr	x8, [x21]
	cmp	x0, x8
	b.lt	LBB0_2
; %bb.5:
	mov	x0, x19
	bl	_wl12xx_rearm_tx_watchdog_locked
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WL12XX_MAX_ROLES,8,3           ; @WL12XX_MAX_ROLES
.subsections_via_symbols
