	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_create_window             ## -- Begin function scif_create_window
	.p2align	4, 0x90
_scif_create_window:                    ## @scif_create_window
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_might_sleep
	movl	$88, %edi
	callq	_scif_zalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	imull	$88, %r14d, %r13d
	movl	%r13d, %edi
	callq	_scif_zalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	%r14d, %edi
	callq	_scif_zalloc
	movq	%rax, 80(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movl	%r15d, 72(%rbx)
	movq	%r12, 64(%rbx)
	movq	_SCIFEP_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_OP_IDLE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 48(%rbx)
	leaq	40(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	(%r14), %rax
	movq	%rax, 32(%rbx)
	leaq	24(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	%rbx, %rdi
	addq	$20, %rdi
	callq	_INIT_LIST_HEAD
	movq	_SCIF_WINDOW_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	%rbx, %r13
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rax
LBB0_4:
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_scif_free
	movq	%rbx, %rdi
	movl	$88, %esi
	callq	_scif_free
	xorl	%r13d, %r13d
LBB0_5:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCIFEP_MAGIC,4,2               ## @SCIFEP_MAGIC
	.comm	_OP_IDLE,8,3                    ## @OP_IDLE
	.comm	_SCIF_WINDOW_SELF,4,2           ## @SCIF_WINDOW_SELF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_create_window             ; -- Begin function scif_create_window
	.p2align	2
_scif_create_window:                    ; @scif_create_window
	.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	x20, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	bl	_might_sleep
	mov	w23, #88
	mov	w0, #88
	bl	_scif_zalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	mul	w23, w24, w23
	mov	x0, x23
	bl	_scif_zalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x24
	bl	_scif_zalloc
	str	x0, [x19, #80]
	cbz	x0, LBB0_4
; %bb.3:
	str	w21, [x19, #72]
	str	x22, [x19, #64]
Lloh0:
	adrp	x8, _SCIFEP_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCIFEP_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh3:
	adrp	x21, _OP_IDLE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _OP_IDLE@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19, #48]
	add	x0, x19, #40
	bl	_init_waitqueue_head
	ldr	x8, [x21]
	str	x8, [x19, #32]
	add	x0, x19, #24
	bl	_init_waitqueue_head
	add	x0, x19, #20
	bl	_INIT_LIST_HEAD
Lloh5:
	adrp	x8, _SCIF_WINDOW_SELF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCIF_WINDOW_SELF@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	w20, [x19]
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19, #8]
LBB0_5:
	mov	x1, x23
	bl	_scif_free
	mov	x0, x19
	mov	w1, #88
	bl	_scif_free
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCIFEP_MAGIC,4,2               ; @SCIFEP_MAGIC
	.comm	_OP_IDLE,8,3                    ; @OP_IDLE
	.comm	_SCIF_WINDOW_SELF,4,2           ; @SCIF_WINDOW_SELF
.subsections_via_symbols
