	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_builtin_cos
_fold_builtin_cos:                      ## @fold_builtin_cos
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_TREE_VALUE
	movl	%eax, %r12d
	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	%r12d, %edi
	callq	_real_zerop
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_dconst1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_real                     ## TAILCALL
LBB0_1:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_4
LBB0_3:
	movl	%r12d, %edi
	callq	_TREE_CODE
	movq	_NEGATE_EXPR@GOTPCREL(%rip), %rcx
	movq	_NULL_TREE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.6:
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_build_tree_list
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_function_call_expr       ## TAILCALL
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REAL_TYPE,4,2                  ## @REAL_TYPE
	.comm	_VOID_TYPE,4,2                  ## @VOID_TYPE
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_dconst1,4,2                    ## @dconst1
	.comm	_NEGATE_EXPR,8,3                ## @NEGATE_EXPR
	.no_dead_strip	_fold_builtin_cos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_builtin_cos
_fold_builtin_cos:                      ; @fold_builtin_cos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_TREE_VALUE
	mov	x20, 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, x22
	bl	_validate_arglist
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_real_zerop
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _dconst1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dconst1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_build_real
LBB0_3:
Lloh9:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_TREE_CODE
Lloh12:
	adrp	x8, _NEGATE_EXPR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NEGATE_EXPR@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _NULL_TREE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NULL_TREE@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x9]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x21
	bl	_build_tree_list
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_build_function_call_expr
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REAL_TYPE,4,2                  ; @REAL_TYPE
	.comm	_VOID_TYPE,4,2                  ; @VOID_TYPE
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_dconst1,4,2                    ; @dconst1
	.comm	_NEGATE_EXPR,8,3                ; @NEGATE_EXPR
	.no_dead_strip	_fold_builtin_cos
.subsections_via_symbols
