	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tunioctl
_tunioctl:                              ## @tunioctl
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	(%rdi), %r13
	movq	%r13, %rdi
	callq	_TUN2IFP
	movq	%rax, %rbx
	movq	_TUN_L2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_12
## %bb.1:
	addl	$-128, %r15d
	cmpl	$23, %r15d
	ja	LBB0_50
## %bb.2:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%r15,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_TUN_VMIO_FLAG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_IFF_CANTCHANGE@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	notl	%r12d
	andl	%eax, %r12d
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movl	(%r15), %eax
	andl	(%rbx), %eax
	orl	%r12d, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_12:
	addl	$-129, %r15d
	cmpl	$22, %r15d
	ja	LBB0_50
## %bb.13:
	xorl	%eax, %eax
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%r15,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_14:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	cmpl	$0, (%r14)
	movq	_TUN_LMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_17
## %bb.15:
	orl	(%r13), %eax
	movl	%eax, (%r13)
	movq	_TUN_IFHEAD@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_28:
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	12(%rax), %eax
	cmpl	4(%r14), %eax
	jne	LBB0_29
## %bb.30:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	16(%rax), %eax
	cmpl	8(%r14), %eax
	je	LBB0_33
## %bb.31:
	movq	%r13, %rdi
	callq	_TUN2IFP
	movq	%rax, %rdi
	callq	_if_name
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_strlcpy
	movl	8(%r14), %eax
	movl	%eax, -48(%rbp)
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	20(%rax), %edi
	callq	_CURVNET_SET
	movq	_SIOCSIFMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_TUN2IFP
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r12, %rcx
	callq	_ifhwioctl
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_CURVNET_RESTORE
	testl	%ebx, %ebx
	je	LBB0_33
## %bb.32:
	movq	%r13, %rdi
	callq	_TUN_UNLOCK
	movl	%ebx, %eax
	jmp	LBB0_52
LBB0_35:
	movl	(%r14), %eax
	movq	_tundebug@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_27:
	movl	4(%r14), %ebx
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	24(%rax), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_strlcpy
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_34:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	16(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	12(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	8(%rax), %eax
	jmp	LBB0_5
LBB0_36:
	movq	_tundebug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_37
LBB0_48:
	xorl	%edi, %edi
	subl	(%r14), %edi
	jmp	LBB0_46
LBB0_49:
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_fgetown
	negl	%eax
	jmp	LBB0_37
LBB0_50:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_45:
	movl	(%r14), %edi
LBB0_46:
	addq	$8, %r13
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fsetown                        ## TAILCALL
LBB0_42:
	movq	%r13, %rdi
	callq	_TUN2IFP
	leaq	4(%rax), %rdi
	callq	_IFQ_IS_EMPTY
	testl	%eax, %eax
	je	LBB0_43
## %bb.44:
	movl	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_47:
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_fgetown
LBB0_37:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_38:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	cmpl	$0, (%r14)
	movq	_TUN_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_40
## %bb.39:
	orl	(%r13), %eax
	movl	%eax, (%r13)
	jmp	LBB0_6
LBB0_8:
	movl	(%r14), %r15d
	testl	$-5, %r15d
	jne	LBB0_9
## %bb.10:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_tun_vnethdr_set
	jmp	LBB0_6
LBB0_11:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movl	4(%r13), %eax
	jmp	LBB0_5
LBB0_7:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movl	(%r14), %eax
	movl	%eax, 16(%r13)
	jmp	LBB0_6
LBB0_4:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movl	16(%r13), %eax
LBB0_5:
	movl	%eax, (%r14)
LBB0_6:
	movq	%r13, %rdi
	callq	_TUN_UNLOCK
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_29:
	movq	_EPROTOTYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_26:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	jmp	LBB0_6
LBB0_22:
	movq	%r13, %rdi
	callq	_TUN2IFP
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.23:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_19:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	cmpl	$0, (%r14)
	movq	_TUN_IFHEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_17
## %bb.20:
	orl	(%r13), %eax
	movl	%eax, (%r13)
	movq	_TUN_LMODE@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%r13)
	jmp	LBB0_6
LBB0_21:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movq	_TUN_IFHEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%r13), %eax
	setne	%cl
	movl	%ecx, (%r14)
	jmp	LBB0_6
LBB0_40:
	notl	%eax
	andl	(%r13), %eax
	movl	%eax, (%r13)
	jmp	LBB0_6
LBB0_33:
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_TUN2IFP
	movl	%ebx, 8(%rax)
	jmp	LBB0_6
