	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipvlan_link_new                ## -- Begin function ipvlan_link_new
	.p2align	4, 0x90
_ipvlan_link_new:                       ## @ipvlan_link_new
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_IFLA_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_IPVLAN_MODE_L3@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_nla_get_u32
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_netif_is_ipvlan
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r13, %rdi
	callq	_netdev_priv
	movq	40(%rax), %r13
	movq	%r13, %rdi
	callq	_dev_net
	movl	(%rax), %edi
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_capable
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	%r13, %rdi
	callq	_netif_is_ipvlan_port
	testl	%eax, %eax
	je	LBB0_9
LBB0_14:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, 40(%r14)
	movq	%r12, 32(%r14)
	movq	_IPVLAN_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_IFLA_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r15,%rax,8)
	jne	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ipvlan_adjust_mtu
LBB0_16:
	leaq	20(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movl	20(%r12), %edi
	movl	20(%r13), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_IFF_NO_RX_HANDLER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r12)
	movq	%r12, %rdi
	callq	_register_netdevice
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	movq	%r13, %rdi
	callq	_ipvlan_port_get_rtnl
	movq	%rax, %r15
	movq	%rax, 8(%r14)
	movl	(%rax), %esi
	cmpl	$65534, %esi                    ## imm = 0xFFFE
	jne	LBB0_20
## %bb.19:
	movl	$1, (%r15)
	movl	$1, %esi
LBB0_20:
	leaq	4(%r15), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_ida_simple_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_22
## %bb.21:
	movl	(%r15), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_ida_simple_get
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_33
LBB0_22:
	movl	%ebx, 12(%r12)
	incl	%ebx
	movl	%ebx, (%r15)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_netdev_upper_dev_link
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_32
## %bb.23:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.25:
	movq	_IFLA_IPVLAN_FLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	callq	_nla_get_u16
	movq	%rax, 16(%r15)
LBB0_27:
	movq	_IFLA_IPVLAN_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_29
## %bb.28:
	callq	_nla_get_u16
	movq	%rax, %rsi
	jmp	LBB0_29
LBB0_17:
	movl	%eax, %ebx
	jmp	LBB0_34
LBB0_9:
	movq	(%r13), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	je	LBB0_12
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_err
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_29:
	movq	%r15, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_ipvlan_set_port_mode
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_netdev_upper_dev_unlink
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_32:
	movl	12(%r12), %esi
	callq	_ida_simple_remove
LBB0_33:
	movq	%r12, %rdi
	callq	_unregister_netdevice
	jmp	LBB0_34
LBB0_30:
	addq	$8, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail_rcu
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_netif_stacked_transfer_operstate
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_12:
	movq	%r13, %rdi
	callq	_netdev_is_rx_handler_busy
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_IPVLAN_MODE_L3,8,3             ## @IPVLAN_MODE_L3
	.comm	_IFLA_LINK,8,3                  ## @IFLA_LINK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master is either lo or non-ether device\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device is already in use.\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IPVLAN_FEATURES,4,2            ## @IPVLAN_FEATURES
	.comm	_IFLA_MTU,8,3                   ## @IFLA_MTU
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IFF_NO_RX_HANDLER,4,2          ## @IFF_NO_RX_HANDLER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IFLA_IPVLAN_FLAGS,8,3          ## @IFLA_IPVLAN_FLAGS
	.comm	_IFLA_IPVLAN_MODE,8,3           ## @IFLA_IPVLAN_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipvlan_link_new                ; -- Begin function ipvlan_link_new
	.p2align	2
_ipvlan_link_new:                       ; @ipvlan_link_new
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x23, x3
	mov	x25, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _IFLA_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLA_LINK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x25, x8, lsl #3]
	cbz	x0, LBB0_28
