	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_merge_order          ## -- Begin function tuplesort_merge_order
	.p2align	4, 0x90
_tuplesort_merge_order:                 ## @tuplesort_merge_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_TAPE_BUFFER_OVERHEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %eax
	movq	_MERGE_BUFFER_SIZE@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	cltd
	idivl	%ecx
	movq	_MINORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_Max
	movq	_MAXORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_Min                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TAPE_BUFFER_OVERHEAD,4,2       ## @TAPE_BUFFER_OVERHEAD
	.comm	_MERGE_BUFFER_SIZE,4,2          ## @MERGE_BUFFER_SIZE
	.comm	_MINORDER,4,2                   ## @MINORDER
	.comm	_MAXORDER,4,2                   ## @MAXORDER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_merge_order          ; -- Begin function tuplesort_merge_order
	.p2align	2
_tuplesort_merge_order:                 ; @tuplesort_merge_order
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _TAPE_BUFFER_OVERHEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAPE_BUFFER_OVERHEAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w0, w8
Lloh3:
	adrp	x10, _MERGE_BUFFER_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MERGE_BUFFER_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w8, w10, w8
	sdiv	w0, w9, w8
Lloh6:
	adrp	x8, _MINORDER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MINORDER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_Max
Lloh9:
	adrp	x8, _MAXORDER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAXORDER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_Min
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TAPE_BUFFER_OVERHEAD,4,2       ; @TAPE_BUFFER_OVERHEAD
	.comm	_MERGE_BUFFER_SIZE,4,2          ; @MERGE_BUFFER_SIZE
	.comm	_MINORDER,4,2                   ; @MINORDER
	.comm	_MAXORDER,4,2                   ; @MAXORDER
.subsections_via_symbols
