	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_translate_ip              ## -- Begin function rdma_translate_ip
	.p2align	4, 0x90
_rdma_translate_ip:                     ## @rdma_translate_ip
	.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	%rsi, %r15
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movl	(%r15), %edi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_rdma_copy_src_l2_addr
	movq	%rbx, %rdi
	callq	_dev_put
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_rdma_find_ndev_for_src_ip_rcu
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rdma_copy_src_l2_addr
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_translate_ip              ; -- Begin function rdma_translate_ip
	.p2align	2
_rdma_translate_ip:                     ; @rdma_translate_ip
	.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	x19, x1
	ldr	x1, [x1, #8]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_dev_get_by_index
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_rdma_copy_src_l2_addr
	mov	x0, x20
	bl	_dev_put
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	x20, x0
	bl	_rcu_read_lock
	ldr	w0, [x19]
	mov	x1, x20
	bl	_rdma_find_ndev_for_src_ip_rcu
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_rdma_copy_src_l2_addr
LBB0_5:
	bl	_rcu_read_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR_OR_ZERO
LBB0_6:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