; %bb.1:
Lloh3:
	adrp	x8, _IPVLAN_MODE_L3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPVLAN_MODE_L3@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	bl	_nla_get_u32
	mov	x1, x0
	mov	x0, x22
	bl	___dev_get_by_index
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	bl	_netif_is_ipvlan
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_netdev_priv
	ldr	x22, [x0, #40]
	mov	x0, x22
	bl	_dev_net
	ldr	w0, [x0]
Lloh6:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ns_capable
	cbnz	w0, LBB0_7
; %bb.4:
Lloh9:
	adrp	x8, _EPERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_29
LBB0_5:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_29
LBB0_6:
	mov	x0, x22
	bl	_netif_is_ipvlan_port
	cbz	w0, LBB0_25
LBB0_7:
	stp	x19, x22, [x21, #32]
Lloh13:
	adrp	x8, _IPVLAN_FEATURES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPVLAN_FEATURES@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21, #24]
Lloh16:
	adrp	x8, _IFLA_MTU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IFLA_MTU@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x8, [x25, x8, lsl #3]
	cbnz	x8, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x22
	bl	_ipvlan_adjust_mtu
LBB0_9:
	add	x0, x21, #20
	bl	_INIT_LIST_HEAD
	add	x0, x21, #16
	bl	_spin_lock_init
	ldr	w0, [x19, #20]
	ldr	w1, [x22, #20]
Lloh19:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	bl	_memcpy
Lloh22:
	adrp	x8, _IFF_NO_RX_HANDLER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IFF_NO_RX_HANDLER@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_register_netdevice
	tbnz	w0, #31, LBB0_24
; %bb.10:
	mov	x0, x22
	bl	_ipvlan_port_get_rtnl
	mov	x25, x0
	str	x0, [x21, #8]
	ldr	w1, [x0]
	mov	w8, #65534
	cmp	w1, w8
	b.ne	LBB0_12
; %bb.11:
	mov	w1, #1
	str	w1, [x25]
LBB0_12:
	add	x26, x25, #4
Lloh25:
	adrp	x28, _GFP_KERNEL@GOTPAGE
Lloh26:
	ldr	x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x26
	mov	w2, #65534
	bl	_ida_simple_get
	mov	x27, x0
	tbz	w0, #31, LBB0_14
; %bb.13:
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x26
	mov	w1, #1
	bl	_ida_simple_get
	mov	x27, x0
	tbnz	w0, #31, LBB0_23
LBB0_14:
	str	w27, [x19, #12]
	add	w8, w27, #1
	str	w8, [x25]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_netdev_upper_dev_link
	mov	x27, x0
	cbnz	w0, LBB0_22
; %bb.15:
	cbz	x23, LBB0_20
; %bb.16:
Lloh27:
	adrp	x8, _IFLA_IPVLAN_FLAGS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFLA_IPVLAN_FLAGS@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_nla_get_u16
	str	x0, [x25, #16]
LBB0_18:
Lloh30:
	adrp	x8, _IFLA_IPVLAN_MODE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IFLA_IPVLAN_MODE@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_nla_get_u16
	mov	x24, x0
LBB0_20:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x20
	bl	_ipvlan_set_port_mode
	mov	x27, x0
	cbz	w0, LBB0_31
; %bb.21:
	mov	x0, x22
	mov	x1, x19
	bl	_netdev_upper_dev_unlink
LBB0_22:
	ldr	w1, [x19, #12]
	mov	x0, x26
	bl	_ida_simple_remove
LBB0_23:
	mov	x0, x19
	bl	_unregister_netdevice
	b	LBB0_30
LBB0_24:
	mov	x27, x0
	b	LBB0_30
LBB0_25:
	ldr	x8, [x22]
Lloh33:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.26:
	ldr	w8, [x22, #8]
Lloh36:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
LBB0_27:
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_netdev_err
LBB0_28:
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_30:
	mov	x0, x27
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_31:
	add	x1, x25, #8
	mov	x0, x21
	bl	_list_add_tail_rcu
	mov	x0, x22
	mov	x1, x19
	bl	_netif_stacked_transfer_operstate
	b	LBB0_30
LBB0_32:
	mov	x0, x22
	bl	_netdev_is_rx_handler_busy
	cbz	x0, LBB0_7
; %bb.33:
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_netdev_err
Lloh45:
	adrp	x8, _EBUSY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_IPVLAN_MODE_L3,8,3             ; @IPVLAN_MODE_L3
	.comm	_IFLA_LINK,8,3                  ; @IFLA_LINK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master is either lo or non-ether device\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device is already in use.\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IPVLAN_FEATURES,4,2            ; @IPVLAN_FEATURES
	.comm	_IFLA_MTU,8,3                   ; @IFLA_MTU
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IFF_NO_RX_HANDLER,4,2          ; @IFF_NO_RX_HANDLER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IFLA_IPVLAN_FLAGS,8,3          ; @IFLA_IPVLAN_FLAGS
	.comm	_IFLA_IPVLAN_MODE,8,3           ; @IFLA_IPVLAN_MODE
.subsections_via_symbols
