	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_ips_nic_on                 ## -- Begin function rtl_ips_nic_on
	.p2align	4, 0x90
_rtl_ips_nic_on:                        ## @rtl_ips_nic_on
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r14
	leaq	24(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_mutex_lock
	cmpq	$0, 32(%r14)
	je	LBB0_6
## %bb.1:
	movq	_ERFON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, (%r14)
	je	LBB0_6
## %bb.2:
	cmpl	$0, 24(%r14)
	jne	LBB0_6
## %bb.3:
	movq	8(%r14), %rcx
	movq	_RF_CHANGE_BY_IPS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_6
## %bb.4:
	movl	%eax, 16(%r14)
	movl	$0, 20(%r14)
	movq	%r15, %rdi
	callq	__rtl_ps_inactive_ps
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERFON,4,2                      ## @ERFON
	.comm	_RF_CHANGE_BY_IPS,8,3           ## @RF_CHANGE_BY_IPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_ips_nic_on                 ; -- Begin function rtl_ips_nic_on
	.p2align	2
_rtl_ips_nic_on:                        ; @rtl_ips_nic_on
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
	add	x0, x19, #24
	bl	_cancel_delayed_work_sync
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w9, [x21]
Lloh0:
	adrp	x8, _ERFON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERFON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_6
; %bb.2:
	ldr	w9, [x21, #24]
	cbnz	w9, LBB0_6
; %bb.3:
	ldr	x9, [x21, #8]
Lloh3:
	adrp	x10, _RF_CHANGE_BY_IPS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RF_CHANGE_BY_IPS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.gt	LBB0_6
; %bb.4:
	stp	w8, wzr, [x21, #16]
	mov	x0, x20
	bl	__rtl_ps_inactive_ps
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x21, #16]
	mov	x0, x19
	blr	x8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ERFON,4,2                      ; @ERFON
	.comm	_RF_CHANGE_BY_IPS,8,3           ; @RF_CHANGE_BY_IPS
.subsections_via_symbols
