	.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	$112, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r13, 104(%rax)
	movq	%rax, %r15
	addq	$8, %r15
	movq	_cma_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movl	(%rbx), %esi
	movl	$112, %edi
	callq	_kzalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	$1, 8(%r13)
	movq	32(%r13), %rsi
	movq	_ENODEV@GOTPCREL(%rip), %rbx
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.5:
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_rdma_vlan_dev_vlan_id
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	addq	$96, %rdi
	movl	28(%r13), %esi
	movl	%eax, %edx
	callq	_iboe_mac_vlan_to_ll
	movq	16(%r13), %rdi
	addq	$92, %rdi
	movl	24(%r13), %esi
	movl	%ebx, %edx
	callq	_iboe_mac_vlan_to_ll
	movq	16(%r13), %rax
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	movq	16(%r13), %rcx
	movl	%eax, 88(%rcx)
	movq	_IB_SA_EQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rcx)
	movq	_IFF_802_1Q_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rbx
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_vlan_dev_real_dev
	movq	%rax, %rbx
LBB0_9:
	movl	(%r13), %edi
	callq	_rt_tos2priority
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_netdev_get_prio_tc_map
	movq	16(%r13), %rcx
	movl	%eax, 72(%rcx)
	movl	4(%r12), %edi
	callq	_iboe_get_mtu
	movq	16(%r13), %rcx
	movl	%eax, 40(%rcx)
	movq	_IB_SA_EQ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 64(%rcx)
	movq	%r12, %rdi
	callq	_iboe_get_rate
	movq	16(%r13), %rcx
	movl	%eax, 56(%rcx)
	movq	%r12, %rdi
	callq	_dev_put
	movq	(%rbx), %rcx
	movq	16(%r13), %rax
	movq	%rcx, 48(%rax)
	movq	_CMA_IBOE_PACKET_LIFETIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	cmpl	$0, 40(%rax)
	je	LBB0_10
## %bb.14:
	movq	_RDMA_CM_ROUTE_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_RDMA_CM_ROUTE_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	$0, 16(%r14)
	movq	_cma_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_queue_work
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_6:
	movq	16(%r13), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rbx
LBB0_11:
	movl	(%rbx), %ebx
	movq	%rax, %rdi
	callq	_kfree
	movq	$0, 16(%r13)
LBB0_12:
	negl	%ebx
	movq	%r14, %rdi
	callq	_kfree
LBB0_13:
	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	_init_net,4,2                   ## @init_net
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IB_SA_EQ,8,3                   ## @IB_SA_EQ
	.comm	_IFF_802_1Q_VLAN,4,2            ## @IFF_802_1Q_VLAN
	.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, #112
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #104]
	add	x21, x0, #8
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, #112
	bl	_kzalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_9
; %bb.2:
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_11
; %bb.3:
Lloh5:
	adrp	x0, _init_net@GOTPAGE
Lloh6:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_dev_get_by_index
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	bl	_rdma_vlan_dev_vlan_id
	mov	x23, x0
	ldr	x8, [x20, #16]
	add	x0, x8, #96
	ldr	w1, [x20, #28]
	mov	x2, x23
	bl	_iboe_mac_vlan_to_ll
	ldr	x8, [x20, #16]
	add	x0, x8, #92
	ldr	w1, [x20, #24]
	mov	x2, x23
	bl	_iboe_mac_vlan_to_ll
	ldr	x8, [x20, #16]
	movi.2s	v0, #1
	str	d0, [x8]
	mov	w0, #65535
	bl	_cpu_to_be16
	ldr	x8, [x20, #16]
	str	w0, [x8, #88]
Lloh7:
	adrp	x24, _IB_SA_EQ@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IB_SA_EQ@GOTPAGEOFF]
	ldr	x9, [x24]
	str	x9, [x8, #80]
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _IFF_802_1Q_VLAN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_802_1Q_VLAN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mov	x23, x22
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_vlan_dev_real_dev
	mov	x23, x0
LBB0_6:
	ldr	w0, [x20]
	bl	_rt_tos2priority
	mov	x1, x0
	mov	x0, x23
	bl	_netdev_get_prio_tc_map
	ldr	x8, [x20, #16]
	str	w0, [x8, #72]
	ldr	w0, [x22, #4]
	bl	_iboe_get_mtu
	ldr	x8, [x20, #16]
	str	w0, [x8, #40]
	ldr	x9, [x24]
	str	x9, [x8, #64]
	mov	x0, x22
	bl	_iboe_get_rate
	ldr	x8, [x20, #16]
	str	w0, [x8, #56]
	mov	x0, x22
	bl	_dev_put
	ldr	x8, [x24]
	ldr	x0, [x20, #16]
	str	x8, [x0, #48]
Lloh12:
	adrp	x8, _CMA_IBOE_PACKET_LIFETIME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMA_IBOE_PACKET_LIFETIME@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0, #44]
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_12
; %bb.7:
Lloh15:
	adrp	x8, _RDMA_CM_ROUTE_QUERY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RDMA_CM_ROUTE_QUERY@GOTPAGEOFF]
Lloh17:
	adrp	x9, _RDMA_CM_ROUTE_RESOLVED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RDMA_CM_ROUTE_RESOLVED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh21:
	adrp	x8, _RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RDMA_CM_EVENT_ROUTE_RESOLVED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
Lloh24:
	adrp	x8, _cma_wq@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cma_wq@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_queue_work
	mov	w20, #0
	b	LBB0_15
LBB0_8:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_9:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	b	LBB0_14
LBB0_10:
	ldr	x0, [x20, #16]
LBB0_11:
Lloh33:
	adrp	x8, _ENODEV@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh35:
	adrp	x8, _EINVAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w21, [x8]
	bl	_kfree
	str	xzr, [x20, #16]
LBB0_14:
	neg	w20, w21
	mov	x0, x19
	bl	_kfree
LBB0_15:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.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	_init_net,4,2                   ; @init_net
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IB_SA_EQ,8,3                   ; @IB_SA_EQ
	.comm	_IFF_802_1Q_VLAN,4,2            ; @IFF_802_1Q_VLAN
	.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
