	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_link_down
_ipw_link_down:                         ## @ipw_link_down
	.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
	callq	_ipw_led_link_down
	movl	28(%rbx), %edi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	callq	_notify_wx_assoc_event
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_cancel_delayed_work
	leaq	24(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	20(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	16(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	12(%rbx), %rdi
	callq	_cancel_delayed_work
	movq	%rbx, %rdi
	callq	_ipw_reset_stats
	movq	_STATUS_EXIT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cancel_delayed_work            ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_EXIT_PENDING,4,2        ## @STATUS_EXIT_PENDING
	.no_dead_strip	_ipw_link_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_link_down
_ipw_link_down:                         ; @ipw_link_down
	.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
	bl	_ipw_led_link_down
	ldr	w0, [x19, #28]
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_notify_wx_assoc_event
	add	x20, x19, #8
	mov	x0, x20
	bl	_cancel_delayed_work
	add	x0, x19, #24
	bl	_cancel_delayed_work
	add	x0, x19, #20
	bl	_cancel_delayed_work
	add	x0, x19, #16
	bl	_cancel_delayed_work
	add	x0, x19, #12
	bl	_cancel_delayed_work
	mov	x0, x19
	bl	_ipw_reset_stats
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _STATUS_EXIT_PENDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_EXIT_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cancel_delayed_work
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_EXIT_PENDING,4,2        ; @STATUS_EXIT_PENDING
	.no_dead_strip	_ipw_link_down
.subsections_via_symbols
