	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_string
_check_string:                          ## @check_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_i@GOTPCREL(%rip), %r14
	movq	_AnyMem@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rcx
	movq	8(%r14), %rax
	xorl	%edx, %edx
	andl	(%rcx), %ebx
	sete	%dl
	movq	_EsSeg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%rdx,4)
	je	LBB0_5
## %bb.1:
	movq	24(%r14), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	cmpq	_es@GOTPCREL(%rip), %rcx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	16(%r14), %esi
	xorl	%r15d, %r15d
	cmpl	$1, %ebx
	movl	$0, %edx
	adcl	$1, %edx
	movl	%eax, %edi
	callq	_as_bad
	jmp	LBB0_9
LBB0_5:
	xorl	%edx, %edx
	testl	%ebx, %ebx
	sete	%dl
	movl	$1, %r15d
	testl	%ecx, 4(%rax,%rdx,4)
	je	LBB0_9
## %bb.6:
	movq	24(%r14), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	cmpq	_es@GOTPCREL(%rip), %rax
	je	LBB0_9
## %bb.8:
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	sete	%r15b
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	16(%r14), %esi
	orl	$2, %r15d
	movl	%eax, %edi
	movl	%r15d, %edx
	callq	_as_bad
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_4:
	movq	8(%rax), %rcx
	movq	%rcx, (%rax)
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i,32,3                         ## @i
	.comm	_AnyMem,4,2                     ## @AnyMem
	.comm	_EsSeg,4,2                      ## @EsSeg
	.comm	_es,4,2                         ## @es
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"`%s' operand %d must use `%%es' segment"

	.no_dead_strip	_check_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_string
_check_string:                          ; @check_string
	.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
Lloh0:
	adrp	x19, _i@GOTPAGE
Lloh1:
	ldr	x19, [x19, _i@GOTPAGEOFF]
	ldp	x9, x8, [x19]
	ldr	w9, [x9]
Lloh2:
	adrp	x10, _AnyMem@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AnyMem@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	ands	w20, w10, w9
	cset	w9, eq
	ldr	w10, [x8, w9, uxtw #2]
Lloh5:
	adrp	x9, _EsSeg@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EsSeg@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	cmp	x9, #0
Lloh8:
	adrp	x10, _es@GOTPAGE
Lloh9:
	ldr	x10, [x10, _es@GOTPAGEOFF]
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_6
; %bb.2:
	ldr	x9, [x8, #8]
	str	x9, [x8]
	mov	w0, #1
	b	LBB0_9
LBB0_3:
	cmp	w20, #0
	mov	w10, #4
	mov	w11, #8
	csel	x10, x11, x10, eq
	ldr	w8, [x8, x10]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cmp	x8, #0
Lloh10:
	adrp	x9, _es@GOTPAGE
Lloh11:
	ldr	x9, [x9, _es@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_7
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x19, #16]
	cmp	w20, #0
	mov	w8, #1
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x19, #16]
	cmp	w20, #0
	mov	w8, #2
LBB0_8:
	cinc	w2, w8, eq
	bl	_as_bad
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_i,32,3                         ; @i
	.comm	_AnyMem,4,2                     ; @AnyMem
	.comm	_EsSeg,4,2                      ; @EsSeg
	.comm	_es,4,2                         ; @es
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"`%s' operand %d must use `%%es' segment"

	.no_dead_strip	_check_string
.subsections_via_symbols
