	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseopen
_parseopen:                             ## @parseopen
	.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, %ebx
	movq	%rdi, %r12
	movq	_DD_OPEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_pprintf
	movq	_MODOPEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.2:
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_pprintf
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_1:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_pprintf
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_KM_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kmem_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_pprintf
	movq	(%r12), %rbx
	movq	%r12, %rdi
	callq	_WR
	movq	%rbx, (%rax)
	movl	(%r13), %r14d
	movq	%r12, %rdi
	callq	_WR
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_WR
	movq	(%rax), %rcx
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_pprintf
	movq	(%r12), %r14
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	%r12, 40(%r14)
	movq	_PARSE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	$0, 24(%r14)
	movq	%r12, %rdi
	callq	_qprocson
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_pprintf
	movq	%r14, %rdi
	callq	_parse_ioinit
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_pprintf
	movq	_M_PARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_setup_stream
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%r12, %rdi
	callq	_init_linemon
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_pprintf
	cmpb	$0, _parseopen.notice(%rip)
	jne	LBB0_13
## %bb.9:
	movq	_CE_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_modlstrmod@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	callq	_cmn_err
	movb	$1, _parseopen.notice(%rip)
	jmp	LBB0_13
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	%r12, %rdi
	callq	_qprocsoff
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_kmem_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_parseopen.notice,1,2 ## @parseopen.notice
	.comm	_DD_OPEN,4,2                    ## @DD_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse: OPEN - q=%x\n"

	.comm	_MODOPEN,4,2                    ## @MODOPEN
L_.str.1:                               ## @.str.1
	.asciz	"parse: OPEN - FAILED - not MODOPEN\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"parse: OPEN - FAILED - EXCLUSIVE ONLY\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_KM_SLEEP,4,2                   ## @KM_SLEEP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"parse: OPEN - parse area q=%x, q->q_ptr=%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"parse: OPEN - WQ parse area q=%x, q->q_ptr=%x\n"

	.comm	_PARSE_ENABLE,4,2               ## @PARSE_ENABLE
L_.str.5:                               ## @.str.5
	.asciz	"parse: OPEN - initializing io subsystem q=%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"parse: OPEN - initializing stream q=%x\n"

	.comm	_M_PARSE,4,2                    ## @M_PARSE
L_.str.7:                               ## @.str.7
	.asciz	"parse: OPEN - SUCCEEDED\n"

	.comm	_CE_CONT,4,2                    ## @CE_CONT
L_.str.8:                               ## @.str.8
	.asciz	"?%s: Copyright (c) 1993-2005, Frank Kardel\n"

	.comm	_modlstrmod,4,2                 ## @modlstrmod
	.no_dead_strip	_parseopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseopen
_parseopen:                             ; @parseopen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x19, x0
Lloh0:
	adrp	x22, _DD_OPEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DD_OPEN@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pprintf
Lloh4:
	adrp	x8, _MODOPEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MODOPEN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pprintf
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x22]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pprintf
LBB0_4:
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
Lloh15:
	adrp	x8, _KM_SLEEP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kmem_alloc
	str	x0, [x19]
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w8, [x22]
	stp	x19, x0, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_pprintf
	ldr	x20, [x19]
	mov	x0, x19
	bl	_WR
	str	x20, [x0]
	ldr	w20, [x22]
	mov	x0, x19
	bl	_WR
	mov	x21, x0
	mov	x0, x19
	bl	_WR
	ldr	x8, [x0]
	stp	x21, x8, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_pprintf
	ldr	x20, [x19]
	mov	x0, x20
	mov	w1, #48
	bl	_bzero
Lloh22:
	adrp	x8, _PARSE_ENABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PARSE_ENABLE@GOTPAGEOFF]
	str	x19, [x20, #40]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	stp	xzr, xzr, [x20, #16]
	str	xzr, [x20, #8]
	mov	x0, x19
	bl	_qprocson
	ldr	w0, [x22]
	str	x19, [sp]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_pprintf
	mov	x0, x20
	bl	_parse_ioinit
	cbz	w0, LBB0_13
; %bb.9:
	ldr	w0, [x22]
	str	x19, [sp]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_pprintf
Lloh29:
	adrp	x8, _M_PARSE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _M_PARSE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_setup_stream
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_init_linemon
	ldr	w0, [x22]
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_pprintf
	adrp	x19, _parseopen.notice@PAGE
	ldrb	w8, [x19, _parseopen.notice@PAGEOFF]
	tbz	w8, #0, LBB0_14
; %bb.11:
	mov	w0, #0
	b	LBB0_6
LBB0_12:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:
	mov	x0, x19
	bl	_qprocsoff
	mov	x0, x20
	mov	w1, #48
	bl	_kmem_free
	b	LBB0_4
LBB0_14:
Lloh36:
	adrp	x8, _CE_CONT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CE_CONT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _modlstrmod@GOTPAGE
Lloh40:
	ldr	x8, [x8, _modlstrmod@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_cmn_err
	mov	w0, #0
	mov	w8, #1
	strb	w8, [x19, _parseopen.notice@PAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_parseopen.notice,1,2 ; @parseopen.notice
	.comm	_DD_OPEN,4,2                    ; @DD_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse: OPEN - q=%x\n"

	.comm	_MODOPEN,4,2                    ; @MODOPEN
l_.str.1:                               ; @.str.1
	.asciz	"parse: OPEN - FAILED - not MODOPEN\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"parse: OPEN - FAILED - EXCLUSIVE ONLY\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_KM_SLEEP,4,2                   ; @KM_SLEEP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"parse: OPEN - parse area q=%x, q->q_ptr=%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"parse: OPEN - WQ parse area q=%x, q->q_ptr=%x\n"

	.comm	_PARSE_ENABLE,4,2               ; @PARSE_ENABLE
l_.str.5:                               ; @.str.5
	.asciz	"parse: OPEN - initializing io subsystem q=%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"parse: OPEN - initializing stream q=%x\n"

	.comm	_M_PARSE,4,2                    ; @M_PARSE
l_.str.7:                               ; @.str.7
	.asciz	"parse: OPEN - SUCCEEDED\n"

	.comm	_CE_CONT,4,2                    ; @CE_CONT
l_.str.8:                               ; @.str.8
	.asciz	"?%s: Copyright (c) 1993-2005, Frank Kardel\n"

	.comm	_modlstrmod,4,2                 ; @modlstrmod
	.no_dead_strip	_parseopen
.subsections_via_symbols