LBB0_17:
	notl	%eax
	andl	(%r13), %eax
	movl	%eax, %ecx
	movl	%eax, (%r13)
	jmp	LBB0_6
LBB0_24:
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	notl	%eax
	andl	(%r14), %eax
	addl	$-145, %eax
	cmpl	$1, %eax
	ja	LBB0_9
## %bb.25:
	movq	%r13, %rdi
	callq	_TUN_LOCK
	movl	(%rbx), %ebx
	notl	%ebx
	movq	%r13, %rdi
	callq	_TUN2IFP
	andl	(%rax), %ebx
	andl	$-148, %ebx
	movl	%ebx, (%rax)
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_TUN2IFP
	orl	%ebx, (%rax)
	jmp	LBB0_6
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_51:
	movl	(%rax), %eax
LBB0_52:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movq	%r13, %rdi
	callq	_tunioctl.cold.1
	xorl	%eax, %eax
	jmp	LBB0_52
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_50
	.long	L0_0_set_50
	.long	L0_0_set_50
	.long	L0_0_set_28
	.long	L0_0_set_50
	.long	L0_0_set_35
	.long	L0_0_set_27
	.long	L0_0_set_34
	.long	L0_0_set_50
	.long	L0_0_set_36
	.long	L0_0_set_48
	.long	L0_0_set_49
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_50
	.long	L0_0_set_50
	.long	L0_0_set_45
	.long	L0_0_set_42
	.long	L0_0_set_52
	.long	L0_0_set_47
	.long	L0_0_set_38
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
.set L0_1_set_48, LBB0_48-LJTI0_1
.set L0_1_set_49, LBB0_49-LJTI0_1
.set L0_1_set_50, LBB0_50-LJTI0_1
.set L0_1_set_45, LBB0_45-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_52, LBB0_52-LJTI0_1
.set L0_1_set_47, LBB0_47-LJTI0_1
.set L0_1_set_38, LBB0_38-LJTI0_1
LJTI0_1:
	.long	L0_1_set_14
	.long	L0_1_set_26
	.long	L0_1_set_22
	.long	L0_1_set_28
	.long	L0_1_set_19
	.long	L0_1_set_35
	.long	L0_1_set_27
	.long	L0_1_set_34
	.long	L0_1_set_21
	.long	L0_1_set_36
	.long	L0_1_set_48
	.long	L0_1_set_49
	.long	L0_1_set_50
	.long	L0_1_set_50
	.long	L0_1_set_50
	.long	L0_1_set_50
	.long	L0_1_set_50
	.long	L0_1_set_50
	.long	L0_1_set_45
	.long	L0_1_set_42
	.long	L0_1_set_52
	.long	L0_1_set_47
	.long	L0_1_set_38
	.end_data_region
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function tunioctl.cold.1
_tunioctl.cold.1:                       ## @tunioctl.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_TUN2IFP
	leaq	4(%rax), %rdi
	callq	_IFQ_LOCK
	movq	%rbx, %rdi
	callq	_TUN2IFP
	leaq	4(%rax), %rdi
	callq	_IFQ_POLL_NOLOCK
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_TUN_L2,4,2                     ## @TUN_L2
	.comm	_TUN_VMIO_FLAG_MASK,4,2         ## @TUN_VMIO_FLAG_MASK
	.comm	_IFF_CANTCHANGE,4,2             ## @IFF_CANTCHANGE
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TUN_LMODE,4,2                  ## @TUN_LMODE
	.comm	_TUN_IFHEAD,4,2                 ## @TUN_IFHEAD
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_curthread,8,3                  ## @curthread
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_EPROTOTYPE,4,2                 ## @EPROTOTYPE
	.comm	_SIOCSIFMTU,4,2                 ## @SIOCSIFMTU
	.comm	_tundebug,4,2                   ## @tundebug
	.comm	_TUN_ASYNC,4,2                  ## @TUN_ASYNC
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.no_dead_strip	_tunioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tunioctl
_tunioctl:                              ; @tunioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x20, x2
	mov	x22, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _TUN_L2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUN_L2@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	sub	w8, w22, #128
	cmp	w8, #23
	b.hi	LBB0_18
; %bb.2:
	mov	x23, x0
	mov	w22, #0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _TUN_VMIO_FLAG_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TUN_VMIO_FLAG_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh8:
	adrp	x20, _IFF_CANTCHANGE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _IFF_CANTCHANGE@GOTPAGEOFF]
	ldr	w9, [x20]
	bic	w8, w8, w9
