	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_sdio_watchdog_thread
_brcmf_sdio_watchdog_thread:            ## @brcmf_sdio_watchdog_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_allow_signal
	movl	8(%rbx), %edi
	callq	_brcmf_sdiod_freezer_count
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %edi
	callq	_brcmf_sdiod_freezer_uncount
	movq	%rbx, %rdi
	callq	_wait_for_completion_interruptible
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	callq	_brcmf_sdiod_freezer_count
	movl	8(%rbx), %edi
	callq	_brcmf_sdiod_try_freeze
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_brcmf_sdio_bus_watchdog
	incl	4(%rbx)
	movq	%rbx, %rdi
	callq	_reinit_completion
	jmp	LBB0_1
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.no_dead_strip	_brcmf_sdio_watchdog_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_sdio_watchdog_thread
_brcmf_sdio_watchdog_thread:            ; @brcmf_sdio_watchdog_thread
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_allow_signal
	ldr	w0, [x19, #8]
	bl	_brcmf_sdiod_freezer_count
	bl	_kthread_should_stop
	cbnz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	bl	_brcmf_sdiod_freezer_uncount
	mov	x0, x19
	bl	_wait_for_completion_interruptible
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_brcmf_sdiod_freezer_count
	ldr	w0, [x19, #8]
	bl	_brcmf_sdiod_try_freeze
	cbnz	w20, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_brcmf_sdio_bus_watchdog
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_reinit_completion
	bl	_kthread_should_stop
	cbz	x0, LBB0_1
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.no_dead_strip	_brcmf_sdio_watchdog_thread
.subsections_via_symbols
