	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Math_atan
_Math_atan:                             ## @Math_atan
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r12
	movl	%ecx, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	movl	(%r12), %esi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_to_number
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	movsd	-40(%rbp), %xmm0                ## xmm0 = mem[0],zero
	callq	_atan
	movl	%eax, %edi
	jmp	LBB0_6
LBB0_1:
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	movq	_NAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_6:
	callq	_jsval_number
	movl	%eax, (%r14)
LBB0_7:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_NAN,4,2                        ## @NAN
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_Math_atan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Math_atan
_Math_atan:                             ; @Math_atan
	.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	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w22, LBB0_4
; %bb.1:
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_to_number
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_8
; %bb.2:
	cbz	x19, LBB0_7
; %bb.3:
	ldr	d0, [sp, #8]
	bl	_atan
	b	LBB0_6
LBB0_4:
	cbz	x19, LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _NAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_6:
	bl	_jsval_number
	str	w0, [x19]
LBB0_7:
Lloh5:
	adrp	x8, _S_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
LBB0_8:
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_NAN,4,2                        ; @NAN
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_Math_atan
.subsections_via_symbols
