	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gbt_var_node_truncate
_gbt_var_node_truncate:                 ## @gbt_var_node_truncate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	callq	_gbt_var_key_readable
	movq	%rax, %rbx
	movq	%rax, %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shrq	$32, %r15
	movl	%r15d, %edi
	callq	_VARSIZE
	movl	%eax, %r14d
	movq	_VARHDRSZ@GOTPCREL(%rip), %r13
	subl	(%r13), %r14d
	movl	%ebx, %edi
	callq	_VARSIZE
	movl	%eax, %ebx
	subl	(%r13), %ebx
	incl	%r12d
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_Min
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_Min
	movl	%eax, %r12d
	movl	(%r13), %ebx
	leal	(%rbx,%r14), %edi
	callq	_INTALIGN
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %eax
	leal	(%rax,%rbx,2), %ebx
	movl	%ebx, %edi
	callq	_palloc0
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_SET_VARSIZE
	movq	%r13, %rdi
	callq	_VARDATA
	movq	_VARHDRSZ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	addl	%r14d, %edx
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_memcpy
	movq	%r13, %rdi
	callq	_VARDATA
	movl	(%rbx), %esi
	addl	%r14d, %esi
	movq	%rax, %rdi
	callq	_SET_VARSIZE
	movq	%r13, %rdi
	callq	_VARDATA
	movq	%rax, %r15
	addl	(%rbx), %r14d
	movl	%r14d, %edi
	callq	_INTALIGN
	movslq	%eax, %rbx
	addq	%r15, %rbx
	movq	_VARHDRSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r12d, %edx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_memcpy
	movq	_VARHDRSZ@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_SET_VARSIZE
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,4,2                   ## @VARHDRSZ
	.no_dead_strip	_gbt_var_node_truncate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gbt_var_node_truncate
_gbt_var_node_truncate:                 ; @gbt_var_node_truncate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	bl	_gbt_var_key_readable
	mov	x19, x0
	lsr	x22, x0, #32
	mov	x0, x22
	bl	_VARSIZE
Lloh0:
	adrp	x25, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VARHDRSZ@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w21, w0, w8
	mov	x0, x19
	bl	_VARSIZE
	ldr	w8, [x25]
	sub	w23, w0, w8
	add	w20, w20, #1
	mov	x0, x21
	mov	x1, x20
	bl	_Min
	mov	x24, x0
	mov	x0, x23
	mov	x1, x20
	bl	_Min
	mov	x20, x0
	ldr	w21, [x25]
	add	w0, w21, w24
	bl	_INTALIGN
	add	w8, w0, w20
	add	w23, w8, w21, lsl #1
	mov	x0, x23
	bl	_palloc0
	mov	x21, x0
	mov	x1, x23
	bl	_SET_VARSIZE
	mov	x0, x21
	bl	_VARDATA
	ldr	w8, [x25]
	add	w2, w8, w24
	mov	x1, x22
	bl	_memcpy
	mov	x0, x21
	bl	_VARDATA
	ldr	w8, [x25]
	add	w1, w8, w24
	bl	_SET_VARSIZE
	mov	x0, x21
	bl	_VARDATA
	mov	x22, x0
	ldr	w8, [x25]
	add	w0, w8, w24
	bl	_INTALIGN
	add	x22, x22, w0, sxtw
	ldr	w8, [x25]
	add	w2, w8, w20
	mov	x0, x22
	mov	x1, x19
	bl	_memcpy
	ldr	w8, [x25]
	add	w1, w8, w20
	mov	x0, x22
	bl	_SET_VARSIZE
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,4,2                   ; @VARHDRSZ
	.no_dead_strip	_gbt_var_node_truncate
.subsections_via_symbols
