	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function month_from_time
_month_from_time:                       ## @month_from_time
	.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	%edi, %ebx
	callq	_in_leap_year
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_day_within_year
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_NAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_2:
	xorl	%eax, %eax
	cmpl	$31, %r15d
	jb	LBB0_13
## %bb.3:
	leal	59(%r14), %ecx
	movl	$1, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.4:
	leal	90(%r14), %ecx
	movl	$2, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.5:
	leal	120(%r14), %ecx
	movl	$3, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.6:
	leal	151(%r14), %ecx
	movl	$4, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.7:
	leal	181(%r14), %ecx
	movl	$5, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.8:
	leal	212(%r14), %ecx
	movl	$6, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.9:
	leal	243(%r14), %ecx
	movl	$7, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.10:
	leal	273(%r14), %ecx
	movl	$8, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.11:
	leal	304(%r14), %ecx
	movl	$9, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_13
## %bb.12:
	addl	$334, %r14d                     ## imm = 0x14E
	xorl	%eax, %eax
	cmpl	%r14d, %r15d
	setl	%al
	xorl	$11, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAN,4,2                        ## @NAN
	.no_dead_strip	_month_from_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function month_from_time
_month_from_time:                       ; @month_from_time
	.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	x21, x0
	bl	_in_leap_year
	mov	x19, x0
	mov	x0, x21
	bl	_day_within_year
	mov	x20, x0
	mov	x0, x21
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_2:
	cmp	w20, #31
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_23
LBB0_4:
	add	w8, w19, #59
	cmp	w20, w8
	b.ge	LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_23
LBB0_6:
	add	w8, w19, #90
	cmp	w20, w8
	b.ge	LBB0_8
; %bb.7:
	mov	w0, #2
	b	LBB0_23
LBB0_8:
	add	w8, w19, #120
	cmp	w20, w8
	b.ge	LBB0_10
; %bb.9:
	mov	w0, #3
	b	LBB0_23
LBB0_10:
	add	w8, w19, #151
	cmp	w20, w8
	b.ge	LBB0_12
; %bb.11:
	mov	w0, #4
	b	LBB0_23
LBB0_12:
	add	w8, w19, #181
	cmp	w20, w8
	b.ge	LBB0_14
; %bb.13:
	mov	w0, #5
	b	LBB0_23
LBB0_14:
	add	w8, w19, #212
	cmp	w20, w8
	b.ge	LBB0_16
; %bb.15:
	mov	w0, #6
	b	LBB0_23
LBB0_16:
	add	w8, w19, #243
	cmp	w20, w8
	b.ge	LBB0_18
; %bb.17:
	mov	w0, #7
	b	LBB0_23
LBB0_18:
	add	w8, w19, #273
	cmp	w20, w8
	b.ge	LBB0_20
; %bb.19:
	mov	w0, #8
	b	LBB0_23
LBB0_20:
	add	w8, w19, #304
	cmp	w20, w8
	b.ge	LBB0_22
; %bb.21:
	mov	w0, #9
	b	LBB0_23
LBB0_22:
	add	w8, w19, #334
	cmp	w20, w8
	mov	w8, #10
	cinc	w0, w8, ge
LBB0_23:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAN,4,2                        ; @NAN
	.no_dead_strip	_month_from_time
.subsections_via_symbols
