	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modestr
_modestr:                               ## @modestr
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movl	$1, %edi
	cmpb	$97, %bl
	je	LBB0_3
## %bb.1:
	cmpb	$114, %bl
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpb	$119, %bl
	sete	%dil
LBB0_3:
	callq	_OPENSSL_assert
	cmpl	$119, %ebx
	je	LBB0_9
## %bb.4:
	cmpl	$114, %ebx
	je	LBB0_8
## %bb.5:
	cmpl	$97, %ebx
	jne	LBB0_6
## %bb.7:
	movl	%r14d, %edi
	callq	_istext
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movl	%r14d, %edi
	callq	_istext
	testl	%eax, %eax
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movl	%r14d, %edi
	callq	_istext
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
LBB0_10:
	cmoveq	%rcx, %rax
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a"

L_.str.1:                               ## @.str.1
	.asciz	"ab"

L_.str.2:                               ## @.str.2
	.asciz	"r"

L_.str.3:                               ## @.str.3
	.asciz	"rb"

L_.str.4:                               ## @.str.4
	.asciz	"w"

L_.str.5:                               ## @.str.5
	.asciz	"wb"

	.no_dead_strip	_modestr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modestr
_modestr:                               ; @modestr
	.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, x1
	mov	x20, x0
	mov	w8, #1
	cmp	w0, #119
	cset	w9, eq
	cmp	w0, #114
	csel	w9, w8, w9, eq
	cmp	w0, #97
	csel	w0, w8, w9, eq
	bl	_OPENSSL_assert
	cmp	w20, #119
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #114
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #97
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_istext
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_istext
Lloh4:
	adrp	x8, l_.str.4@PAGE
Lloh5:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh6:
	adrp	x9, l_.str.5@PAGE
Lloh7:
	add	x9, x9, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_istext
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh10:
	adrp	x9, l_.str.3@PAGE
Lloh11:
	add	x9, x9, l_.str.3@PAGEOFF
LBB0_6:
	cmp	w0, #0
	csel	x0, x9, x8, eq
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a"

l_.str.1:                               ; @.str.1
	.asciz	"ab"

l_.str.2:                               ; @.str.2
	.asciz	"r"

l_.str.3:                               ; @.str.3
	.asciz	"rb"

l_.str.4:                               ; @.str.4
	.asciz	"w"

l_.str.5:                               ; @.str.5
	.asciz	"wb"

	.no_dead_strip	_modestr
.subsections_via_symbols
