	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scif_setup_scifdev
_scif_setup_scifdev:                    ## @scif_setup_scifdev
	.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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$129, %edi
	movl	$36, %esi
	callq	_kcalloc
	movq	%rax, %rbx
	movq	_scif_dev@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_scif_poll_qp_state@GOTPCREL(%rip), %r14
	movq	_scif_qp_setup_handler@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, (%rbx,%r12)
	movq	_OP_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx,%r12)
	leaq	(%rbx,%r12), %rdi
	addq	$28, %rdi
	callq	_init_waitqueue_head
	leaq	(%rbx,%r12), %rdi
	addq	$24, %rdi
	callq	_mutex_init
	leaq	(%rbx,%r12), %rdi
	addq	$20, %rdi
	movq	_scif_add_peer_device@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	(%rbx,%r12), %rdi
	addq	$16, %rdi
	movl	(%r14), %esi
	callq	_INIT_DELAYED_WORK
	leaq	(%rbx,%r12), %rdi
	addq	$12, %rdi
	movl	(%r15), %esi
	callq	_INIT_DELAYED_WORK
	leaq	(%rbx,%r12), %rdi
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movl	4(%rbx,%r12), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	cmpq	$4608, %r12                     ## imm = 0x1200
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_scif_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	incl	%r13d
	addq	$36, %r12
	jmp	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_scif_dev,8,3                   ## @scif_dev
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_OP_IDLE,4,2                    ## @OP_IDLE
	.comm	_scif_add_peer_device,4,2       ## @scif_add_peer_device
	.comm	_scif_poll_qp_state,4,2         ## @scif_poll_qp_state
	.comm	_scif_qp_setup_handler,4,2      ## @scif_qp_setup_handler
	.comm	_MAX_SCIF_NODES,4,2             ## @MAX_SCIF_NODES
	.no_dead_strip	_scif_setup_scifdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scif_setup_scifdev
_scif_setup_scifdev:                    ; @scif_setup_scifdev
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w0, #129
	mov	w1, #36
	bl	_kcalloc
Lloh3:
	adrp	x19, _scif_dev@GOTPAGE
Lloh4:
	ldr	x19, [x19, _scif_dev@GOTPAGEOFF]
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, #0
	mov	w21, #32
Lloh5:
	adrp	x22, _OP_IDLE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _OP_IDLE@GOTPAGEOFF]
Lloh7:
	adrp	x23, _scif_add_peer_device@GOTPAGE
Lloh8:
	ldr	x23, [x23, _scif_add_peer_device@GOTPAGEOFF]
Lloh9:
	adrp	x24, _scif_poll_qp_state@GOTPAGE
Lloh10:
	ldr	x24, [x24, _scif_poll_qp_state@GOTPAGEOFF]
Lloh11:
	adrp	x25, _scif_qp_setup_handler@GOTPAGE
Lloh12:
	ldr	x25, [x25, _scif_qp_setup_handler@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x0, x21
	stur	w20, [x26, #-32]
	ldr	w8, [x22]
	str	w8, [x26]
	sub	x0, x26, #4
	bl	_init_waitqueue_head
	sub	x0, x26, #8
	bl	_mutex_init
	sub	x0, x26, #12
	ldr	w1, [x23]
	bl	_INIT_WORK
	sub	x0, x26, #16
	ldr	w1, [x24]
	bl	_INIT_DELAYED_WORK
	sub	x0, x26, #20
	ldr	w1, [x25]
	bl	_INIT_DELAYED_WORK
	sub	x0, x26, #24
	bl	_INIT_LIST_HEAD
	ldur	w0, [x26, #-28]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	cmp	x20, #128
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19]
	add	x21, x21, #36
	add	x20, x20, #1
	b	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_scif_dev,8,3                   ; @scif_dev
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_OP_IDLE,4,2                    ; @OP_IDLE
	.comm	_scif_add_peer_device,4,2       ; @scif_add_peer_device
	.comm	_scif_poll_qp_state,4,2         ; @scif_poll_qp_state
	.comm	_scif_qp_setup_handler,4,2      ; @scif_qp_setup_handler
	.comm	_MAX_SCIF_NODES,4,2             ; @MAX_SCIF_NODES
	.no_dead_strip	_scif_setup_scifdev
.subsections_via_symbols
