	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_set_skb_gso
_xenvif_set_skb_gso:                    ## @xenvif_set_skb_gso
	.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, %r14
	cmpq	$0, 8(%rdx)
	je	LBB0_1
## %bb.3:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	(%rdx), %edx
	cmpl	$129, %edx
	je	LBB0_4
## %bb.5:
	cmpl	$128, %edx
	jne	LBB0_9
## %bb.6:
	movq	_SKB_GSO_TCPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_2
LBB0_4:
	movq	_SKB_GSO_TCPV4@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	%r14d, 8(%rax)
	movq	8(%rbx), %rbx
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	%rbx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_9:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_2:
	movq	%r14, %rdi
	callq	_xenvif_fatal_tx_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	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	"GSO size must not be zero.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SKB_GSO_TCPV4,4,2              ## @SKB_GSO_TCPV4
	.comm	_SKB_GSO_TCPV6,4,2              ## @SKB_GSO_TCPV6
L_.str.1:                               ## @.str.1
	.asciz	"Bad GSO type %d.\n"

	.no_dead_strip	_xenvif_set_skb_gso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_set_skb_gso
_xenvif_set_skb_gso:                    ; @xenvif_set_skb_gso
	.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	x20, x0
	ldr	x8, [x2, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	ldr	w8, [x2]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _SKB_GSO_TCPV6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SKB_GSO_TCPV6@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _SKB_GSO_TCPV4@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SKB_GSO_TCPV4@GOTPAGEOFF]
LBB0_6:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_skb_shinfo
	str	w20, [x0, #8]
	ldr	x20, [x21, #8]
	mov	x0, x19
	bl	_skb_shinfo
	mov	x8, x0
	mov	w0, #0
	str	x20, [x8]
	b	LBB0_9
LBB0_7:
	ldr	w0, [x20]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_netdev_err
	mov	x0, x20
	bl	_xenvif_fatal_tx_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GSO size must not be zero.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SKB_GSO_TCPV4,4,2              ; @SKB_GSO_TCPV4
	.comm	_SKB_GSO_TCPV6,4,2              ; @SKB_GSO_TCPV6
l_.str.1:                               ; @.str.1
	.asciz	"Bad GSO type %d.\n"

	.no_dead_strip	_xenvif_set_skb_gso
.subsections_via_symbols
