	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_builtin_tan
_fold_builtin_tan:                      ## @fold_builtin_tan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_TREE_VALUE
	movl	%eax, %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_6
## %bb.1:
	movl	%r14d, %edi
	callq	_real_zerop
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movl	%r14d, %edi
	callq	_builtin_mathfn_code
	movq	_flag_unsafe_math_optimizations@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.3:
	movq	_BUILT_IN_ATAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.4:
	movq	_BUILT_IN_ATANF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.5:
	movq	_BUILT_IN_ATANL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
LBB0_6:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_TREE_VALUE                     ## TAILCALL
	.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	_flag_unsafe_math_optimizations,8,3 ## @flag_unsafe_math_optimizations
	.comm	_BUILT_IN_ATAN,4,2              ## @BUILT_IN_ATAN
	.comm	_BUILT_IN_ATANF,4,2             ## @BUILT_IN_ATANF
	.comm	_BUILT_IN_ATANL,4,2             ## @BUILT_IN_ATANL
	.no_dead_strip	_fold_builtin_tan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_builtin_tan
_fold_builtin_tan:                      ; @fold_builtin_tan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_TREE_VALUE
	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_5
; %bb.1:
	mov	x0, x19
	bl	_real_zerop
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_builtin_mathfn_code
Lloh6:
	adrp	x8, _flag_unsafe_math_optimizations@GOTPAGE
Lloh7:
	ldr	x8, [x8, _flag_unsafe_math_optimizations@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _BUILT_IN_ATAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUILT_IN_ATAN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _BUILT_IN_ATANF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BUILT_IN_ATANF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _BUILT_IN_ATANL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _BUILT_IN_ATANL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_TREE_OPERAND
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_TREE_VALUE
LBB0_5:
Lloh18:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_flag_unsafe_math_optimizations,8,3 ; @flag_unsafe_math_optimizations
	.comm	_BUILT_IN_ATAN,4,2              ; @BUILT_IN_ATAN
	.comm	_BUILT_IN_ATANF,4,2             ; @BUILT_IN_ATANF
	.comm	_BUILT_IN_ATANL,4,2             ; @BUILT_IN_ATANL
	.no_dead_strip	_fold_builtin_tan
.subsections_via_symbols
