	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_device_event
_tun_device_event:                      ## @tun_device_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rdi
	movq	%rsi, %r14
	callq	_netdev_notifier_info_to_dev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %r12
	cmpq	_tun_link_ops@GOTPCREL(%rip), %rax
	je	LBB0_1
LBB0_8:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$129, %r14
	je	LBB0_6
## %bb.2:
	cmpq	$128, %r14
	jne	LBB0_8
## %bb.3:
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_rtnl_dereference
	movq	(%rax), %rdi
	callq	*(%rdi)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_8
LBB0_6:
	movq	%r15, %rdi
	callq	_tun_queue_resize
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_NOTIFY_BAD@GOTPCREL(%rip), %r12
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_tun_link_ops,4,2               ## @tun_link_ops
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_NOTIFY_BAD,4,2                 ## @NOTIFY_BAD
	.no_dead_strip	_tun_device_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_device_event
_tun_device_event:                      ; @tun_device_event
	.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	x0, x2
	mov	x20, x1
	bl	_netdev_notifier_info_to_dev
	mov	x21, x0
	bl	_netdev_priv
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _tun_link_ops@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tun_link_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	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
	ret
LBB0_3:
	mov	x19, x0
	cmp	x20, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	x20, #128
	b.ne	LBB0_1
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_rtnl_dereference
	ldr	x0, [x0]
	ldr	x8, [x0]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_7
	b	LBB0_1
LBB0_8:
	mov	x0, x19
	bl	_tun_queue_resize
	cbz	w0, LBB0_1
; %bb.9:
Lloh4:
	adrp	x8, _NOTIFY_BAD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NOTIFY_BAD@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tun_link_ops,4,2               ; @tun_link_ops
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_NOTIFY_BAD,4,2                 ; @NOTIFY_BAD
	.no_dead_strip	_tun_device_event
.subsections_via_symbols
