	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_failover_create            ## -- Begin function net_failover_create
	.p2align	4, 0x90
_net_failover_create:                   ## @net_failover_create
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	48(%rdi), %r14
	movl	$4, %edi
	movl	$16, %esi
	callq	_alloc_etherdev_mq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_dev_net
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dev_net_set
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SET_NETDEV_DEV
	movq	_failover_dev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_failover_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movq	_IFF_NO_QUEUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	_IFF_XMIT_DST_RELEASE@GOTPCREL(%rip), %rax
	movq	_IFF_TX_SKB_SHARING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, (%rbx)
	movq	_NETIF_F_LLTX@GOTPCREL(%rip), %rax
	movl	4(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_NETIF_F_NETNS_LOCAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FAILOVER_VLAN_FEATURES@GOTPCREL(%rip), %rax
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_NETIF_F_GSO_ENCAP_ALL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 8(%rbx)
	orl	%ecx, %edx
	movl	%edx, 4(%rbx)
	movl	20(%rbx), %edx
	movl	24(%rbx), %edi
	movl	24(%r15), %esi
	callq	_memcpy
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movl	12(%r15), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_netif_carrier_off
	movq	_net_failover_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_failover_register
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_unregister_netdev
LBB0_6:
	movq	%rbx, %rdi
	callq	_free_netdev
LBB0_7:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate failover_netdev!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_failover_dev_ops,4,2           ## @failover_dev_ops
	.comm	_failover_ethtool_ops,4,2       ## @failover_ethtool_ops
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_IFF_NO_QUEUE,4,2               ## @IFF_NO_QUEUE
	.comm	_IFF_XMIT_DST_RELEASE,4,2       ## @IFF_XMIT_DST_RELEASE
	.comm	_IFF_TX_SKB_SHARING,4,2         ## @IFF_TX_SKB_SHARING
	.comm	_NETIF_F_LLTX,4,2               ## @NETIF_F_LLTX
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ## @NETIF_F_NETNS_LOCAL
	.comm	_FAILOVER_VLAN_FEATURES,4,2     ## @FAILOVER_VLAN_FEATURES
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_GSO_ENCAP_ALL,4,2      ## @NETIF_F_GSO_ENCAP_ALL
L_.str.1:                               ## @.str.1
	.asciz	"Unable to register failover_dev!\n"

	.comm	_net_failover_ops,4,2           ## @net_failover_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_failover_create            ; -- Begin function net_failover_create
	.p2align	2
_net_failover_create:                   ; @net_failover_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	ldr	x20, [x0, #48]
	mov	w0, #4
	mov	w1, #16
	bl	_alloc_etherdev_mq
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	bl	_dev_net
	mov	x1, x0
	mov	x0, x19
	bl	_dev_net_set
	mov	x0, x19
	mov	x1, x20
	bl	_SET_NETDEV_DEV
Lloh0:
	adrp	x8, _failover_dev_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _failover_dev_ops@GOTPAGEOFF]
Lloh2:
	adrp	x9, _failover_ethtool_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _failover_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #32]
Lloh4:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _IFF_NO_QUEUE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IFF_NO_QUEUE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w9, w10, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh10:
	adrp	x9, _IFF_XMIT_DST_RELEASE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_XMIT_DST_RELEASE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x11, _IFF_TX_SKB_SHARING@GOTPAGE
Lloh14:
	ldr	x11, [x11, _IFF_TX_SKB_SHARING@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	orr	w9, w11, w9
	bic	w8, w8, w9
	str	w8, [x19]
Lloh16:
	adrp	x8, _NETIF_F_LLTX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETIF_F_LLTX@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w8, w10, w8
Lloh19:
	adrp	x9, _NETIF_F_NETNS_LOCAL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NETIF_F_NETNS_LOCAL@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _FAILOVER_VLAN_FEATURES@GOTPAGE
Lloh23:
	ldr	x10, [x10, _FAILOVER_VLAN_FEATURES@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh24:
	ldr	w9, [x10]
Lloh25:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh26:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh28:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh29:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh31:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh32:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh34:
	adrp	x10, _NETIF_F_GSO_ENCAP_ALL@GOTPAGE
Lloh35:
	ldr	x10, [x10, _NETIF_F_GSO_ENCAP_ALL@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w8, w9, w8
	stp	w8, w9, [x19, #4]
	ldr	w1, [x21, #24]
	ldp	w2, w0, [x19, #20]
	bl	_memcpy
	ldur	d0, [x21, #12]
	stur	d0, [x19, #12]
	mov	x0, x19
	bl	_register_netdev
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_6
LBB0_3:
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_netif_carrier_off
Lloh44:
	adrp	x1, _net_failover_ops@GOTPAGE
Lloh45:
	ldr	x1, [x1, _net_failover_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_failover_register
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x21, x0
	mov	x0, x19
	bl	_unregister_netdev
LBB0_6:
	mov	x0, x19
	bl	_free_netdev
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate failover_netdev!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_failover_dev_ops,4,2           ; @failover_dev_ops
	.comm	_failover_ethtool_ops,4,2       ; @failover_ethtool_ops
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_IFF_NO_QUEUE,4,2               ; @IFF_NO_QUEUE
	.comm	_IFF_XMIT_DST_RELEASE,4,2       ; @IFF_XMIT_DST_RELEASE
	.comm	_IFF_TX_SKB_SHARING,4,2         ; @IFF_TX_SKB_SHARING
	.comm	_NETIF_F_LLTX,4,2               ; @NETIF_F_LLTX
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ; @NETIF_F_NETNS_LOCAL
	.comm	_FAILOVER_VLAN_FEATURES,4,2     ; @FAILOVER_VLAN_FEATURES
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_GSO_ENCAP_ALL,4,2      ; @NETIF_F_GSO_ENCAP_ALL
l_.str.1:                               ; @.str.1
	.asciz	"Unable to register failover_dev!\n"

	.comm	_net_failover_ops,4,2           ; @net_failover_ops
.subsections_via_symbols
