	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_route_gid_type
_cma_route_gid_type:                    ## @cma_route_gid_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, -24(%rbp)
	movq	_RDMA_NETWORK_IPV4@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_RDMA_NETWORK_IPV6@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
LBB0_2:
	movq	_IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-24(%rbp), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NETWORK_IPV4,4,2          ## @RDMA_NETWORK_IPV4
	.comm	_RDMA_NETWORK_IPV6,4,2          ## @RDMA_NETWORK_IPV6
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ## @IB_GID_TYPE_ROCE_UDP_ENCAP
	.no_dead_strip	_cma_route_gid_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_route_gid_type
_cma_route_gid_type:                    ; @cma_route_gid_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _RDMA_NETWORK_IPV4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NETWORK_IPV4@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RDMA_NETWORK_IPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RDMA_NETWORK_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x20, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_test_bit
	ldr	w8, [x20]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NETWORK_IPV4,4,2          ; @RDMA_NETWORK_IPV4
	.comm	_RDMA_NETWORK_IPV6,4,2          ; @RDMA_NETWORK_IPV6
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ; @IB_GID_TYPE_ROCE_UDP_ENCAP
	.no_dead_strip	_cma_route_gid_type
.subsections_via_symbols
