	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_pcbbind
_sdp_pcbbind:                           ## @sdp_pcbbind
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_SDP_WLOCK_ASSERT
	cmpq	$0, (%r12)
	jne	LBB0_8
## %bb.1:
	movq	8(%r12), %rax
	movq	_INADDR_ANY@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.2:
	movq	%r12, %rdi
	callq	_SDP_WUNLOCK
	movq	16(%r12), %r15
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	movq	_sdp_cma_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RDMA_PS_SDP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	%r12, %rdx
	callq	_rdma_create_id
	movq	%rax, %r15
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_12
LBB0_4:
	testq	%r14, %r14
	jne	LBB0_6
## %bb.5:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	$32, -64(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-40(%rbp), %rdi
	movl	$4, %esi
	callq	_bzero
	leaq	-64(%rbp), %r14
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rdma_bind_addr
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_SDP_WLOCK
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.7:
	negl	%ebx
	movq	%r12, %rdi
	callq	_sdp_destroy_cma
	jmp	LBB0_10
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	16(%r12), %rax
	movups	8(%rax), %xmm0
	movups	%xmm0, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_12:
	movq	%r12, %rdi
	callq	_SDP_WLOCK
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_INADDR_ANY,8,3                 ## @INADDR_ANY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_init_net,4,2                   ## @init_net
	.comm	_sdp_cma_handler,4,2            ## @sdp_cma_handler
	.comm	_RDMA_PS_SDP,4,2                ## @RDMA_PS_SDP
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AF_INET,4,2                    ## @AF_INET
	.no_dead_strip	_sdp_pcbbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_pcbbind
_sdp_pcbbind:                           ; @sdp_pcbbind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_SDP_WLOCK_ASSERT
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x22, _INADDR_ANY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _INADDR_ANY@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_SDP_WUNLOCK
	ldr	x21, [x19, #16]
	cbnz	x21, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _sdp_cma_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sdp_cma_handler@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _RDMA_PS_SDP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RDMA_PS_SDP@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x0, _init_net@GOTPAGE
Lloh12:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x2, x19
	bl	_rdma_create_id
	mov	x21, x0
	str	x0, [x19, #16]
	cbz	x0, LBB0_12
LBB0_4:
	cbnz	x20, LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _AF_INET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	mov	w8, #32
	str	w8, [sp]
	ldr	x8, [x22]
	stp	xzr, x8, [sp, #8]
	mov	x20, sp
	add	x0, x20, #24
	mov	w1, #4
	bl	_bzero
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	bl	_rdma_bind_addr
	mov	x20, x0
	mov	x0, x19
	bl	_SDP_WLOCK
	cbz	w20, LBB0_11
; %bb.7:
	neg	w20, w20
	mov	x0, x19
	bl	_sdp_destroy_cma
	b	LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w20, [x8]
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	x8, [x19, #16]
	ldur	q0, [x8, #8]
	str	q0, [x19]
	b	LBB0_10
LBB0_12:
	mov	x0, x19
	bl	_SDP_WLOCK
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_INADDR_ANY,8,3                 ; @INADDR_ANY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_init_net,4,2                   ; @init_net
	.comm	_sdp_cma_handler,4,2            ; @sdp_cma_handler
	.comm	_RDMA_PS_SDP,4,2                ; @RDMA_PS_SDP
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AF_INET,4,2                    ; @AF_INET
	.no_dead_strip	_sdp_pcbbind
.subsections_via_symbols
