	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_resolve_iboe_route
_cma_resolve_iboe_route:                ## @cma_resolve_iboe_route
	.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	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$128, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r13, 120(%rax)
	movq	%rax, %r15
	addq	$16, %r15
	movq	_cma_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movl	(%rbx), %esi
	movl	$128, %edi
	callq	_kzalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	$1, 8(%r13)
	movq	40(%r13), %rsi
	movq	_ENODEV@GOTPCREL(%rip), %rbx
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.5:
	movl	48(%r13), %edi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movl	8(%rax), %eax
	movq	16(%r13), %rcx
	movl	%eax, 116(%rcx)
	movl	4(%r12), %eax
	movl	%eax, 112(%rcx)
	movl	64(%r13), %esi
	movl	68(%r13), %edi
	callq	_roce_gid_type_mask_support
	movl	28(%r13), %edi
	movl	72(%r13), %edx
	movq	%rax, %rsi
	callq	_cma_route_gid_type
	movq	16(%r13), %rcx
	movq	%rax, (%rcx)
	movl	108(%rcx), %edi
	movl	32(%r13), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	leaq	60(%r13), %rdi
	movq	16(%r13), %rsi
	addq	$104, %rsi
	callq	_rdma_ip2gid
	leaq	56(%r13), %rdi
	movq	16(%r13), %rsi
	addq	$100, %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_rdma_ip2gid
	movq	16(%r13), %rax
	movq	(%rax), %rbx
	movl	28(%r13), %edi
	callq	_ib_network_to_gid_type
	cmpq	%rax, %rbx
	jge	LBB0_9
## %bb.8:
	movl	28(%r13), %edi
	callq	_ib_network_to_gid_type
	movq	16(%r13), %rcx
	movq	%rax, (%rcx)
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movq	_AF_IB@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.10:
	movl	24(%r13), %eax
LBB0_11:
	movq	16(%r13), %rcx
	movl	%eax, 8(%rcx)
	movl	$1, 12(%rcx)
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	movq	16(%r13), %rcx
	movl	%eax, 96(%rcx)
	movq	_IB_SA_EQ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 88(%rcx)
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_iboe_tos_to_sl
	movq	16(%r13), %rcx
	movl	%eax, 84(%rcx)
	movl	(%r13), %eax
	movl	%eax, 80(%rcx)
	movl	(%r12), %edi
	callq	_iboe_get_mtu
	movq	16(%r13), %rcx
	movl	%eax, 48(%rcx)
	movq	(%rbx), %rax
	movq	%rax, 72(%rcx)
	movq	%r12, %rdi
	callq	_iboe_get_rate
	movq	16(%r13), %rcx
	movl	%eax, 64(%rcx)
	movq	%r12, %rdi
	callq	_dev_put
	movq	(%rbx), %rcx
	movq	16(%r13), %rax
	movq	%rcx, 56(%rax)
	movq	_CMA_IBOE_PACKET_LIFETIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rax)
	cmpl	$0, 48(%rax)
	je	LBB0_12
## %bb.16:
	movq	_RDMA_CM_ROUTE_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_RDMA_CM_ROUTE_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	$0, 24(%r14)
	movq	_cma_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_queue_work
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_14
LBB0_6:
	movq	16(%r13), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rbx
LBB0_13:
	movl	(%rbx), %ebx
	movq	%rax, %rdi
	callq	_kfree
	movq	$0, 16(%r13)
LBB0_14:
	negl	%ebx
	movq	%r14, %rdi
	callq	_kfree
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cma_work_handler,4,2           ## @cma_work_handler
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_AF_IB,8,3                      ## @AF_IB
	.comm	_IB_SA_EQ,8,3                   ## @IB_SA_EQ
	.comm	_CMA_IBOE_PACKET_LIFETIME,4,2   ## @CMA_IBOE_PACKET_LIFETIME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDMA_CM_ROUTE_QUERY,4,2        ## @RDMA_CM_ROUTE_QUERY
	.comm	_RDMA_CM_ROUTE_RESOLVED,4,2     ## @RDMA_CM_ROUTE_RESOLVED
	.comm	_RDMA_CM_EVENT_ROUTE_RESOLVED,4,2 ## @RDMA_CM_EVENT_ROUTE_RESOLVED
	.comm	_cma_wq,4,2                     ## @cma_wq
	.no_dead_strip	_cma_resolve_iboe_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_resolve_iboe_route
_cma_resolve_iboe_route:                ; @cma_resolve_iboe_route
	.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, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #128
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #120]
	add	x21, x0, #16
Lloh2:
	adrp	x8, _cma_work_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cma_work_handler@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	ldr	w1, [x22]
	mov	w0, #128
	bl	_kzalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_11
