	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_changelink           ## -- Begin function ip_tunnel_changelink
	.p2align	4, 0x90
_ip_tunnel_changelink:                  ## @ip_tunnel_changelink
	.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	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_dev_net
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_netdev_priv
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	_net_generic
	cmpq	%r15, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%r13, %rbx
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movl	4(%r15), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ip_tunnel_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r13
	cmpq	%r15, (%rax)
	je	LBB0_11
## %bb.5:
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movl	4(%r15), %eax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.7:
	movq	(%r14), %rdi
	callq	_ipv4_is_multicast
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmovnel	%edx, %eax
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	%edx, %ecx
	xorl	(%r15), %eax
	testl	%eax, %ecx
	je	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_11:
	movq	_IFLA_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r8d, %r8d
	cmpq	$0, (%rbx,%rax,8)
	sete	%r8b
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_ip_tunnel_update
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_IFLA_MTU,8,3                   ## @IFLA_MTU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_changelink           ; -- Begin function ip_tunnel_changelink
	.p2align	2
_ip_tunnel_changelink:                  ; @ip_tunnel_changelink
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_dev_net
	mov	x22, x0
	mov	x0, x20
	bl	_netdev_priv
	ldr	w1, [x0, #8]
	mov	x0, x22
	bl	_net_generic
	ldr	x8, [x0]
	cmp	x8, x20
	b.eq	LBB0_9
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_netdev_priv
	mov	x23, x0
	ldr	w2, [x20, #4]
	mov	x0, x22
	mov	x1, x19
	bl	_ip_tunnel_find
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	mov	x23, x0
	cmp	x8, x20
	b.eq	LBB0_11
; %bb.3:
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.5:
	ldr	x0, [x19]
	bl	_ipv4_is_multicast
	cbz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _IFF_BROADCAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFF_BROADCAST@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
Lloh8:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	x10, x9
	b	LBB0_8
LBB0_7:
	ldr	x9, [x19]
Lloh11:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x9, #0
	csel	w10, wzr, w8, eq
Lloh14:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
LBB0_8:
	ldr	w11, [x20]
	eor	w10, w11, w10
	orr	w8, w9, w8
	and	w8, w8, w10
	cbz	w8, LBB0_11
LBB0_9:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _IFLA_MTU@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IFLA_MTU@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cmp	x8, #0
	cset	w4, eq
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	x3, x19
	bl	_ip_tunnel_update
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_IFLA_MTU,8,3                   ; @IFLA_MTU
.subsections_via_symbols
