	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unextend
_unextend:                              ## @unextend
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_TREE_TYPE
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TYPE_MODE
	movl	%eax, %edi
	callq	_GET_MODE_BITSIZE
	testl	%r15d, %r15d
	jne	LBB0_10
## %bb.1:
	movl	%eax, %r13d
	cmpl	%r14d, %eax
	je	LBB0_10
## %bb.2:
	movq	_RSHIFT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	-1(%r14), %edi
	callq	_size_int
	movl	%r15d, %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%rax, %r15
	movq	_BIT_AND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %edi
	callq	_size_int
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_TYPE_UNSIGNED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_lang_hooks@GOTPCREL(%rip), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_fold_convert
	movq	%rax, %r15
LBB0_4:
	movq	_LSHIFT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	-1(%r13), %edi
	callq	_size_int
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%rax, %r15
	movq	_RSHIFT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%r14d
	addl	%r13d, %r14d
	movl	%r14d, %edi
	callq	_size_int
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%rax, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	_BIT_AND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_fold_convert
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%rax, %r13
	jmp	LBB0_7
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_7:
	movq	%r12, %rdi
	callq	_TYPE_UNSIGNED
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_fold_convert
	movq	%rax, %r13
LBB0_9:
	movq	_BIT_XOR_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_const_binop
	movq	%r12, %rdi
	movq	%rax, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_convert                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RSHIFT_EXPR,4,2                ## @RSHIFT_EXPR
	.comm	_BIT_AND_EXPR,4,2               ## @BIT_AND_EXPR
	.comm	_lang_hooks,8,3                 ## @lang_hooks
	.comm	_LSHIFT_EXPR,4,2                ## @LSHIFT_EXPR
	.comm	_BIT_XOR_EXPR,4,2               ## @BIT_XOR_EXPR
	.no_dead_strip	_unextend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unextend
_unextend:                              ; @unextend
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
	bl	_TREE_TYPE
	mov	x20, x0
	bl	_TYPE_MODE
	bl	_GET_MODE_BITSIZE
	cbnz	w24, LBB0_9
; %bb.1:
	mov	x23, x0
	cmp	w0, w22
	b.eq	LBB0_9
; %bb.2:
Lloh0:
	adrp	x27, _RSHIFT_EXPR@GOTPAGE
Lloh1:
	ldr	x27, [x27, _RSHIFT_EXPR@GOTPAGEOFF]
	ldr	w24, [x27]
	sub	w0, w22, #1
	bl	_size_int
	mov	x2, x0
	mov	x0, x24
	mov	x1, x19
	mov	w3, #0
	bl	_const_binop
	mov	x24, x0
Lloh2:
	adrp	x26, _BIT_AND_EXPR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _BIT_AND_EXPR@GOTPAGEOFF]
	ldr	w25, [x26]
	mov	w0, #1
	bl	_size_int
	mov	x2, x0
	mov	x0, x25
	mov	x1, x24
	mov	w3, #0
	bl	_const_binop
	mov	x24, x0
	mov	x0, x20
	bl	_TYPE_UNSIGNED
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _lang_hooks@GOTPAGE
Lloh5:
	ldr	x8, [x8, _lang_hooks@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x1, x24
	bl	_fold_convert
	mov	x24, x0
LBB0_4:
Lloh7:
	adrp	x8, _LSHIFT_EXPR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LSHIFT_EXPR@GOTPAGEOFF]
Lloh9:
	ldr	w25, [x8]
	sub	w0, w23, #1
	bl	_size_int
	mov	x2, x0
	mov	x0, x25
	mov	x1, x24
	mov	w3, #0
	bl	_const_binop
	mov	x24, x0
	ldr	w25, [x27]
	mvn	w8, w22
	add	w0, w23, w8
	bl	_size_int
	mov	x2, x0
	mov	x0, x25
	mov	x1, x24
	mov	w3, #0
	bl	_const_binop
	mov	x22, x0
	cbz	x21, LBB0_6
; %bb.5:
	ldr	w23, [x26]
	mov	x0, x19
	bl	_TREE_TYPE
	mov	x1, x21
	bl	_fold_convert
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	mov	w3, #0
	bl	_const_binop
	mov	x22, x0
LBB0_6:
	mov	x0, x20
	bl	_TYPE_UNSIGNED
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x22
	bl	_fold_convert
	mov	x22, x0
LBB0_8:
Lloh10:
	adrp	x8, _BIT_XOR_EXPR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BIT_XOR_EXPR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x22
	mov	w3, #0
	bl	_const_binop
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_fold_convert
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RSHIFT_EXPR,4,2                ; @RSHIFT_EXPR
	.comm	_BIT_AND_EXPR,4,2               ; @BIT_AND_EXPR
	.comm	_lang_hooks,8,3                 ; @lang_hooks
	.comm	_LSHIFT_EXPR,4,2                ; @LSHIFT_EXPR
	.comm	_BIT_XOR_EXPR,4,2               ; @BIT_XOR_EXPR
	.no_dead_strip	_unextend
.subsections_via_symbols
