	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_query_ip_offload_rsp
_handle_query_ip_offload_rsp:           ## @handle_query_ip_offload_rsp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	288(%rdi), %r14
	movl	120(%rdi), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$160, %edx
	callq	_dma_unmap_single
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	128(%rbx), %rdx
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	136(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	144(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	152(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	160(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	168(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	176(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	184(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	192(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	200(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	208(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	216(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	224(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	232(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	240(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	248(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	256(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	264(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	272(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	280(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	128(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	136(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	144(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	152(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	160(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	168(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	176(%rbx), %rdx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	184(%rbx), %rdx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	192(%rbx), %rdx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	200(%rbx), %rdx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	208(%rbx), %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	216(%rbx), %rdx
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	224(%rbx), %rdx
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	232(%rbx), %rdx
	leaq	L_.str.15(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	240(%rbx), %rdx
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	248(%rbx), %rdx
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	256(%rbx), %rdx
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	264(%rbx), %rdx
	leaq	L_.str.19(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	272(%rbx), %rdx
	leaq	L_.str.20(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%rbx), %rdi
	movq	280(%rbx), %rdx
	leaq	L_.str.21(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	leaq	24(%rbx), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$96, %edx
	callq	_dma_map_single
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_1
## %bb.19:
	leaq	L_.str.22(%rip), %rsi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_1:
	movl	$96, %edi
	callq	_cpu_to_be32
	movq	%rax, 112(%rbx)
	movq	_INITIAL_VERSION_IOB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	%rax, 104(%rbx)
	movups	128(%rbx), %xmm0
	movups	%xmm0, 24(%rbx)
	movq	144(%rbx), %rdx
	movq	%rdx, 40(%rbx)
	movq	160(%rbx), %r13
	movq	%r13, 48(%rbx)
	movq	152(%rbx), %rsi
	movq	%rsi, 56(%rbx)
	movq	168(%rbx), %r14
	movq	%r14, 64(%rbx)
	movq	176(%rbx), %r11
	movq	%r11, 72(%rbx)
	movq	184(%rbx), %r10
	movq	%r10, 80(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movq	8(%rbx), %r8
	movq	16(%rbx), %rax
	movq	_VNIC_PROBING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	cmpq	%r9, %r8
	je	LBB0_3
## %bb.2:
	movl	(%rax), %r12d
	movl	$0, (%rax)
LBB0_3:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %r15
	movq	_NETIF_F_GSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r15), %ecx
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	movl	%ecx, (%rax)
	orq	%r13, %rdx
	je	LBB0_5
## %bb.4:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_5:
	orq	%r14, %rsi
	je	LBB0_7
## %bb.6:
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_7:
	movl	4(%rax), %esi
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rdx), %edi
	testl	%esi, %edi
	je	LBB0_9
## %bb.8:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_9:
	testq	%r11, %r11
	je	LBB0_11
## %bb.10:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_11:
	testq	%r10, %r10
	je	LBB0_13
## %bb.12:
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_13:
	cmpq	%r9, %r8
	jne	LBB0_15
## %bb.14:
	orl	%esi, %ecx
	jmp	LBB0_17
LBB0_15:
	cmpl	%ecx, %r12d
	je	LBB0_18
## %bb.16:
	andl	%ecx, %esi
	notl	%r12d
	andl	%ecx, %r12d
	andl	8(%rax), %r12d
	orl	%esi, %r12d
	movl	%r12d, %ecx
LBB0_17:
	movl	%ecx, 4(%rax)
LBB0_18:
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_IBMVNIC_CRQ_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_CONTROL_IP_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$96, %edi
	callq	_cpu_to_be32
	movq	%rax, -56(%rbp)
	movl	(%rbx), %edi
	callq	_cpu_to_be32
	movq	%rax, -64(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ibmvnic_send_crq
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Query IP Offload Buffer:\n"

L_.str.1:                               ## @.str.1
	.asciz	"%016lx\n"

L_.str.2:                               ## @.str.2
	.asciz	"ipv4_chksum = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"ipv6_chksum = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"tcp_ipv4_chksum = %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"tcp_ipv6_chksum = %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"udp_ipv4_chksum = %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"udp_ipv6_chksum = %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"large_tx_ipv4 = %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"large_tx_ipv6 = %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"large_rx_ipv4 = %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"large_rx_ipv6 = %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"max_ipv4_hdr_sz = %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"max_ipv6_hdr_sz = %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"max_tcp_hdr_size = %d\n"

L_.str.15:                              ## @.str.15
	.asciz	"max_udp_hdr_size = %d\n"

L_.str.16:                              ## @.str.16
	.asciz	"max_large_tx_size = %d\n"

L_.str.17:                              ## @.str.17
	.asciz	"max_large_rx_size = %d\n"

L_.str.18:                              ## @.str.18
	.asciz	"ipv6_ext_hdr = %d\n"

L_.str.19:                              ## @.str.19
	.asciz	"tcp_pseudosum_req = %d\n"

L_.str.20:                              ## @.str.20
	.asciz	"num_ipv6_ext_hd = %d\n"

L_.str.21:                              ## @.str.21
	.asciz	"off_ipv6_ext_hd = %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.22:                              ## @.str.22
	.asciz	"Couldn't map ip offload control buffer\n"

	.comm	_INITIAL_VERSION_IOB,4,2        ## @INITIAL_VERSION_IOB
	.comm	_VNIC_PROBING,8,3               ## @VNIC_PROBING
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_GSO,4,2                ## @NETIF_F_GSO
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_IBMVNIC_CRQ_CMD,4,2            ## @IBMVNIC_CRQ_CMD
	.comm	_CONTROL_IP_OFFLOAD,4,2         ## @CONTROL_IP_OFFLOAD
	.no_dead_strip	_handle_query_ip_offload_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_query_ip_offload_rsp
_handle_query_ip_offload_rsp:           ; @handle_query_ip_offload_rsp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0, #288]
	ldr	w1, [x0, #120]
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #160
	bl	_dma_unmap_single
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #128]
	str	x8, [sp]
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #136]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #144]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #152]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #160]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #168]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #176]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #184]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #192]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #200]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #208]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #216]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #224]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #232]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #240]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #248]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #256]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #264]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #272]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #280]
	str	x8, [sp]
	mov	x1, x21
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #128]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #136]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #144]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #152]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #160]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #168]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #176]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #184]
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #192]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #200]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.11@PAGE
Lloh26:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #208]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #216]
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #224]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.14@PAGE
Lloh32:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #232]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.15@PAGE
Lloh34:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #240]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.16@PAGE
Lloh36:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #248]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.17@PAGE
Lloh38:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #256]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.18@PAGE
Lloh40:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #264]
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.19@PAGE
Lloh42:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #272]
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.20@PAGE
Lloh44:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #280]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.21@PAGE
Lloh46:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_netdev_dbg
	add	x1, x19, #24
Lloh47:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #96
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x19]
	mov	x0, x20
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh50:
	adrp	x1, l_.str.22@PAGE
Lloh51:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_err
LBB0_2:
	mov	w0, #96
	bl	_cpu_to_be32
	str	x0, [x19, #112]
Lloh52:
	adrp	x8, _INITIAL_VERSION_IOB@GOTPAGE
Lloh53:
	ldr	x8, [x8, _INITIAL_VERSION_IOB@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	stp	xzr, x0, [x19, #96]
	ldr	q0, [x19, #128]
	stur	q0, [x19, #24]
	ldp	x17, x15, [x19, #144]
	ldp	x0, x16, [x19, #160]
	stp	x17, x0, [x19, #40]
	stp	x15, x16, [x19, #56]
	ldp	x14, x12, [x19, #176]
	stp	x14, x12, [x19, #72]
	str	xzr, [x19, #88]
Lloh55:
	adrp	x8, _VNIC_PROBING@GOTPAGE
Lloh56:
	ldr	x8, [x8, _VNIC_PROBING@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x8]
	ldp	x11, x8, [x19, #8]
	cmp	x11, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w10, #0
	b	LBB0_5
LBB0_4:
	ldr	w10, [x8]
	str	wzr, [x8]
LBB0_5:
Lloh58:
	adrp	x13, _NETIF_F_SG@GOTPAGE
Lloh59:
	ldr	x13, [x13, _NETIF_F_SG@GOTPAGEOFF]
Lloh60:
	ldr	w13, [x13]
Lloh61:
	adrp	x1, _NETIF_F_GSO@GOTPAGE
Lloh62:
	ldr	x1, [x1, _NETIF_F_GSO@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x1]
	orr	w13, w1, w13
Lloh64:
	adrp	x1, _NETIF_F_GRO@GOTPAGE
Lloh65:
	ldr	x1, [x1, _NETIF_F_GRO@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x1]
	orr	w13, w13, w1
	str	w13, [x8]
Lloh67:
	adrp	x1, _NETIF_F_IP_CSUM@GOTPAGE
Lloh68:
	ldr	x1, [x1, _NETIF_F_IP_CSUM@GOTPAGEOFF]
	orr	x17, x17, x0
	cbz	x17, LBB0_7
; %bb.6:
	ldr	w17, [x1]
	orr	w13, w17, w13
	str	w13, [x8]
LBB0_7:
Lloh69:
	adrp	x17, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh70:
	ldr	x17, [x17, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
	orr	x15, x15, x16
	cbz	x15, LBB0_9
; %bb.8:
	ldr	w15, [x17]
	orr	w13, w13, w15
	str	w13, [x8]
LBB0_9:
	ldr	w15, [x8, #4]
	ldr	w16, [x1]
	ldr	w17, [x17]
	orr	w16, w17, w16
	tst	w16, w15
	b.eq	LBB0_11
; %bb.10:
Lloh71:
	adrp	x16, _NETIF_F_RXCSUM@GOTPAGE
Lloh72:
	ldr	x16, [x16, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh73:
	ldr	w16, [x16]
	orr	w13, w13, w16
	str	w13, [x8]
LBB0_11:
	cbz	x14, LBB0_13
; %bb.12:
Lloh74:
	adrp	x14, _NETIF_F_TSO@GOTPAGE
Lloh75:
	ldr	x14, [x14, _NETIF_F_TSO@GOTPAGEOFF]
Lloh76:
	ldr	w14, [x14]
	orr	w13, w13, w14
	str	w13, [x8]
LBB0_13:
	cbz	x12, LBB0_15
; %bb.14:
Lloh77:
	adrp	x12, _NETIF_F_TSO6@GOTPAGE
Lloh78:
	ldr	x12, [x12, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh79:
	ldr	w12, [x12]
	orr	w13, w13, w12
	str	w13, [x8]
LBB0_15:
	cmp	x11, x9
	b.ne	LBB0_17
; %bb.16:
	orr	w9, w13, w15
	b	LBB0_19
LBB0_17:
	cmp	w10, w13
	b.eq	LBB0_20
; %bb.18:
	and	w9, w13, w15
	bic	w10, w13, w10
	ldr	w11, [x8, #8]
	and	w10, w10, w11
	orr	w9, w10, w9
LBB0_19:
	str	w9, [x8, #4]
LBB0_20:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh80:
	adrp	x8, _IBMVNIC_CRQ_CMD@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IBMVNIC_CRQ_CMD@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
Lloh83:
	adrp	x9, _CONTROL_IP_OFFLOAD@GOTPAGE
Lloh84:
	ldr	x9, [x9, _CONTROL_IP_OFFLOAD@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	mov	w0, #96
	bl	_cpu_to_be32
	str	x0, [sp, #16]
	ldr	w0, [x19]
	bl	_cpu_to_be32
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ibmvnic_send_crq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Query IP Offload Buffer:\n"

l_.str.1:                               ; @.str.1
	.asciz	"%016lx\n"

l_.str.2:                               ; @.str.2
	.asciz	"ipv4_chksum = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"ipv6_chksum = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"tcp_ipv4_chksum = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"tcp_ipv6_chksum = %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"udp_ipv4_chksum = %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"udp_ipv6_chksum = %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"large_tx_ipv4 = %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"large_tx_ipv6 = %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"large_rx_ipv4 = %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"large_rx_ipv6 = %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"max_ipv4_hdr_sz = %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"max_ipv6_hdr_sz = %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"max_tcp_hdr_size = %d\n"

l_.str.15:                              ; @.str.15
	.asciz	"max_udp_hdr_size = %d\n"

l_.str.16:                              ; @.str.16
	.asciz	"max_large_tx_size = %d\n"

l_.str.17:                              ; @.str.17
	.asciz	"max_large_rx_size = %d\n"

l_.str.18:                              ; @.str.18
	.asciz	"ipv6_ext_hdr = %d\n"

l_.str.19:                              ; @.str.19
	.asciz	"tcp_pseudosum_req = %d\n"

l_.str.20:                              ; @.str.20
	.asciz	"num_ipv6_ext_hd = %d\n"

l_.str.21:                              ; @.str.21
	.asciz	"off_ipv6_ext_hd = %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.22:                              ; @.str.22
	.asciz	"Couldn't map ip offload control buffer\n"

	.comm	_INITIAL_VERSION_IOB,4,2        ; @INITIAL_VERSION_IOB
	.comm	_VNIC_PROBING,8,3               ; @VNIC_PROBING
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_GSO,4,2                ; @NETIF_F_GSO
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_IBMVNIC_CRQ_CMD,4,2            ; @IBMVNIC_CRQ_CMD
	.comm	_CONTROL_IP_OFFLOAD,4,2         ; @CONTROL_IP_OFFLOAD
	.no_dead_strip	_handle_query_ip_offload_rsp
.subsections_via_symbols
