	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_match_net_dev
_cma_match_net_dev:                     ## @cma_match_net_dev
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	cmpq	$0, 24(%r14)
	je	LBB0_7
## %bb.2:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_dev_net
	movl	32(%r14), %esi
	movl	%eax, %edi
	callq	_net_eq
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	24(%r14), %rax
	cmpq	(%rbx), %rax
	sete	%al
	jmp	LBB0_13
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	%rdx, %rax
	je	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_7:
	movb	$1, %al
	jmp	LBB0_13
LBB0_8:
	movq	_RDMA_PS_SDP@GOTPCREL(%rip), %rax
	movq	8(%r14), %rsi
	movq	40(%r14), %rcx
	cmpq	(%rax), %rsi
	jne	LBB0_11
## %bb.9:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	%dl
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	%al
	orb	%dl, %al
	jmp	LBB0_13
LBB0_11:
	movq	_AF_IB@GOTPCREL(%rip), %rsi
	movb	$1, %al
	cmpq	(%rsi), %rcx
	je	LBB0_13
## %bb.12:
	movl	16(%r14), %edi
	movq	%rdx, %rsi
	callq	_cma_protocol_roce_dev_port
	testq	%rax, %rax
	setne	%al
LBB0_13:
	movzbl	%al, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_PS_SDP,8,3                ## @RDMA_PS_SDP
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_IB,8,3                      ## @AF_IB
	.no_dead_strip	_cma_match_net_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_match_net_dev
_cma_match_net_dev:                     ; @cma_match_net_dev
	.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, x0
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.2:
	mov	x20, x1
	mov	x0, x1
	bl	_dev_net
	ldr	w1, [x19, #32]
	bl	_net_eq
	cbz	x0, LBB0_11
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	cmp	x8, x9
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19]
	cmp	x8, #0
	ccmp	x8, x2, #4, ne
	b.ne	LBB0_8
; %bb.5:
	ldr	x9, [x19, #8]
Lloh0:
	adrp	x8, _RDMA_PS_SDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_PS_SDP@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x19, #40]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.6:
Lloh3:
	adrp	x9, _AF_INET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
LBB0_7:
	cset	w0, eq
	b	LBB0_11
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh9:
	adrp	x9, _AF_IB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AF_IB@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w0, [x19, #16]
	mov	x1, x2
	bl	_cma_protocol_roce_dev_port
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_PS_SDP,8,3                ; @RDMA_PS_SDP
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_IB,8,3                      ; @AF_IB
	.no_dead_strip	_cma_match_net_dev
.subsections_via_symbols
