	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bond_setup
_bond_setup:                            ## @bond_setup
	.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
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	36(%rax), %rdi
	callq	_rwlock_init
	leaq	32(%r14), %rdi
	callq	_rwlock_init
	movq	_bonding_defaults@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%r14)
	movq	%r15, 24(%r14)
	leaq	16(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	callq	_ether_setup
	movq	_bond_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r15)
	movq	_bond_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r15)
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_bond_set_mode_ops
	movq	_bond_destructor@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	$0, 16(%r15)
	movq	_IFF_MASTER@GOTPCREL(%rip), %rax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
	movq	_IFF_BONDING@GOTPCREL(%rip), %rax
	movl	8(%r15), %ecx
	orl	(%rax), %ecx
	movq	_IFF_XMIT_DST_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 8(%r15)
	movq	_IFF_TX_SKB_SHARING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	movq	%r15, %rdi
	callq	_netdev_extended
	andl	%ebx, (%rax)
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_IFF_MASTER_ARPMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
LBB0_2:
	movq	_NETIF_F_VLAN_CHALLENGED@GOTPCREL(%rip), %rax
	movl	4(%r15), %ecx
	orl	(%rax), %ecx
	movq	_NETIF_F_LLTX@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NETIF_F_HW_VLAN_TX@GOTPCREL(%rip), %rax
	movq	_NETIF_F_HW_VLAN_RX@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_HW_VLAN_FILTER@GOTPCREL(%rip), %rsi
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	orl	(%rsi), %ecx
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bonding_defaults,16,3          ## @bonding_defaults
	.comm	_bond_netdev_ops,4,2            ## @bond_netdev_ops
	.comm	_bond_ethtool_ops,4,2           ## @bond_ethtool_ops
	.comm	_bond_destructor,4,2            ## @bond_destructor
	.comm	_IFF_MASTER,4,2                 ## @IFF_MASTER
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IFF_BONDING,4,2                ## @IFF_BONDING
	.comm	_IFF_XMIT_DST_RELEASE,4,2       ## @IFF_XMIT_DST_RELEASE
	.comm	_IFF_TX_SKB_SHARING,4,2         ## @IFF_TX_SKB_SHARING
	.comm	_IFF_MASTER_ARPMON,4,2          ## @IFF_MASTER_ARPMON
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ## @NETIF_F_VLAN_CHALLENGED
	.comm	_NETIF_F_LLTX,4,2               ## @NETIF_F_LLTX
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ## @NETIF_F_HW_VLAN_TX
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ## @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ## @NETIF_F_HW_VLAN_FILTER
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.no_dead_strip	_bond_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bond_setup
_bond_setup:                            ; @bond_setup
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x0, x0, #36
	bl	_rwlock_init
	add	x0, x20, #32
	bl	_rwlock_init
Lloh0:
	adrp	x8, _bonding_defaults@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bonding_defaults@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [x20]
	str	x19, [x20, #24]
	add	x0, x20, #16
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_ether_setup
Lloh3:
	adrp	x8, _bond_netdev_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bond_netdev_ops@GOTPAGEOFF]
Lloh5:
	adrp	x9, _bond_ethtool_ops@GOTPAGE
Lloh6:
	ldr	x9, [x9, _bond_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #32]
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_bond_set_mode_ops
Lloh7:
	adrp	x8, _bond_destructor@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bond_destructor@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
Lloh10:
	adrp	x8, _IFF_MASTER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IFF_MASTER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _IFF_BONDING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IFF_BONDING@GOTPAGEOFF]
	str	w8, [x19]
Lloh18:
	ldr	w8, [x9]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _IFF_XMIT_DST_RELEASE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IFF_XMIT_DST_RELEASE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19, #8]
Lloh22:
	adrp	x8, _IFF_TX_SKB_SHARING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IFF_TX_SKB_SHARING@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_netdev_extended
	ldr	w8, [x0]
	bic	w8, w8, w21
	str	w8, [x0]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh25:
	adrp	x8, _IFF_MASTER_ARPMON@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IFF_MASTER_ARPMON@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_2:
Lloh28:
	adrp	x8, _NETIF_F_VLAN_CHALLENGED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NETIF_F_VLAN_CHALLENGED@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
Lloh31:
	adrp	x10, _NETIF_F_LLTX@GOTPAGE
Lloh32:
	ldr	x10, [x10, _NETIF_F_LLTX@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh33:
	ldr	w9, [x10]
	orr	w8, w9, w8
Lloh34:
	adrp	x9, _NETIF_F_LRO@GOTPAGE
Lloh35:
	ldr	x9, [x9, _NETIF_F_LRO@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _NETIF_F_HW_VLAN_TX@GOTPAGE
Lloh38:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_TX@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
Lloh40:
	adrp	x10, _NETIF_F_HW_VLAN_RX@GOTPAGE
Lloh41:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_RX@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
Lloh43:
	adrp	x11, _NETIF_F_HW_VLAN_FILTER@GOTPAGE
Lloh44:
	ldr	x11, [x11, _NETIF_F_HW_VLAN_FILTER@GOTPAGEOFF]
Lloh45:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
Lloh46:
	adrp	x9, _NETIF_F_GRO@GOTPAGE
Lloh47:
	ldr	x9, [x9, _NETIF_F_GRO@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	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	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_bonding_defaults,16,3          ; @bonding_defaults
	.comm	_bond_netdev_ops,4,2            ; @bond_netdev_ops
	.comm	_bond_ethtool_ops,4,2           ; @bond_ethtool_ops
	.comm	_bond_destructor,4,2            ; @bond_destructor
	.comm	_IFF_MASTER,4,2                 ; @IFF_MASTER
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IFF_BONDING,4,2                ; @IFF_BONDING
	.comm	_IFF_XMIT_DST_RELEASE,4,2       ; @IFF_XMIT_DST_RELEASE
	.comm	_IFF_TX_SKB_SHARING,4,2         ; @IFF_TX_SKB_SHARING
	.comm	_IFF_MASTER_ARPMON,4,2          ; @IFF_MASTER_ARPMON
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ; @NETIF_F_VLAN_CHALLENGED
	.comm	_NETIF_F_LLTX,4,2               ; @NETIF_F_LLTX
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ; @NETIF_F_HW_VLAN_TX
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ; @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ; @NETIF_F_HW_VLAN_FILTER
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.no_dead_strip	_bond_setup
.subsections_via_symbols
