	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_link_up
_ipw_link_up:                           ## @ipw_link_up
	.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	$-1, (%rdi)
	movq	$0, 40(%rdi)
	movl	32(%rdi), %edi
	callq	_netif_carrier_on
	leaq	12(%rbx), %r14
	movq	%r14, %rdi
	callq	_cancel_delayed_work
	leaq	28(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	24(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	20(%rbx), %rdi
	callq	_cancel_delayed_work
	movq	%rbx, %rdi
	callq	_ipw_reset_stats
	movq	%rbx, %rdi
	callq	_ipw_get_current_rate
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_ipw_gather_stats
	movq	%rbx, %rdi
	callq	_ipw_led_link_up
	movq	%rbx, %rdi
	callq	_notify_wx_assoc_event
	movq	_CFG_BACKGROUND_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG_BACKGROUND_SCAN,4,2        ## @CFG_BACKGROUND_SCAN
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_ipw_link_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_link_up
_ipw_link_up:                           ; @ipw_link_up
	.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	x20, x0
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x0]
	str	xzr, [x0, #40]
	ldr	w0, [x0, #32]
	bl	_netif_carrier_on
	add	x19, x20, #12
	mov	x0, x19
	bl	_cancel_delayed_work
	add	x0, x20, #28
	bl	_cancel_delayed_work
	add	x0, x20, #24
	bl	_cancel_delayed_work
	add	x0, x20, #20
	bl	_cancel_delayed_work
	mov	x0, x20
	bl	_ipw_reset_stats
	mov	x0, x20
	bl	_ipw_get_current_rate
	str	w0, [x20, #16]
	mov	x0, x20
	bl	_ipw_gather_stats
	mov	x0, x20
	bl	_ipw_led_link_up
	mov	x0, x20
	bl	_notify_wx_assoc_event
	ldr	w8, [x20, #8]
Lloh0:
	adrp	x9, _CFG_BACKGROUND_SCAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CFG_BACKGROUND_SCAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG_BACKGROUND_SCAN,4,2        ; @CFG_BACKGROUND_SCAN
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_ipw_link_up
.subsections_via_symbols
