	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmnet_changelink
_rmnet_changelink:                      ## @rmnet_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, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_netdev_priv
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_dev_net
	movl	%eax, %ebx
	movq	_IFLA_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rmnet_is_real_dev_registered
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_rmnet_get_port_rtnl
	movq	%rax, %r12
	movq	_IFLA_RMNET_MUX_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_nla_get_u16
	movq	%rax, %rbx
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_rmnet_get_endpoint
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_hlist_del_init_rcu
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	shlq	$2, %rsi
	addq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_hlist_add_head_rcu
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	%rax, (%r14)
LBB0_7:
	movq	_IFLA_RMNET_FLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_nla_data
	movl	4(%rax), %ecx
	andl	(%rax), %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_9
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IFLA_LINK,8,3                  ## @IFLA_LINK
	.comm	_IFLA_RMNET_MUX_ID,8,3          ## @IFLA_RMNET_MUX_ID
	.comm	_IFLA_RMNET_FLAGS,8,3           ## @IFLA_RMNET_FLAGS
	.no_dead_strip	_rmnet_changelink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmnet_changelink
_rmnet_changelink:                      ; @rmnet_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	x22, x0
	bl	_netdev_priv
	cbz	x22, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x0, x22
	bl	_dev_net
	mov	x22, x0
Lloh0:
	adrp	x8, _IFLA_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLA_LINK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_u32
	mov	x1, x0
	mov	x0, x22
	bl	___dev_get_by_index
	cbz	x0, LBB0_8
; %bb.2:
	mov	x21, x0
	bl	_rmnet_is_real_dev_registered
	cbz	w0, LBB0_8
; %bb.3:
	mov	x0, x21
	bl	_rmnet_get_port_rtnl
	mov	x21, x0
Lloh3:
	adrp	x8, _IFLA_RMNET_MUX_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFLA_RMNET_MUX_ID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.4:
	bl	_nla_get_u16
	mov	x22, x0
	ldr	x1, [x20]
	mov	x0, x21
	bl	_rmnet_get_endpoint
	cbz	x0, LBB0_8
; %bb.5:
	mov	x23, x0
	add	x24, x0, #8
	mov	x0, x24
	bl	_hlist_del_init_rcu
	ldr	x8, [x21, #8]
	add	x1, x8, x22, lsl #2
	mov	x0, x24
	bl	_hlist_add_head_rcu
	str	x22, [x23]
	str	x22, [x20]
LBB0_6:
Lloh6:
	adrp	x8, _IFLA_RMNET_FLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFLA_RMNET_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.7:
	bl	_nla_data
	mov	x8, x0
	mov	w0, #0
	ldp	w9, w8, [x8]
	and	w8, w8, w9
	str	w8, [x21]
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IFLA_LINK,8,3                  ; @IFLA_LINK
	.comm	_IFLA_RMNET_MUX_ID,8,3          ; @IFLA_RMNET_MUX_ID
	.comm	_IFLA_RMNET_FLAGS,8,3           ; @IFLA_RMNET_FLAGS
	.no_dead_strip	_rmnet_changelink
.subsections_via_symbols
