	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplestore_set_eflags          ## -- Begin function tuplestore_set_eflags
	.p2align	4, 0x90
_tuplestore_set_eflags:                 ## @tuplestore_set_eflags
	.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, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_TSS_INMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movq	24(%r14), %rax
	movl	%ebx, (%rax)
	movl	16(%r14), %ecx
	cmpl	$2, %ecx
	jl	LBB0_14
## %bb.4:
	leaq	-1(%rcx), %r8
	movl	$1, %edx
	cmpq	$8, %r8
	jb	LBB0_13
## %bb.5:
	movq	%r8, %rdx
	andq	$-8, %rdx
	movd	%ebx, %xmm0
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rbx
	jae	LBB0_7
## %bb.6:
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	4(%rax,%rbx,4), %xmm2
	por	%xmm0, %xmm2
	movdqu	20(%rax,%rbx,4), %xmm0
	por	%xmm1, %xmm0
	movdqu	36(%rax,%rbx,4), %xmm1
	movdqu	52(%rax,%rbx,4), %xmm3
	movdqu	68(%rax,%rbx,4), %xmm4
	por	%xmm1, %xmm4
	por	%xmm2, %xmm4
	movdqu	84(%rax,%rbx,4), %xmm2
	por	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqu	100(%rax,%rbx,4), %xmm0
	por	%xmm4, %xmm0
	movdqu	116(%rax,%rbx,4), %xmm1
	por	%xmm2, %xmm1
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%rsi, %rsi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rdi
	orq	$4, %rdi
	movdqu	(%rax,%rdi), %xmm2
	por	%xmm2, %xmm0
	movdqu	16(%rax,%rdi), %xmm2
	por	%xmm2, %xmm1
	addq	$8, %rbx
	decq	%rsi
	jne	LBB0_10
LBB0_11:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ebx
	cmpq	%rdx, %r8
	je	LBB0_14
## %bb.12:
	orq	$1, %rdx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	orl	(%rax,%rdx,4), %ebx
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_14:
	movl	%ebx, 20(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSS_INMEM,8,3                  ## @TSS_INMEM
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too late to call tuplestore_set_eflags"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplestore_set_eflags          ; -- Begin function tuplestore_set_eflags
	.p2align	2
_tuplestore_set_eflags:                 ; @tuplestore_set_eflags
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TSS_INMEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TSS_INMEM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	ldr	x9, [x19, #24]
	str	w20, [x9]
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.4:
	sub	x11, x8, #1
	cmp	x11, #16
	b.hs	LBB0_6
; %bb.5:
	mov	w10, #1
	b	LBB0_9
LBB0_6:
	and	x12, x11, #0xfffffffffffffff0
	orr	x10, x12, #0x1
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w20
	add	x13, x9, #36
	mov	x14, x12
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13], #64
	orr.16b	v1, v4, v1
	orr.16b	v0, v5, v0
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x14, x14, #16
	b.ne	LBB0_7
; %bb.8:
	orr.16b	v0, v0, v1
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w13, s0
	mov.s	w14, v0[1]
	orr	w20, w13, w14
	cmp	x11, x12
	b.eq	LBB0_11
LBB0_9:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	orr	w20, w10, w20
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	str	w20, [x19, #20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TSS_INMEM,8,3                  ; @TSS_INMEM
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too late to call tuplestore_set_eflags"

.subsections_via_symbols
