	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_copy_addr                 ## -- Begin function rdma_copy_addr
	.p2align	4, 0x90
_rdma_copy_addr:                        ## @rdma_copy_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	_MAX_ADDR_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	8(%rbx), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	4(%rbx), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_10
LBB0_2:
	movq	%rdx, %r15
	movq	8(%r14), %rax
	movq	_IFT_INFINIBAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_ARPHRD_INFINIBAND@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_IFT_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %r12d
	movq	%r14, %rdi
	callq	_IF_LLADDR
	movl	28(%r14), %edx
	movq	_MAX_ADDR_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_rdma_copy_addr_sub
	movl	8(%rbx), %edi
	movq	16(%r14), %rsi
	movl	28(%r14), %edx
	movl	(%r13), %ecx
	callq	_rdma_copy_addr_sub
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movl	4(%rbx), %edi
	movl	28(%r14), %edx
	movl	(%r13), %ecx
	movq	%r15, %rsi
	callq	_rdma_copy_addr_sub
LBB0_10:
	movl	24(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_MAX_ADDR_LEN,4,2               ## @MAX_ADDR_LEN
	.comm	_IFT_INFINIBAND,8,3             ## @IFT_INFINIBAND
	.comm	_ARPHRD_INFINIBAND,8,3          ## @ARPHRD_INFINIBAND
	.comm	_IFT_ETHER,8,3                  ## @IFT_ETHER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_copy_addr                 ; -- Begin function rdma_copy_addr
	.p2align	2
_rdma_copy_addr:                        ; @rdma_copy_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ARPHRD_ETHER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x21, _MAX_ADDR_LEN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MAX_ADDR_LEN@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #8]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #4]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	b	LBB0_7
LBB0_2:
	mov	x21, x2
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _IFT_INFINIBAND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFT_INFINIBAND@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ARPHRD_INFINIBAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARPHRD_INFINIBAND@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x9, _IFT_ETHER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFT_ETHER@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _ARPHRD_ETHER@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x8, x10, xzr, eq
LBB0_5:
	str	x8, [x19, #16]
	ldr	w22, [x19, #12]
	mov	x0, x20
	bl	_IF_LLADDR
	mov	x1, x0
	ldr	w2, [x20, #28]
Lloh20:
	adrp	x23, _MAX_ADDR_LEN@GOTPAGE
Lloh21:
	ldr	x23, [x23, _MAX_ADDR_LEN@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x22
	bl	_rdma_copy_addr_sub
	ldr	w0, [x19, #8]
	ldr	x1, [x20, #16]
	ldr	w2, [x20, #28]
	ldr	w3, [x23]
	bl	_rdma_copy_addr_sub
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w0, [x19, #4]
	ldr	w2, [x20, #28]
	ldr	w3, [x23]
	mov	x1, x21
	bl	_rdma_copy_addr_sub
LBB0_7:
	ldr	w8, [x20, #24]
	str	w8, [x19]
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_MAX_ADDR_LEN,4,2               ; @MAX_ADDR_LEN
	.comm	_IFT_INFINIBAND,8,3             ; @IFT_INFINIBAND
	.comm	_ARPHRD_INFINIBAND,8,3          ; @ARPHRD_INFINIBAND
	.comm	_IFT_ETHER,8,3                  ; @IFT_ETHER
.subsections_via_symbols