Lloh10:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w21, w8, w9
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w8, [x23]
	ldr	w9, [x20]
	and	w8, w9, w8
	orr	w8, w21, w8
	str	w8, [x23]
	b	LBB0_41
LBB0_4:
	sub	w8, w22, #129
	cmp	w8, #22
	b.hi	LBB0_18
; %bb.5:
	mov	w22, #0
Lloh13:
	adrp	x9, lJTI0_1@PAGE
Lloh14:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w9, [x20]
Lloh15:
	adrp	x8, _TUN_LMODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TUN_LMODE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w9, LBB0_38
; %bb.7:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh18:
	adrp	x9, _TUN_IFHEAD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TUN_IFHEAD@GOTPAGEOFF]
	b	LBB0_37
LBB0_8:
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0, #12]
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.ne	LBB0_31
; %bb.9:
	mov	x0, x19
	bl	_TUN_LOCK
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0, #16]
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.eq	LBB0_42
; %bb.10:
	mov	x0, x19
	bl	_TUN2IFP
	bl	_if_name
Lloh20:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_strlcpy
	ldr	w8, [x20, #8]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w0, [x0, #20]
	bl	_CURVNET_SET
Lloh23:
	adrp	x8, _SIOCSIFMTU@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIOCSIFMTU@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_TUN2IFP
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x3, x21
	bl	_ifhwioctl
	mov	x22, x0
	bl	_CURVNET_RESTORE
	cbz	w22, LBB0_42
; %bb.11:
	mov	x0, x19
	bl	_TUN_UNLOCK
	b	LBB0_47
LBB0_12:
	mov	w22, #0
	ldr	w8, [x20]
Lloh26:
	adrp	x9, _tundebug@GOTPAGE
Lloh27:
	ldr	x9, [x9, _tundebug@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	b	LBB0_47
LBB0_13:
	ldr	w20, [x20, #4]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w1, [x0, #24]
Lloh29:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_strlcpy
	mov	w22, #0
	b	LBB0_47
LBB0_14:
	mov	x0, x19
	bl	_TUN_LOCK
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0, #16]
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0, #12]
	str	w8, [x20, #4]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0, #8]
	b	LBB0_40
LBB0_15:
	mov	w22, #0
Lloh32:
	adrp	x8, _tundebug@GOTPAGE
Lloh33:
	ldr	x8, [x8, _tundebug@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_47
LBB0_16:
	ldr	w8, [x20]
	neg	w0, w8
	b	LBB0_20
LBB0_17:
	add	x0, x19, #8
	bl	_fgetown
	mov	w22, #0
	neg	w8, w0
	str	w8, [x20]
	b	LBB0_47
LBB0_18:
Lloh35:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
	b	LBB0_46
LBB0_19:
	ldr	w0, [x20]
LBB0_20:
	add	x1, x19, #8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_fsetown
LBB0_21:
	add	x0, x19, #8
	bl	_fgetown
	mov	w22, #0
	str	w0, [x20]
	b	LBB0_47
LBB0_22:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w9, [x20]
Lloh37:
	adrp	x8, _TUN_ASYNC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TUN_ASYNC@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cbz	w9, LBB0_38
; %bb.23:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_41
LBB0_24:
	mov	x0, x19
	bl	_TUN2IFP
	add	x0, x0, #4
	bl	_IFQ_IS_EMPTY
	cbz	w0, LBB0_48
; %bb.25:
	mov	w22, #0
	str	wzr, [x20]
	b	LBB0_47
LBB0_26:
	ldr	w20, [x20]
	orr	w8, w20, #0x4
	cmp	w8, #4
	b.ne	LBB0_45
; %bb.27:
	mov	x0, x19
	bl	_TUN_LOCK
	mov	x0, x23
	mov	x1, x20
	bl	_tun_vnethdr_set
	b	LBB0_41
LBB0_28:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w8, [x19, #4]
	b	LBB0_40
LBB0_29:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w8, [x20]
	str	w8, [x19, #16]
	b	LBB0_41
LBB0_30:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w8, [x19, #16]
	b	LBB0_40
LBB0_31:
Lloh40:
	adrp	x8, _EPROTOTYPE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EPROTOTYPE@GOTPAGEOFF]
	b	LBB0_46
LBB0_32:
	mov	x0, x19
	bl	_TUN_LOCK
Lloh42:
	adrp	x8, _curthread@GOTPAGE
Lloh43:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #12]
	b	LBB0_41
LBB0_33:
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0]
Lloh45:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.34:
Lloh48:
	adrp	x8, _EBUSY@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_46
LBB0_35:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w9, [x20]
Lloh50:
	adrp	x8, _TUN_IFHEAD@GOTPAGE
Lloh51:
	ldr	x8, [x8, _TUN_IFHEAD@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cbz	w9, LBB0_38
; %bb.36:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh53:
	adrp	x9, _TUN_LMODE@GOTPAGE
Lloh54:
	ldr	x9, [x9, _TUN_LMODE@GOTPAGEOFF]
LBB0_37:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
	b	LBB0_41
LBB0_38:
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	b	LBB0_41
LBB0_39:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w8, [x19]
Lloh55:
	adrp	x9, _TUN_IFHEAD@GOTPAGE
Lloh56:
	ldr	x9, [x9, _TUN_IFHEAD@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
LBB0_40:
	str	w8, [x20]
LBB0_41:
	mov	x0, x19
	bl	_TUN_UNLOCK
	mov	w22, #0
	b	LBB0_47
LBB0_42:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_TUN2IFP
	str	w20, [x0, #8]
	b	LBB0_41
LBB0_43:
	ldr	w8, [x20]
Lloh58:
	adrp	x21, _IFF_MULTICAST@GOTPAGE
Lloh59:
	ldr	x21, [x21, _IFF_MULTICAST@GOTPAGEOFF]
	ldr	w9, [x21]
	bic	w8, w8, w9
	sub	w8, w8, #145
	cmp	w8, #1
	b.hi	LBB0_45
; %bb.44:
	mov	x0, x19
	bl	_TUN_LOCK
	ldr	w21, [x21]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0]
	bic	w8, w8, w21
	mov	w9, #-148
	and	w8, w8, w9
	str	w8, [x0]
	ldr	w20, [x20]
	mov	x0, x19
	bl	_TUN2IFP
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
	b	LBB0_41
LBB0_45:
Lloh60:
	adrp	x8, _EINVAL@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_46:
	ldr	w22, [x8]
LBB0_47:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_48:
	mov	x0, x19
	bl	_tunioctl.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_3-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_8-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_12-LBB0_3)>>2
	.short	(LBB0_13-LBB0_3)>>2
	.short	(LBB0_14-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_15-LBB0_3)>>2
	.short	(LBB0_16-LBB0_3)>>2
	.short	(LBB0_17-LBB0_3)>>2
	.short	(LBB0_26-LBB0_3)>>2
	.short	(LBB0_28-LBB0_3)>>2
	.short	(LBB0_29-LBB0_3)>>2
	.short	(LBB0_30-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_18-LBB0_3)>>2
	.short	(LBB0_19-LBB0_3)>>2
	.short	(LBB0_24-LBB0_3)>>2
	.short	(LBB0_47-LBB0_3)>>2
	.short	(LBB0_21-LBB0_3)>>2
	.short	(LBB0_22-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_32-LBB0_6)>>2
	.byte	(LBB0_33-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_35-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_39-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_19-LBB0_6)>>2
	.byte	(LBB0_24-LBB0_6)>>2
	.byte	(LBB0_47-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_22-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2                               ; -- Begin function tunioctl.cold.1
_tunioctl.cold.1:                       ; @tunioctl.cold.1
	.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	_TUN2IFP
	add	x0, x0, #4
	bl	_IFQ_LOCK
	mov	x0, x19
	bl	_TUN2IFP
	add	x0, x0, #4
	bl	_IFQ_POLL_NOLOCK
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_TUN_L2,4,2                     ; @TUN_L2
	.comm	_TUN_VMIO_FLAG_MASK,4,2         ; @TUN_VMIO_FLAG_MASK
	.comm	_IFF_CANTCHANGE,4,2             ; @IFF_CANTCHANGE
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TUN_LMODE,4,2                  ; @TUN_LMODE
	.comm	_TUN_IFHEAD,4,2                 ; @TUN_IFHEAD
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_curthread,8,3                  ; @curthread
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_EPROTOTYPE,4,2                 ; @EPROTOTYPE
	.comm	_SIOCSIFMTU,4,2                 ; @SIOCSIFMTU
	.comm	_tundebug,4,2                   ; @tundebug
	.comm	_TUN_ASYNC,4,2                  ; @TUN_ASYNC
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.no_dead_strip	_tunioctl
.subsections_via_symbols
