	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_set_dev_features
_ipoib_set_dev_features:                ## @ipoib_set_dev_features
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movl	(%rax), %edx
	movl	%edx, (%rdi)
	movq	_IB_DEVICE_UD_IP_CSUM@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	8(%rdi), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rcx)
	movq	_IB_DEVICE_UD_TSO@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_3
## %bb.2:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_3:
	orl	%eax, 4(%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_DEVICE_UD_IP_CSUM,4,2       ## @IB_DEVICE_UD_IP_CSUM
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_IB_DEVICE_UD_TSO,4,2           ## @IB_DEVICE_UD_TSO
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.no_dead_strip	_ipoib_set_dev_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_set_dev_features
_ipoib_set_dev_features:                ; @ipoib_set_dev_features
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	str	w9, [x0]
Lloh0:
	adrp	x8, _IB_DEVICE_UD_IP_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_DEVICE_UD_IP_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _NETIF_F_IP_CSUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _NETIF_F_RXCSUM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w10, w10, w8
	ldr	x8, [x0, #8]
	ldr	w11, [x8]
	orr	w10, w10, w11
	str	w10, [x8]
Lloh9:
	adrp	x11, _IB_DEVICE_UD_TSO@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IB_DEVICE_UD_TSO@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w10, w9, w10
	str	w10, [x8]
LBB0_3:
	ldr	w9, [x8, #4]
	orr	w9, w9, w10
	str	w9, [x8, #4]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_DEVICE_UD_IP_CSUM,4,2       ; @IB_DEVICE_UD_IP_CSUM
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_IB_DEVICE_UD_TSO,4,2           ; @IB_DEVICE_UD_TSO
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.no_dead_strip	_ipoib_set_dev_features
.subsections_via_symbols
