	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_setup_qp_connect_response ## -- Begin function scif_setup_qp_connect_response
	.p2align	4, 0x90
_scif_setup_qp_connect_response:        ## @scif_setup_qp_connect_response
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	%edx, %edi
	movl	$72, %esi
	movq	%rbx, %rdx
	callq	_scif_ioremap
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %rcx
	movq	_SCIFEP_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.5:
	movl	20(%rax), %r15d
	movl	24(%rax), %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_scif_ioremap
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	leaq	40(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 40(%r14)
	leaq	48(%r14), %r13
	movq	32(%r14), %r12
	addq	$16, %r12
	movl	%r15d, %edi
	callq	_get_count_order
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_scif_rb_init
	movq	16(%r14), %rax
	movq	32(%r14), %rbx
	movq	%rax, 8(%rbx)
	addq	$8, %rbx
	leaq	24(%r14), %r15
	movq	(%r14), %r12
	movl	8(%r14), %edi
	callq	_get_count_order
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_scif_rb_init
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	8(%rbx), %rdi
	movq	_scif_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_scif_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SCIFEP_MAGIC,8,3               ## @SCIFEP_MAGIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SCIFEP_MAGIC mismatch between self %d remote %d\n"

	.comm	_scif_dev,8,3                   ## @scif_dev
	.comm	_scif_info,8,3                  ## @scif_info
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_setup_qp_connect_response ; -- Begin function scif_setup_qp_connect_response
	.p2align	2
_scif_setup_qp_connect_response:        ; @scif_setup_qp_connect_response
	.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	x19, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #72
	mov	x2, x20
	bl	_scif_ioremap
	str	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SCIFEP_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCIFEP_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldp	w21, w8, [x0, #20]
	mov	x0, x8
	mov	x1, x21
	mov	x2, x20
	bl	_scif_ioremap
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	mov	x22, x19
	str	xzr, [x22, #40]!
	add	x23, x19, #48
	ldr	x8, [x19, #32]
	add	x24, x8, #16
	mov	x0, x21
	bl	_get_count_order
	mov	x4, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	bl	_scif_rb_init
	ldr	x8, [x19, #16]
	ldr	x20, [x19, #32]
	str	x8, [x20, #8]!
	add	x21, x19, #24
	ldr	x22, [x19]
	ldr	w0, [x19, #8]
	bl	_get_count_order
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_scif_rb_init
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x0, [x20, #8]
Lloh5:
	adrp	x8, _scif_dev@GOTPAGE
Lloh6:
	ldr	x8, [x8, _scif_dev@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _scif_info@GOTPAGE
Lloh9:
	ldr	x9, [x9, _scif_info@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
	ldr	w3, [x20]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _EIO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SCIFEP_MAGIC,8,3               ; @SCIFEP_MAGIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SCIFEP_MAGIC mismatch between self %d remote %d\n"

	.comm	_scif_dev,8,3                   ; @scif_dev
	.comm	_scif_info,8,3                  ; @scif_info
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
