	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_fill_info
_tun_fill_info:                         ## @tun_fill_info
	.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, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_IFLA_TUN_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TUN_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	16(%r15), %edi
	callq	_uid_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_IFLA_TUN_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_current_user_ns
	movl	16(%r15), %esi
	movl	%eax, %edi
	callq	_from_kuid_munged
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_3:
	movl	12(%r15), %edi
	callq	_gid_valid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IFLA_TUN_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_current_user_ns
	movl	12(%r15), %esi
	movl	%eax, %edi
	callq	_from_kgid_munged
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_5:
	movq	_IFLA_TUN_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFF_NO_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r15), %eax
	sete	%dl
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:
	movq	_IFLA_TUN_VNET_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFF_VNET_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r15), %eax
	setne	%dl
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:
	movq	_IFLA_TUN_PERSIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFF_PERSIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r15), %eax
	setne	%dl
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	_IFLA_TUN_MULTI_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFF_MULTI_QUEUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	xorl	%edx, %edx
	andl	(%r15), %eax
	setne	%dl
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	movl	(%rbx), %eax
	xorl	%ebx, %ebx
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.10:
	movq	_IFLA_TUN_NUM_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_IFLA_TUN_NUM_DISABLED_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLA_TUN_TYPE,4,2              ## @IFLA_TUN_TYPE
	.comm	_TUN_TYPE_MASK,4,2              ## @TUN_TYPE_MASK
	.comm	_IFLA_TUN_OWNER,4,2             ## @IFLA_TUN_OWNER
	.comm	_IFLA_TUN_GROUP,4,2             ## @IFLA_TUN_GROUP
	.comm	_IFLA_TUN_PI,4,2                ## @IFLA_TUN_PI
	.comm	_IFF_NO_PI,4,2                  ## @IFF_NO_PI
	.comm	_IFLA_TUN_VNET_HDR,4,2          ## @IFLA_TUN_VNET_HDR
	.comm	_IFF_VNET_HDR,4,2               ## @IFF_VNET_HDR
	.comm	_IFLA_TUN_PERSIST,4,2           ## @IFLA_TUN_PERSIST
	.comm	_IFF_PERSIST,4,2                ## @IFF_PERSIST
	.comm	_IFLA_TUN_MULTI_QUEUE,4,2       ## @IFLA_TUN_MULTI_QUEUE
	.comm	_IFF_MULTI_QUEUE,4,2            ## @IFF_MULTI_QUEUE
	.comm	_IFLA_TUN_NUM_QUEUES,4,2        ## @IFLA_TUN_NUM_QUEUES
	.comm	_IFLA_TUN_NUM_DISABLED_QUEUES,4,2 ## @IFLA_TUN_NUM_DISABLED_QUEUES
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_tun_fill_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_fill_info
_tun_fill_info:                         ; @tun_fill_info
	.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	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _IFLA_TUN_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLA_TUN_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _TUN_TYPE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TUN_TYPE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x19
	bl	_nla_put_u8
	cbz	x0, LBB0_3
LBB0_1:
Lloh6:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	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:
	ldr	w0, [x20, #16]
	bl	_uid_valid
	cbz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _IFLA_TUN_OWNER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFLA_TUN_OWNER@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	bl	_current_user_ns
	ldr	w1, [x20, #16]
	bl	_from_kuid_munged
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_u32
	cbnz	x0, LBB0_1
LBB0_5:
	ldr	w0, [x20, #12]
	bl	_gid_valid
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _IFLA_TUN_GROUP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFLA_TUN_GROUP@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	bl	_current_user_ns
	ldr	w1, [x20, #12]
	bl	_from_kgid_munged
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_u32
	cbnz	x0, LBB0_1
LBB0_7:
Lloh15:
	adrp	x8, _IFLA_TUN_PI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IFLA_TUN_PI@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh18:
	adrp	x9, _IFF_NO_PI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFF_NO_PI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, eq
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_1
; %bb.8:
Lloh21:
	adrp	x8, _IFLA_TUN_VNET_HDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IFLA_TUN_VNET_HDR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh24:
	adrp	x9, _IFF_VNET_HDR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IFF_VNET_HDR@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_1
; %bb.9:
Lloh27:
	adrp	x8, _IFLA_TUN_PERSIST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFLA_TUN_PERSIST@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh30:
	adrp	x9, _IFF_PERSIST@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IFF_PERSIST@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_1
; %bb.10:
Lloh33:
	adrp	x8, _IFLA_TUN_MULTI_QUEUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IFLA_TUN_MULTI_QUEUE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh36:
	adrp	x21, _IFF_MULTI_QUEUE@GOTPAGE
Lloh37:
	ldr	x21, [x21, _IFF_MULTI_QUEUE@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	cset	w2, ne
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_1
; %bb.11:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
Lloh38:
	adrp	x8, _IFLA_TUN_NUM_QUEUES@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IFLA_TUN_NUM_QUEUES@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_1
; %bb.13:
Lloh41:
	adrp	x8, _IFLA_TUN_NUM_DISABLED_QUEUES@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IFLA_TUN_NUM_DISABLED_QUEUES@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_1
	b	LBB0_2
LBB0_14:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLA_TUN_TYPE,4,2              ; @IFLA_TUN_TYPE
	.comm	_TUN_TYPE_MASK,4,2              ; @TUN_TYPE_MASK
	.comm	_IFLA_TUN_OWNER,4,2             ; @IFLA_TUN_OWNER
	.comm	_IFLA_TUN_GROUP,4,2             ; @IFLA_TUN_GROUP
	.comm	_IFLA_TUN_PI,4,2                ; @IFLA_TUN_PI
	.comm	_IFF_NO_PI,4,2                  ; @IFF_NO_PI
	.comm	_IFLA_TUN_VNET_HDR,4,2          ; @IFLA_TUN_VNET_HDR
	.comm	_IFF_VNET_HDR,4,2               ; @IFF_VNET_HDR
	.comm	_IFLA_TUN_PERSIST,4,2           ; @IFLA_TUN_PERSIST
	.comm	_IFF_PERSIST,4,2                ; @IFF_PERSIST
	.comm	_IFLA_TUN_MULTI_QUEUE,4,2       ; @IFLA_TUN_MULTI_QUEUE
	.comm	_IFF_MULTI_QUEUE,4,2            ; @IFF_MULTI_QUEUE
	.comm	_IFLA_TUN_NUM_QUEUES,4,2        ; @IFLA_TUN_NUM_QUEUES
	.comm	_IFLA_TUN_NUM_DISABLED_QUEUES,4,2 ; @IFLA_TUN_NUM_DISABLED_QUEUES
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_tun_fill_info
.subsections_via_symbols
