	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sflags                       ## -- Begin function __sflags
	.p2align	4, 0x90
___sflags:                              ## @__sflags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsbl	(%rdi), %eax
	cmpl	$97, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$114, %eax
	je	LBB0_2
## %bb.4:
	cmpl	$119, %eax
	jne	LBB0_20
## %bb.5:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_TRUNC@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_7:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_APPEND@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	___SWR@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	xorl	%ecx, %ecx
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	___SRD@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rax), %r10d
	movl	(%rdx), %eax
	movq	_O_VERIFY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_O_EXCL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	___SRW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r11d
	movq	_O_RDWR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rdi), %ebx
	incq	%rdi
	cmpl	$98, %ebx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$117, %ebx
	jg	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$43, %ebx
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$101, %ebx
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	orl	%r9d, %ecx
	jmp	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$118, %ebx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$120, %ebx
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	orl	%edx, %ecx
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	%r11d, %eax
	movl	%r14d, %r10d
	jmp	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	orl	%r8d, %ecx
	jmp	LBB0_9
LBB0_18:
	testl	%ecx, %edx
	je	LBB0_21
## %bb.19:
	movq	_O_RDONLY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r10d
	jne	LBB0_21
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_21:
	orl	%r10d, %ecx
	movl	%ecx, (%rsi)
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___SRD,4,2                      ## @__SRD
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	___SWR,4,2                      ## @__SWR
	.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	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	___SRW,4,2                      ## @__SRW
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_O_VERIFY,4,2                   ## @O_VERIFY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sflags                       ; -- Begin function __sflags
	.p2align	2
___sflags:                              ; @__sflags
	.cfi_startproc
; %bb.0:
	ldrsb	w8, [x0]
Lloh0:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
	cmp	w8, #97
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #114
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #119
	b.ne	LBB0_19
; %bb.3:
Lloh2:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _O_TRUNC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _O_TRUNC@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x10, _O_APPEND@GOTPAGE
Lloh11:
	ldr	x10, [x10, _O_APPEND@GOTPAGEOFF]
LBB0_5:
	ldr	w10, [x10]
	orr	w10, w10, w8
Lloh12:
	adrp	x11, _O_WRONLY@GOTPAGE
Lloh13:
	ldr	x11, [x11, _O_WRONLY@GOTPAGEOFF]
Lloh14:
	adrp	x8, ___SWR@GOTPAGE
Lloh15:
	ldr	x8, [x8, ___SWR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w10, #0
Lloh16:
	adrp	x8, ___SRD@GOTPAGE
Lloh17:
	ldr	x8, [x8, ___SRD@GOTPAGEOFF]
	mov	x11, x9
LBB0_7:
	ldr	w11, [x11]
	ldr	w8, [x8]
Lloh18:
	adrp	x12, _O_VERIFY@GOTPAGE
Lloh19:
	ldr	x12, [x12, _O_VERIFY@GOTPAGEOFF]
Lloh20:
	ldr	w12, [x12]
Lloh21:
	adrp	x13, _O_CLOEXEC@GOTPAGE
Lloh22:
	ldr	x13, [x13, _O_CLOEXEC@GOTPAGEOFF]
Lloh23:
	ldr	w13, [x13]
Lloh24:
	adrp	x14, _O_EXCL@GOTPAGE
Lloh25:
	ldr	x14, [x14, _O_EXCL@GOTPAGEOFF]
Lloh26:
	ldr	w14, [x14]
Lloh27:
	adrp	x15, ___SRW@GOTPAGE
Lloh28:
	ldr	x15, [x15, ___SRW@GOTPAGEOFF]
Lloh29:
	ldr	w15, [x15]
Lloh30:
	adrp	x16, _O_RDWR@GOTPAGE
Lloh31:
	ldr	x16, [x16, _O_RDWR@GOTPAGEOFF]
Lloh32:
	ldr	w16, [x16]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	orr	w10, w2, w10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w17, [x0, #1]!
	cmp	w17, #98
	b.eq	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w17, #117
	b.gt	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w17, #43
	b.eq	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x2, x13
	cmp	w17, #101
	b.eq	LBB0_8
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x2, x12
	cmp	w17, #118
	b.eq	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w17, #120
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x2, x14
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x15
	mov	x11, x16
	b	LBB0_9
LBB0_17:
	tst	w14, w10
	b.eq	LBB0_20
; %bb.18:
	ldr	w9, [x9]
	cmp	w11, w9
	b.ne	LBB0_20
LBB0_19:
Lloh33:
	adrp	x9, _EINVAL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _errno@GOTPAGE
Lloh37:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh38:
	str	w9, [x10]
	mov	w0, #0
	ret
LBB0_20:
	orr	w9, w10, w11
	str	w9, [x1]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	___SRD,4,2                      ; @__SRD
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	___SWR,4,2                      ; @__SWR
	.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	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	___SRW,4,2                      ; @__SRW
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_O_VERIFY,4,2                   ; @O_VERIFY
.subsections_via_symbols
