	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function startup
_startup:                               ## @startup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movslq	32(%rdi), %rdi
	callq	_DBGINFO
	movq	_ASYNC_INITIALIZED@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rbx)
	jne	LBB0_7
## %bb.1:
	cmpq	$0, 40(%rbx)
	jne	LBB0_4
## %bb.2:
	movl	48(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	$0, 24(%rbx)
	leaq	16(%rbx), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_change_params
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	_TTY_IO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clear_bit
LBB0_6:
	movl	(%r15), %eax
	orl	%eax, (%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movslq	32(%rbx), %rdi
	callq	_DBGERR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ASYNC_INITIALIZED,4,2          ## @ASYNC_INITIALIZED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_TTY_IO_ERROR,4,2               ## @TTY_IO_ERROR
	.no_dead_strip	_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function startup
_startup:                               ; @startup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrsw	x0, [x0, #32]
	bl	_DBGINFO
	ldr	w8, [x19]
Lloh0:
	adrp	x20, _ASYNC_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ASYNC_INITIALIZED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #48]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_8
LBB0_4:
	str	xzr, [x19, #24]
	add	x0, x19, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_change_params
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _TTY_IO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TTY_IO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_clear_bit
LBB0_6:
	mov	w0, #0
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldrsw	x0, [x19, #32]
	bl	_DBGERR
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ASYNC_INITIALIZED,4,2          ; @ASYNC_INITIALIZED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_TTY_IO_ERROR,4,2               ; @TTY_IO_ERROR
	.no_dead_strip	_startup
.subsections_via_symbols
