	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_net_init
_tun_net_init:                          ## @tun_net_init
	.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	_netdev_priv
	movq	_TUN_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	cmpl	$129, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_tun_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	$0, 8(%rbx)
	movl	$0, 44(%rbx)
	movl	$1500, (%rbx)                   ## imm = 0x5DC
	movq	_ARPHRD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	_tap_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, %rdi
	callq	_ether_setup
	movq	_IFF_TX_SKB_SHARING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	28(%rbx), %eax
	movq	_IFF_LIVE_ADDR_CHANGE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 28(%rbx)
	movq	%rbx, %rdi
	callq	_eth_hw_addr_random
LBB0_4:
	movq	_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_MAX_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUN_TYPE_MASK,4,2              ## @TUN_TYPE_MASK
	.comm	_tun_netdev_ops,4,2             ## @tun_netdev_ops
	.comm	_ARPHRD_NONE,4,2                ## @ARPHRD_NONE
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_tap_netdev_ops,4,2             ## @tap_netdev_ops
	.comm	_IFF_TX_SKB_SHARING,4,2         ## @IFF_TX_SKB_SHARING
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ## @IFF_LIVE_ADDR_CHANGE
	.comm	_MIN_MTU,4,2                    ## @MIN_MTU
	.comm	_MAX_MTU,8,3                    ## @MAX_MTU
	.no_dead_strip	_tun_net_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_net_init
_tun_net_init:                          ; @tun_net_init
	.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	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TUN_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUN_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _tun_netdev_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tun_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	str	xzr, [x19, #8]
	mov	w8, #1500
	str	w8, [x19]
Lloh5:
	adrp	x8, _ARPHRD_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARPHRD_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, wzr, [x19, #40]
Lloh8:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IFF_NOARP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _tap_netdev_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tap_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	mov	x0, x19
	bl	_ether_setup
Lloh19:
	adrp	x8, _IFF_TX_SKB_SHARING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IFF_TX_SKB_SHARING@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x19, #28]
	bic	w8, w9, w8
Lloh22:
	adrp	x9, _IFF_LIVE_ADDR_CHANGE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IFF_LIVE_ADDR_CHANGE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #28]
	mov	x0, x19
	bl	_eth_hw_addr_random
LBB0_4:
Lloh25:
	adrp	x8, _MIN_MTU@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MIN_MTU@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh28:
	adrp	x8, _MAX_MTU@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MAX_MTU@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	sub	x8, x8, x9
	str	x8, [x19, #16]
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TUN_TYPE_MASK,4,2              ; @TUN_TYPE_MASK
	.comm	_tun_netdev_ops,4,2             ; @tun_netdev_ops
	.comm	_ARPHRD_NONE,4,2                ; @ARPHRD_NONE
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_tap_netdev_ops,4,2             ; @tap_netdev_ops
	.comm	_IFF_TX_SKB_SHARING,4,2         ; @IFF_TX_SKB_SHARING
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ; @IFF_LIVE_ADDR_CHANGE
	.comm	_MIN_MTU,4,2                    ; @MIN_MTU
	.comm	_MAX_MTU,8,3                    ; @MAX_MTU
	.no_dead_strip	_tun_net_init
.subsections_via_symbols
