	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_setup_caps                  ## -- Begin function sk_setup_caps
	.p2align	4, 0x90
_sk_setup_caps:                         ## @sk_setup_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	___sk_dst_set
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_NETIF_F_GSO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_NETIF_F_GSO_SOFTWARE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_sk_can_gso
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.4:
	movq	_NETIF_F_GSO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_5:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	(%r14), %rdi
	movl	4(%rdi), %eax
	movl	%eax, 4(%rbx)
	callq	_netdev_extended
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_sk_extended
	movl	%r14d, (%rax)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_GSO,4,2                ## @NETIF_F_GSO
	.comm	_NETIF_F_GSO_SOFTWARE,4,2       ## @NETIF_F_GSO_SOFTWARE
	.comm	_NETIF_F_GSO_MASK,4,2           ## @NETIF_F_GSO_MASK
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_HW_CSUM,4,2            ## @NETIF_F_HW_CSUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_setup_caps                  ; -- Begin function sk_setup_caps
	.p2align	2
_sk_setup_caps:                         ; @sk_setup_caps
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	___sk_dst_set
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [x19]
Lloh0:
	adrp	x9, _NETIF_F_GSO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_GSO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _NETIF_F_GSO_SOFTWARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_GSO_SOFTWARE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	x0, x19
	bl	_sk_can_gso
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _NETIF_F_GSO_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_GSO_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NETIF_F_HW_CSUM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	ldr	x0, [x20]
	ldr	w9, [x0, #4]
	stp	w8, w9, [x19]
	bl	_netdev_extended
	ldr	w20, [x0]
	mov	x0, x19
	bl	_sk_extended
	str	w20, [x0]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_GSO,4,2                ; @NETIF_F_GSO
	.comm	_NETIF_F_GSO_SOFTWARE,4,2       ; @NETIF_F_GSO_SOFTWARE
	.comm	_NETIF_F_GSO_MASK,4,2           ; @NETIF_F_GSO_MASK
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_HW_CSUM,4,2            ; @NETIF_F_HW_CSUM
.subsections_via_symbols
