	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_mac_reset_tsf               ## -- Begin function il_mac_reset_tsf
	.p2align	4, 0x90
_il_mac_reset_tsf:                      ## @il_mac_reset_tsf
	.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	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	(%r14), %edx
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_MAC80211
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	32(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_dev_kfree_skb
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_il_scan_cancel_timeout
	movq	%rbx, %rdi
	callq	_il_is_ready_rf
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_RXON_FILTER_ASSOC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_il_commit_rxon
	movq	%rbx, %rdi
	callq	_il_set_rate
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_D_MAC80211
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter: type %d, addr %pM\n"

L_.str.1:                               ## @.str.1
	.asciz	"leave - not ready\n"

	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ## @RXON_FILTER_ASSOC_MSK
L_.str.2:                               ## @.str.2
	.asciz	"leave\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_mac_reset_tsf               ; -- Begin function il_mac_reset_tsf
	.p2align	2
_il_mac_reset_tsf:                      ; @il_mac_reset_tsf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_mutex_lock
	ldp	w9, w8, [x20]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_MAC80211
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dev_kfree_skb
LBB0_2:
	stp	xzr, xzr, [x19, #16]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	w1, #100
	bl	_il_scan_cancel_timeout
	mov	x0, x19
	bl	_il_is_ready_rf
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _RXON_FILTER_ASSOC_MSK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RXON_FILTER_ASSOC_MSK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_il_commit_rxon
	mov	x0, x19
	bl	_il_set_rate
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_D_MAC80211
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_mutex_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter: type %d, addr %pM\n"

l_.str.1:                               ; @.str.1
	.asciz	"leave - not ready\n"

	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ; @RXON_FILTER_ASSOC_MSK
l_.str.2:                               ; @.str.2
	.asciz	"leave\n"

.subsections_via_symbols
