	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srpt_rdma_cm_port_store
_srpt_rdma_cm_port_store:               ## @srpt_rdma_cm_port_store
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rdi
	movq	$0, -72(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-40(%rbp), %rdx
	xorl	%esi, %esi
	callq	_kstrtou16
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	movq	_rdma_cm_port@GOTPCREL(%rip), %r12
	movq	-40(%rbp), %rdi
	cmpq	%rdi, (%r12)
	je	LBB0_10
## %bb.2:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.6:
	callq	_cpu_to_be16
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_srpt_create_rdma_id
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	-40(%rbp), %rdi
	callq	_cpu_to_be16
	movq	%rax, -72(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_srpt_create_rdma_id
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rbx, %rdi
	callq	_PTR_ERR
LBB0_9:
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	_rdma_cm_mutex@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	-40(%rbp), %rax
	movq	%rax, (%r12)
	movq	_rdma_cm_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_swap
	movq	%r15, %rdi
	callq	_mutex_unlock
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_rdma_destroy_id
LBB0_10:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_rdma_cm_port,8,3               ## @rdma_cm_port
	.comm	_rdma_cm_mutex,4,2              ## @rdma_cm_mutex
	.comm	_rdma_cm_id,4,2                 ## @rdma_cm_id
	.no_dead_strip	_srpt_rdma_cm_port_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srpt_rdma_cm_port_store
_srpt_rdma_cm_port_store:               ; @srpt_rdma_cm_port_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x0, x1
	str	xzr, [sp, #32]
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x2, sp, #8
	mov	w1, #0
	bl	_kstrtou16
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh6:
	adrp	x22, _rdma_cm_port@GOTPAGE
Lloh7:
	ldr	x22, [x22, _rdma_cm_port@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [sp, #8]
	cmp	x8, x0
	b.eq	LBB0_10
; %bb.2:
	cbz	x0, LBB0_7
; %bb.3:
	bl	_cpu_to_be16
	str	x0, [sp, #16]
	add	x0, sp, #16
	bl	_srpt_create_rdma_id
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_cpu_to_be16
	str	x0, [sp, #32]
	add	x0, sp, #32
	bl	_srpt_create_rdma_id
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_PTR_ERR
LBB0_6:
	mov	x19, x0
	b	LBB0_10
LBB0_7:
	mov	x20, #0
LBB0_8:
Lloh8:
	adrp	x21, _rdma_cm_mutex@GOTPAGE
Lloh9:
	ldr	x21, [x21, _rdma_cm_mutex@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [sp, #8]
	str	x8, [x22]
Lloh10:
	adrp	x8, _rdma_cm_id@GOTPAGE
Lloh11:
	ldr	x8, [x8, _rdma_cm_id@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_swap
	mov	x0, x21
	bl	_mutex_unlock
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_rdma_destroy_id
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_rdma_cm_port,8,3               ; @rdma_cm_port
	.comm	_rdma_cm_mutex,4,2              ; @rdma_cm_mutex
	.comm	_rdma_cm_id,4,2                 ; @rdma_cm_id
	.no_dead_strip	_srpt_rdma_cm_port_store
.subsections_via_symbols
