	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_builtin_ceil
_fold_builtin_ceil:                     ## @fold_builtin_ceil
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_REAL_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VOID_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_validate_arglist
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	callq	_TREE_VALUE
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_REAL_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movl	%r15d, %edi
	callq	_TREE_CONSTANT_OVERFLOW
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movl	%r15d, %edi
	callq	_TREE_REAL_CST
	movl	%eax, -32(%rbp)
	movl	%eax, %edi
	callq	_REAL_VALUE_ISNAN
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_flag_errno_math@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
LBB0_8:
	movl	%r14d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_trunc_transparent_mathfn  ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%r14d, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TYPE_MODE
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rdx
	movl	%eax, %esi
	callq	_real_ceil
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_build_real
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_REAL_TYPE,4,2                  ## @REAL_TYPE
	.comm	_VOID_TYPE,4,2                  ## @VOID_TYPE
	.comm	_REAL_CST,8,3                   ## @REAL_CST
	.comm	_flag_errno_math,4,2            ## @flag_errno_math
	.no_dead_strip	_fold_builtin_ceil
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_builtin_ceil
_fold_builtin_ceil:                     ; @fold_builtin_ceil
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _REAL_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REAL_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VOID_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VOID_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_validate_arglist
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_TREE_VALUE
	mov	x21, x0
	bl	_TREE_CODE
Lloh6:
	adrp	x8, _REAL_CST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REAL_CST@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_TREE_CONSTANT_OVERFLOW
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_TREE_REAL_CST
	str	w0, [sp, #12]
	bl	_REAL_VALUE_ISNAN
	cbz	w0, LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _flag_errno_math@GOTPAGE
Lloh10:
	ldr	x8, [x8, _flag_errno_math@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_fold_trunc_transparent_mathfn
LBB0_6:
	mov	x0, x19
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x19, x0
	bl	_TYPE_MODE
	mov	x1, x0
	add	x0, sp, #8
	add	x2, sp, #12
	bl	_real_ceil
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_build_real
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REAL_TYPE,4,2                  ; @REAL_TYPE
	.comm	_VOID_TYPE,4,2                  ; @VOID_TYPE
	.comm	_REAL_CST,8,3                   ; @REAL_CST
	.comm	_flag_errno_math,4,2            ; @flag_errno_math
	.no_dead_strip	_fold_builtin_ceil
.subsections_via_symbols
