	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_create_target_ib
_srp_create_target_ib:                  ## @srp_create_target_ib
	.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, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	movq	_srp_recv_completion@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SRP_RQ_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %r8
	xorl	%edx, %edx
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	callq	_ib_create_cq
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_19
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_20
LBB0_4:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	movq	_srp_send_completion@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SRP_SQ_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%edx, %edx
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	callq	_ib_create_cq
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_18
LBB0_6:
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ib_req_notify_cq
	movq	_srp_qp_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_SRP_SQ_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	(%r13), %rax
	movq	%rax, 32(%r15)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 24(%r15)
	movq	_IB_SIGNAL_ALL_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r12, 8(%r15)
	movq	%r14, (%r15)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_ib_create_qp
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_17
LBB0_8:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_srp_init_qp
	movq	%r13, %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.16:
	movl	%eax, %r13d
	callq	_ib_destroy_qp
LBB0_17:
	movq	%r12, %rdi
	callq	_ib_destroy_cq
LBB0_18:
	movq	%r14, %rdi
	callq	_ib_destroy_cq
LBB0_19:
	movq	%r15, %rdi
	callq	_kfree
LBB0_20:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rdi, %r13
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_ib_destroy_qp
LBB0_11:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_ib_destroy_cq
LBB0_13:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_ib_destroy_cq
LBB0_15:
	movq	%r13, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%r12, (%rbx)
	movq	%r15, %rdi
	callq	_kfree
	xorl	%r13d, %r13d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_srp_recv_completion,4,2        ## @srp_recv_completion
	.comm	_SRP_RQ_SIZE,8,3                ## @SRP_RQ_SIZE
	.comm	_srp_send_completion,4,2        ## @srp_send_completion
	.comm	_SRP_SQ_SIZE,8,3                ## @SRP_SQ_SIZE
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_srp_qp_event,4,2               ## @srp_qp_event
	.comm	_IB_SIGNAL_ALL_WR,4,2           ## @IB_SIGNAL_ALL_WR
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.no_dead_strip	_srp_create_target_ib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_create_target_ib
_srp_create_target_ib:                  ; @srp_create_target_ib
	.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	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
Lloh3:
	adrp	x8, _srp_recv_completion@GOTPAGE
Lloh4:
	ldr	x8, [x8, _srp_recv_completion@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x23, _SRP_RQ_SIZE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SRP_RQ_SIZE@GOTPAGEOFF]
	ldr	x4, [x23]
	mov	x2, #0
	mov	x3, x21
	mov	w5, #0
	bl	_ib_create_cq
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_12
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_13
LBB0_4:
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
Lloh11:
	adrp	x8, _srp_send_completion@GOTPAGE
Lloh12:
	ldr	x8, [x8, _srp_send_completion@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x24, _SRP_SQ_SIZE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _SRP_SQ_SIZE@GOTPAGEOFF]
	ldr	x4, [x24]
	mov	x2, #0
	mov	x3, x21
	mov	w5, #0
	bl	_ib_create_cq
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_11
LBB0_6:
Lloh16:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ib_req_notify_cq
Lloh19:
	adrp	x8, _srp_qp_event@GOTPAGE
Lloh20:
	ldr	x8, [x8, _srp_qp_event@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	ldr	x8, [x24]
	ldr	x9, [x23]
	stp	x9, x8, [x19, #32]
	movi.2s	v0, #1
Lloh22:
	adrp	x8, _IB_SIGNAL_ALL_WR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IB_SIGNAL_ALL_WR@GOTPAGEOFF]
	str	d0, [x19, #24]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	stp	x20, x22, [x19]
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ib_create_qp
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_10
LBB0_8:
	mov	x0, x21
	mov	x1, x23
	bl	_srp_init_qp
	cbz	w0, LBB0_14
; %bb.9:
	mov	x24, x0
	mov	x0, x23
	bl	_ib_destroy_qp
LBB0_10:
	mov	x0, x22
	bl	_ib_destroy_cq
LBB0_11:
	mov	x0, x20
	bl	_ib_destroy_cq
LBB0_12:
	mov	x0, x19
	bl	_kfree
LBB0_13:
	mov	x0, x24
	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
LBB0_14:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_ib_destroy_qp
LBB0_16:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_ib_destroy_cq
LBB0_18:
	ldr	x0, [x21]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_ib_destroy_cq
LBB0_20:
	stp	x20, x23, [x21, #8]
	str	x22, [x21]
	mov	x0, x19
	bl	_kfree
	mov	w24, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_srp_recv_completion,4,2        ; @srp_recv_completion
	.comm	_SRP_RQ_SIZE,8,3                ; @SRP_RQ_SIZE
	.comm	_srp_send_completion,4,2        ; @srp_send_completion
	.comm	_SRP_SQ_SIZE,8,3                ; @SRP_SQ_SIZE
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_srp_qp_event,4,2               ; @srp_qp_event
	.comm	_IB_SIGNAL_ALL_WR,4,2           ; @IB_SIGNAL_ALL_WR
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.no_dead_strip	_srp_create_target_ib
.subsections_via_symbols
