	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___parse_mode                   ## -- Begin function __parse_mode
	.p2align	4, 0x90
___parse_mode:                          ## @__parse_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	orl	%r8d, %r9d
	movq	_O_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	orl	%r9d, %r11d
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %r9d
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%r8d
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%eax, %eax
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	andl	%r8d, %eax
	orl	%r10d, %eax
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
	movl	%ecx, %eax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdi), %edx
	cmpl	$113, %edx
	jg	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$43, %edx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r11d, %ecx
	cmpl	$97, %edx
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%edx, %edx
	jne	LBB0_10
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %ecx
	cmpl	$114, %edx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
	cmpl	$119, %edx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r9d, %ecx
	jmp	LBB0_11
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_RDWR,4,2                     ## @O_RDWR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___parse_mode                   ; -- Begin function __parse_mode
	.p2align	2
___parse_mode:                          ; @__parse_mode
	.cfi_startproc
; %bb.0:
	mov	w8, #0
Lloh0:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh2:
	adrp	x10, _O_CREAT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _O_CREAT@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x9]
Lloh5:
	ldr	w9, [x10]
	orr	w10, w9, w12
Lloh6:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w10, w9
Lloh9:
	adrp	x11, _O_TRUNC@GOTPAGE
Lloh10:
	ldr	x11, [x11, _O_TRUNC@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x13, _O_RDONLY@GOTPAGE
Lloh13:
	ldr	x13, [x13, _O_RDONLY@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh14:
	ldr	w11, [x13]
	mvn	w12, w12
Lloh15:
	adrp	x13, _O_RDWR@GOTPAGE
Lloh16:
	ldr	x13, [x13, _O_RDWR@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, #119
	csel	w8, w10, w8, eq
	cmp	w14, #114
	csel	w15, w11, w8, eq
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	mov	x8, x15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w14, [x0]
	cmp	w14, #113
	b.gt	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, #43
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, x9
	cmp	w14, #97
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w14, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, x8
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w8, w12
	orr	w15, w8, w13
	b	LBB0_2
LBB0_9:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_RDWR,4,2                     ; @O_RDWR
.subsections_via_symbols
