	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_roc_timeout                ## -- Begin function rsi_roc_timeout
	.p2align	4, 0x90
_rsi_roc_timeout:                       ## @rsi_roc_timeout
	.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	_roc_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	_INFO_ZONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_rsi_dbg
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_ieee80211_remain_on_channel_expired
	movq	%r14, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_del_timer
LBB0_2:
	movq	%r14, %rdi
	callq	_rsi_resume_conn_channel
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_roc_timer,4,2                  ## @roc_timer
	.comm	_INFO_ZONE,4,2                  ## @INFO_ZONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Remain on channel expired\n"

	.comm	_common,8,3                     ## @common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_roc_timeout                ; -- Begin function rsi_roc_timeout
	.p2align	2
_rsi_roc_timeout:                       ; @rsi_roc_timeout
	.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
Lloh0:
	adrp	x8, _roc_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _roc_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
Lloh3:
	adrp	x8, _INFO_ZONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFO_ZONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rsi_dbg
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ieee80211_remain_on_channel_expired
	add	x20, x19, #4
	mov	x0, x20
	bl	_timer_pending
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_del_timer
LBB0_2:
	mov	x0, x19
	bl	_rsi_resume_conn_channel
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_roc_timer,4,2                  ; @roc_timer
	.comm	_INFO_ZONE,4,2                  ; @INFO_ZONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Remain on channel expired\n"

	.comm	_common,8,3                     ; @common
.subsections_via_symbols
