	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_set_dev_offloads
_ena_set_dev_offloads:                  ## @ena_set_dev_offloads
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	andl	%r9d, %r8d
	je	LBB0_2
## %bb.1:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_2:
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r9d, %eax
	je	LBB0_4
## %bb.3:
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r9d, %edx
	je	LBB0_6
## %bb.5:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_6:
	orl	%r8d, %eax
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r9d, %ecx
	je	LBB0_8
## %bb.7:
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	orl	%ecx, %edx
	orl	%edx, %eax
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r9d
	je	LBB0_10
## %bb.9:
	movq	_NETIF_F_TSO_ECN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
LBB0_10:
	orl	%r9d, %eax
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK@GOTPCREL(%rip), %rdx
	movq	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	andl	4(%rdi), %ecx
	je	LBB0_12
## %bb.11:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_12:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rdi
	orl	(%rdx), %eax
	orl	(%rdi), %eax
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	orl	%ecx, %eax
	movl	%eax, (%rsi)
	orl	%eax, 4(%rsi)
	orl	%eax, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK
	.comm	_NETIF_F_TSO_ECN,4,2            ## @NETIF_F_TSO_ECN
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK,4,2 ## @ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.no_dead_strip	_ena_set_dev_offloads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_set_dev_offloads
_ena_set_dev_offloads:                  ; @ena_set_dev_offloads
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w10, w11, [x0]
	tst	w8, w10
Lloh6:
	adrp	x8, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x12, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh10:
	ldr	x12, [x12, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w8, w10
	csel	w8, wzr, w12, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x12, _NETIF_F_TSO@GOTPAGE
Lloh15:
	ldr	x12, [x12, _NETIF_F_TSO@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w12, [x12]
	tst	w9, w10
	csel	w9, wzr, w12, eq
Lloh18:
	adrp	x12, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK@GOTPAGE
Lloh19:
	ldr	x12, [x12, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x12]
Lloh21:
	adrp	x12, _NETIF_F_TSO6@GOTPAGE
Lloh22:
	ldr	x12, [x12, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	tst	w9, w10
	csel	w9, wzr, w12, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK@GOTPAGEOFF]
Lloh26:
	adrp	x12, _NETIF_F_TSO_ECN@GOTPAGE
Lloh27:
	ldr	x12, [x12, _NETIF_F_TSO_ECN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	ldr	w12, [x12]
	tst	w9, w10
	csel	w9, wzr, w12, eq
Lloh30:
	adrp	x10, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh32:
	ldr	w9, [x10]
Lloh33:
	adrp	x10, _NETIF_F_RXCSUM@GOTPAGE
Lloh34:
	ldr	x10, [x10, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh35:
	adrp	x12, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK@GOTPAGE
Lloh36:
	ldr	x12, [x12, _ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	ldr	w12, [x12]
	orr	w9, w12, w9
	tst	w9, w11
Lloh39:
	adrp	x9, _NETIF_F_SG@GOTPAGE
Lloh40:
	ldr	x9, [x9, _NETIF_F_SG@GOTPAGEOFF]
	csel	w10, wzr, w10, eq
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x11, _NETIF_F_RXHASH@GOTPAGE
Lloh43:
	ldr	x11, [x11, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh44:
	adrp	x12, _NETIF_F_HIGHDMA@GOTPAGE
Lloh45:
	ldr	x12, [x12, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
Lloh47:
	ldr	w12, [x12]
	orr	w8, w8, w9
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w10
	str	w8, [x1]
	ldur	d0, [x1, #4]
	dup.2s	v1, w8
	orr.8b	v0, v1, v0
	stur	d0, [x1, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK
	.comm	_NETIF_F_TSO_ECN,4,2            ; @NETIF_F_TSO_ECN
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK,4,2 ; @ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.no_dead_strip	_ena_set_dev_offloads
.subsections_via_symbols
