	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net_failover_slave_pre_register
_net_failover_slave_pre_register:       ## @net_failover_slave_pre_register
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_rtnl_dereference
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_rtnl_dereference
	movq	8(%r12), %rdi
	cmpq	8(%r14), %rdi
	jne	LBB0_3
## %bb.1:
	testq	%r15, %r15
	je	LBB0_9
## %bb.2:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.2(%rip), %rcx
LBB0_5:
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_dev_is_pci
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movq	_NETIF_F_VLAN_CHALLENGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, (%r14)
	je	LBB0_14
## %bb.10:
	movq	%r14, %rdi
	callq	_vlan_uses_dev
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movl	4(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_12
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s attempting to register as slave dev when %s already present\n"

L_.str.1:                               ## @.str.1
	.asciz	"standby"

L_.str.2:                               ## @.str.2
	.asciz	"primary"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ## @NETIF_F_VLAN_CHALLENGED
L_.str.3:                               ## @.str.3
	.asciz	"Device %s is VLAN challenged and failover device has VLAN set up\n"

	.no_dead_strip	_net_failover_slave_pre_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function net_failover_slave_pre_register
_net_failover_slave_pre_register:       ; @net_failover_slave_pre_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_rtnl_dereference
	mov	x21, x0
	ldr	w0, [x22]
	bl	_rtnl_dereference
	mov	x8, x0
	ldr	x0, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x0, x9
	b.ne	LBB0_3
; %bb.1:
	cbz	x21, LBB0_11
; %bb.2:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
	cbz	x8, LBB0_9
; %bb.4:
Lloh2:
	adrp	x8, l_.str.2@PAGE
Lloh3:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_5:
	ldr	w2, [x20, #4]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_netdev_err
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	add	sp, sp, #64
	ret
LBB0_9:
	cbz	x0, LBB0_7
; %bb.10:
	bl	_dev_is_pci
	cbz	w0, LBB0_7
LBB0_11:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _NETIF_F_VLAN_CHALLENGED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETIF_F_VLAN_CHALLENGED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_vlan_uses_dev
	cbz	x0, LBB0_8
; %bb.13:
	ldr	w2, [x19, #4]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_14:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s attempting to register as slave dev when %s already present\n"

l_.str.1:                               ; @.str.1
	.asciz	"standby"

l_.str.2:                               ; @.str.2
	.asciz	"primary"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ; @NETIF_F_VLAN_CHALLENGED
l_.str.3:                               ; @.str.3
	.asciz	"Device %s is VLAN challenged and failover device has VLAN set up\n"

	.no_dead_strip	_net_failover_slave_pre_register
.subsections_via_symbols
