	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_tunnel_update
_ip_tunnel_update:                      ## @ip_tunnel_update
	.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
	movl	%r8d, %r14d
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_ip_tunnel_del
	movups	20(%r12), %xmm0
	movups	%xmm0, 20(%rbx)
	movq	(%r15), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	20(%r12), %r14
	leaq	24(%r12), %rsi
	movl	16(%r15), %edi
	movl	$4, %edx
	callq	_memcpy
	movl	12(%r15), %edi
	movq	%r14, %rsi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	$4, %edx
	callq	_memcpy
LBB0_2:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ip_tunnel_add
	movl	16(%r12), %eax
	movl	%eax, 16(%rbx)
	movl	12(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r12), %eax
	movl	%eax, 8(%rbx)
	movq	(%r12), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_5
## %bb.3:
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_ip_tunnel_bind_dev
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	movl	%eax, 8(%r15)
LBB0_5:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_state_change            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.no_dead_strip	_ip_tunnel_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_tunnel_update
_ip_tunnel_update:                      ; @ip_tunnel_update
	.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	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	mov	x0, x1
	bl	_ip_tunnel_del
	mov	x24, x22
	ldr	q0, [x24, #20]!
	stur	q0, [x21, #20]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	add	x1, x22, #24
	ldr	w0, [x19, #16]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #12]
	mov	x1, x24
	mov	w2, #4
	bl	_memcpy
LBB0_2:
	mov	x0, x23
	mov	x1, x21
	bl	_ip_tunnel_add
	ldr	w8, [x22, #16]
	str	w8, [x21, #16]
	ldr	d0, [x22, #8]
	str	d0, [x21, #8]
	ldr	x9, [x21]
	ldr	x8, [x22]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.3:
	str	x8, [x21]
	mov	x0, x19
	bl	_ip_tunnel_bind_dev
	cbz	w20, LBB0_5
; %bb.4:
	str	w0, [x19, #8]
LBB0_5:
	mov	x0, x19
	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
	b	_netdev_state_change
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.no_dead_strip	_ip_tunnel_update
.subsections_via_symbols
