	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsde_parse_mode                ## -- Begin function bsde_parse_mode
	.p2align	4, 0x90
_bsde_parse_mode:                       ## @bsde_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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rsi, %r13
	cmpl	$1, %edi
	je	LBB0_4
## %bb.1:
	testl	%edi, %edi
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_4:
	movq	%rdx, %r12
	movq	$0, (%rdx)
	movq	(%r13), %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_15
## %bb.5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_MBI_ADMIN@GOTPCREL(%rip), %r14
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_MBI_READ@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rax
	orq	%rax, (%r12)
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	callq	_strlen
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movsbl	(%rdi,%rbx), %ecx
	leal	-97(%rcx), %eax
	cmpl	$23, %eax
	ja	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r15,%rax,4), %rdx
	addq	%r15, %rdx
	movq	%r14, %rax
	jmpq	*%rdx
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_MBI_STAT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_MBI_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_MBI_EXEC@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	8(%r13), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$-1, %eax
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode expects mode value"

L_.str.1:                               ## @.str.1
	.asciz	"'%s' unexpected"

	.comm	_MBI_ADMIN,8,3                  ## @MBI_ADMIN
	.comm	_MBI_READ,8,3                   ## @MBI_READ
	.comm	_MBI_STAT,8,3                   ## @MBI_STAT
	.comm	_MBI_WRITE,8,3                  ## @MBI_WRITE
	.comm	_MBI_EXEC,8,3                   ## @MBI_EXEC
L_.str.2:                               ## @.str.2
	.asciz	"Unknown mode letter: %c"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsde_parse_mode                ; -- Begin function bsde_parse_mode
	.p2align	2
_bsde_parse_mode:                       ; @bsde_parse_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x19, x3
	mov	x21, x1
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w0, LBB0_13
; %bb.2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_14
LBB0_3:
	mov	x22, x2
	str	xzr, [x2]
	ldr	x0, [x21]
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.4:
	mov	x23, #0
Lloh2:
	adrp	x24, _MBI_ADMIN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MBI_ADMIN@GOTPAGEOFF]
Lloh4:
	adrp	x26, lJTI0_0@PAGE
Lloh5:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh6:
	adrp	x27, _MBI_STAT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MBI_STAT@GOTPAGEOFF]
Lloh8:
	adrp	x28, _MBI_WRITE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _MBI_WRITE@GOTPAGEOFF]
Lloh10:
	adrp	x25, _MBI_EXEC@GOTPAGE
Lloh11:
	ldr	x25, [x25, _MBI_EXEC@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x9, _MBI_READ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MBI_READ@GOTPAGEOFF]
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x9]
	ldr	x9, [x22]
	orr	x8, x9, x8
	str	x8, [x22]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	bl	_strlen
	cmp	x23, w0, sxtw
	b.ge	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldrsb	w8, [x0, x23]
	sub	w9, w8, #97
	cmp	w9, #23
	b.hi	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	adr	x10, LBB0_5
	ldrb	w11, [x26, x9]
	add	x10, x10, x11, lsl #2
	mov	x9, x24
	br	x10
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x27
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x28
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x25
	b	LBB0_6
LBB0_13:
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	mov	w0, #-1
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode expects mode value"

l_.str.1:                               ; @.str.1
	.asciz	"'%s' unexpected"

	.comm	_MBI_ADMIN,8,3                  ; @MBI_ADMIN
	.comm	_MBI_READ,8,3                   ; @MBI_READ
	.comm	_MBI_STAT,8,3                   ; @MBI_STAT
	.comm	_MBI_WRITE,8,3                  ; @MBI_WRITE
	.comm	_MBI_EXEC,8,3                   ; @MBI_EXEC
l_.str.2:                               ; @.str.2
	.asciz	"Unknown mode letter: %c"

.subsections_via_symbols