; %bb.2:
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	x1, [x20, #40]
	cbz	x1, LBB0_12
; %bb.3:
	ldr	w0, [x20, #48]
	bl	_dev_get_by_index
	mov	x22, x0
	ldr	x0, [x20, #16]
	cbz	x22, LBB0_12
; %bb.4:
	ldur	d0, [x22, #4]
	str	d0, [x0, #112]
	ldp	w1, w0, [x20, #64]
	bl	_roce_gid_type_mask_support
	mov	x1, x0
	ldr	w0, [x20, #28]
	ldr	w2, [x20, #72]
	bl	_cma_route_gid_type
	ldr	x8, [x20, #16]
	str	x0, [x8]
	ldr	w0, [x8, #108]
	ldr	w1, [x20, #32]
Lloh5:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_memcpy
	add	x0, x20, #60
	ldr	x8, [x20, #16]
	add	x1, x8, #104
	bl	_rdma_ip2gid
	add	x23, x20, #56
	ldr	x8, [x20, #16]
	add	x1, x8, #100
	mov	x0, x23
	bl	_rdma_ip2gid
	ldr	x8, [x20, #16]
	ldr	x24, [x8]
	ldr	w0, [x20, #28]
	bl	_ib_network_to_gid_type
	cmp	x24, x0
	b.ge	LBB0_6
; %bb.5:
	ldr	w0, [x20, #28]
	bl	_ib_network_to_gid_type
	ldr	x8, [x20, #16]
	str	x0, [x8]
LBB0_6:
	ldr	x10, [x23]
Lloh8:
	adrp	x8, _AF_IB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_IB@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x8]
	mov	w8, #1
	mov	w9, #1
	cmp	x10, x11
	b.eq	LBB0_8
; %bb.7:
	ldr	w9, [x20, #24]
LBB0_8:
	ldr	x10, [x20, #16]
	stp	w9, w8, [x10, #8]
	mov	w0, #65535
	bl	_cpu_to_be16
	ldr	x8, [x20, #16]
	str	w0, [x8, #96]
Lloh11:
	adrp	x23, _IB_SA_EQ@GOTPAGE
Lloh12:
	ldr	x23, [x23, _IB_SA_EQ@GOTPAGEOFF]
	ldr	x9, [x23]
	str	x9, [x8, #88]
	ldr	w1, [x20]
	mov	x0, x22
	bl	_iboe_tos_to_sl
	ldr	x8, [x20, #16]
	ldr	w9, [x20]
	stp	w9, w0, [x8, #80]
	ldr	w0, [x22]
	bl	_iboe_get_mtu
	ldr	x8, [x20, #16]
	str	w0, [x8, #48]
	ldr	x9, [x23]
	str	x9, [x8, #72]
	mov	x0, x22
	bl	_iboe_get_rate
	ldr	x8, [x20, #16]
	str	w0, [x8, #64]
	mov	x0, x22
	bl	_dev_put
	ldr	x8, [x23]
	ldr	x0, [x20, #16]
	str	x8, [x0, #56]
Lloh13:
	adrp	x8, _CMA_IBOE_PACKET_LIFETIME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMA_IBOE_PACKET_LIFETIME@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x0, #52]
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_13
; %bb.9:
Lloh16:
	adrp	x8, _RDMA_CM_ROUTE_QUERY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RDMA_CM_ROUTE_QUERY@GOTPAGEOFF]
Lloh18:
	adrp	x9, _RDMA_CM_ROUTE_RESOLVED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RDMA_CM_ROUTE_RESOLVED@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
Lloh22:
	adrp	x8, _RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
Lloh25:
	adrp	x8, _cma_wq@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cma_wq@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_queue_work
	mov	w20, #0
	b	LBB0_16
LBB0_10:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_16
LBB0_11:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_12:
Lloh34:
	adrp	x8, _ENODEV@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w21, [x8]
	bl	_kfree
	str	xzr, [x20, #16]
LBB0_15:
	neg	w20, w21
	mov	x0, x19
	bl	_kfree
LBB0_16:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cma_work_handler,4,2           ; @cma_work_handler
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_AF_IB,8,3                      ; @AF_IB
	.comm	_IB_SA_EQ,8,3                   ; @IB_SA_EQ
	.comm	_CMA_IBOE_PACKET_LIFETIME,4,2   ; @CMA_IBOE_PACKET_LIFETIME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDMA_CM_ROUTE_QUERY,4,2        ; @RDMA_CM_ROUTE_QUERY
	.comm	_RDMA_CM_ROUTE_RESOLVED,4,2     ; @RDMA_CM_ROUTE_RESOLVED
	.comm	_RDMA_CM_EVENT_ROUTE_RESOLVED,4,2 ; @RDMA_CM_EVENT_ROUTE_RESOLVED
	.comm	_cma_wq,4,2                     ; @cma_wq
	.no_dead_strip	_cma_resolve_iboe_route
.subsections_via_symbols
