	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function string_modifier_check
_string_modifier_check:                 ## @string_modifier_check
	.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
	movq	_R_MAGIC_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	je	LBB0_17
## %bb.1:
	movq	%rsi, %rbx
	movl	(%rsi), %edx
	leal	-128(%rdx), %ecx
	cmpl	$5, %ecx
	ja	LBB0_14
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_REGEX_OFFSET_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rbx)
	je	LBB0_17
## %bb.6:
	movq	_CHAR_REGEX_OFFSET_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_3:
	cmpl	$0, 4(%rbx)
	je	LBB0_17
## %bb.4:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_file_magwarn
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_15
LBB0_7:
	cmpl	$0, 8(%rbx)
	jne	LBB0_17
## %bb.8:
	movq	_STRING_DEFAULT_RANGE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_file_magwarn
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_16
LBB0_9:
	movl	4(%rbx), %ecx
	movq	_STRING_COMPACT_BLANK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_12
## %bb.10:
	movq	_CHAR_COMPACT_BLANK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_12:
	movq	_STRING_COMPACT_OPTIONAL_BLANK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_17
## %bb.13:
	movq	_CHAR_COMPACT_OPTIONAL_BLANK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_file_magwarn
LBB0_16:
	movl	$-1, %eax
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_R_MAGIC_CHECK,4,2              ## @R_MAGIC_CHECK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no modifiers allowed for 16-bit strings\n"

	.comm	_REGEX_OFFSET_START,4,2         ## @REGEX_OFFSET_START
L_.str.1:                               ## @.str.1
	.asciz	"'/%c' only allowed on regex and search\n"

	.comm	_CHAR_REGEX_OFFSET_START,4,2    ## @CHAR_REGEX_OFFSET_START
L_.str.2:                               ## @.str.2
	.asciz	"missing range; defaulting to %d\n"

	.comm	_STRING_DEFAULT_RANGE,4,2       ## @STRING_DEFAULT_RANGE
	.comm	_STRING_COMPACT_BLANK,4,2       ## @STRING_COMPACT_BLANK
L_.str.3:                               ## @.str.3
	.asciz	"'/%c' not allowed on regex\n"

	.comm	_CHAR_COMPACT_BLANK,4,2         ## @CHAR_COMPACT_BLANK
	.comm	_STRING_COMPACT_OPTIONAL_BLANK,4,2 ## @STRING_COMPACT_OPTIONAL_BLANK
	.comm	_CHAR_COMPACT_OPTIONAL_BLANK,4,2 ## @CHAR_COMPACT_OPTIONAL_BLANK
L_.str.4:                               ## @.str.4
	.asciz	"coding error: m->type=%d\n"

	.no_dead_strip	_string_modifier_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function string_modifier_check
_string_modifier_check:                 ; @string_modifier_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _R_MAGIC_CHECK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_MAGIC_CHECK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _REGEX_OFFSET_START@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REGEX_OFFSET_START@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
Lloh8:
	adrp	x8, _CHAR_REGEX_OFFSET_START@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHAR_REGEX_OFFSET_START@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_5:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_9
; %bb.6:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_7:
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_8:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_12
LBB0_9:
	mov	w0, #0
	b	LBB0_18
LBB0_10:
	ldr	w8, [x19, #4]
Lloh17:
	adrp	x9, _STRING_COMPACT_BLANK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _STRING_COMPACT_BLANK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
Lloh20:
	adrp	x8, _CHAR_COMPACT_BLANK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHAR_COMPACT_BLANK@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh22:
	adrp	x20, _STRING_DEFAULT_RANGE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _STRING_DEFAULT_RANGE@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_file_magwarn
	ldr	w8, [x20]
	str	w8, [x19, #8]
	b	LBB0_17
LBB0_13:
Lloh26:
	adrp	x9, _STRING_COMPACT_OPTIONAL_BLANK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _STRING_COMPACT_OPTIONAL_BLANK@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.14:
Lloh29:
	adrp	x8, _CHAR_COMPACT_OPTIONAL_BLANK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CHAR_COMPACT_OPTIONAL_BLANK@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_16:
	bl	_file_magwarn
LBB0_17:
	mov	w0, #-1
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
                                        ; -- End function
	.comm	_R_MAGIC_CHECK,4,2              ; @R_MAGIC_CHECK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no modifiers allowed for 16-bit strings\n"

	.comm	_REGEX_OFFSET_START,4,2         ; @REGEX_OFFSET_START
l_.str.1:                               ; @.str.1
	.asciz	"'/%c' only allowed on regex and search\n"

	.comm	_CHAR_REGEX_OFFSET_START,4,2    ; @CHAR_REGEX_OFFSET_START
l_.str.2:                               ; @.str.2
	.asciz	"missing range; defaulting to %d\n"

	.comm	_STRING_DEFAULT_RANGE,4,2       ; @STRING_DEFAULT_RANGE
	.comm	_STRING_COMPACT_BLANK,4,2       ; @STRING_COMPACT_BLANK
l_.str.3:                               ; @.str.3
	.asciz	"'/%c' not allowed on regex\n"

	.comm	_CHAR_COMPACT_BLANK,4,2         ; @CHAR_COMPACT_BLANK
	.comm	_STRING_COMPACT_OPTIONAL_BLANK,4,2 ; @STRING_COMPACT_OPTIONAL_BLANK
	.comm	_CHAR_COMPACT_OPTIONAL_BLANK,4,2 ; @CHAR_COMPACT_OPTIONAL_BLANK
l_.str.4:                               ; @.str.4
	.asciz	"coding error: m->type=%d\n"

	.no_dead_strip	_string_modifier_check
.subsections_via_symbols
