	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjmon
_adjmon:                                ## @adjmon
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testl	%edx, %edx
	js	LBB0_30
## %bb.1:
	movl	%r8d, %r14d
	movl	%edx, %r13d
	movq	%rdi, %r12
	movsbl	%sil, %r15d
	cmpl	$45, %r15d
	je	LBB0_11
## %bb.2:
	cmpl	$43, %r15d
	jne	LBB0_22
## %bb.3:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.4:
	movl	(%r12), %eax
	cmpl	%r13d, %eax
	jge	LBB0_5
## %bb.6:
	notl	%eax
	addl	%r13d, %eax
	movl	%eax, %r13d
LBB0_7:
	testl	%r13d, %r13d
	jne	LBB0_8
	jmp	LBB0_25
LBB0_11:
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.12:
	leal	-1(%r13), %ecx
	movl	(%r12), %eax
	cmpl	%eax, %ecx
	jle	LBB0_14
## %bb.13:
	subl	%r13d, %eax
	addl	$13, %eax
	jmp	LBB0_15
LBB0_22:
	leal	-13(%r13), %eax
	cmpl	$-12, %eax
	jb	LBB0_30
## %bb.23:
	decl	%r13d
	jmp	LBB0_24
LBB0_5:
	subl	%eax, %r13d
	addl	$11, %r13d
	testl	%r13d, %r13d
	je	LBB0_25
LBB0_8:
	movl	(%r12), %eax
	addl	%r13d, %eax
	cltq
	imulq	$715827883, %rax, %rdx          ## imm = 0x2AAAAAAB
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$33, %rdx
	addl	%eax, %edx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$43, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_adjyear
	testl	%eax, %eax
	je	LBB0_30
## %bb.9:
	movslq	%r13d, %rax
	imulq	$715827883, %rax, %rax          ## imm = 0x2AAAAAAB
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$33, %rax
	addl	%ecx, %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %r13d
	addl	(%r12), %r13d
	movl	%r13d, (%r12)
	cmpl	$12, %r13d
	jl	LBB0_25
## %bb.10:
	addl	$-12, %r13d
LBB0_24:
	movl	%r13d, (%r12)
	jmp	LBB0_25
LBB0_14:
	subl	%r13d, %eax
	incl	%eax
LBB0_15:
	movl	%eax, %r13d
LBB0_16:
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.17:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movslq	%r13d, %rax
	imulq	$715827883, %rax, %r14          ## imm = 0x2AAAAAAB
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$33, %r14
	addl	%eax, %r14d
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$45, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_adjyear
	testl	%eax, %eax
	je	LBB0_30
## %bb.18:
	shll	$2, %r14d
	leal	(%r14,%r14,2), %eax
	subl	%eax, %r13d
	movl	(%r12), %eax
	cmpl	%eax, %r13d
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$45, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_adjyear
	testl	%eax, %eax
	je	LBB0_30
## %bb.20:
	addl	$-12, %r13d
	movl	(%r12), %eax
LBB0_21:
	subl	%r13d, %eax
	movl	%eax, (%r12)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_25:
	movq	%r12, %rdi
	callq	_daysinmonth
	cmpl	%eax, 4(%r12)
	jle	LBB0_27
## %bb.26:
	movl	%eax, 4(%r12)
LBB0_27:
	testl	%r14d, %r14d
	je	LBB0_28
## %bb.29:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_domktime
	xorl	%ebx, %ebx
	cmpl	$-1, %eax
	setne	%bl
	jmp	LBB0_30
LBB0_28:
	movl	$1, %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adjmon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjmon
_adjmon:                                ; @adjmon
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	tbnz	w2, #31, LBB0_17
; %bb.1:
	mov	x20, x4
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	cmp	w1, #45
	b.eq	LBB0_8
; %bb.2:
	cmp	w19, #43
	b.ne	LBB0_16
; %bb.3:
	cbz	w3, LBB0_5
; %bb.4:
	ldr	w8, [x21]
	mvn	w9, w8
	add	w9, w9, w22
	sub	w10, w22, w8
	add	w10, w10, #11
	cmp	w8, w22
	csel	w22, w9, w10, lt
LBB0_5:
	cbz	w22, LBB0_20
; %bb.6:
	ldr	w8, [x21]
	add	w8, w8, w22
	mov	w23, #43691
	movk	w23, #10922, lsl #16
	smull	x8, w8, w23
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w2, w8, w9
	mov	x0, x21
	mov	w1, #43
	mov	w3, #0
	bl	_adjyear
	cbz	w0, LBB0_25
; %bb.7:
	smull	x8, w22, w23
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	mov	w9, #12
	msub	w8, w8, w9, w22
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	subs	w8, w8, #12
	b.ge	LBB0_19
	b	LBB0_20
LBB0_8:
	cbz	w3, LBB0_10
; %bb.9:
	sub	w8, w22, #1
	ldr	w9, [x21]
	sub	w10, w9, w22
	add	w11, w10, #13
	cmp	w8, w9
	csinc	w22, w11, w10, gt
LBB0_10:
	cbz	w22, LBB0_20
; %bb.11:
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w22, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w23, w8, w9
	mov	x0, x21
	mov	w1, #45
	mov	x2, x23
	mov	w3, #0
	bl	_adjyear
	cbz	w0, LBB0_25
; %bb.12:
	mov	w8, #12
	msub	w22, w23, w8, w22
	ldr	w8, [x21]
	cmp	w22, w8
	b.le	LBB0_15
; %bb.13:
	mov	x0, x21
	mov	w1, #45
	mov	w2, #1
	mov	w3, #0
	bl	_adjyear
	cbz	w0, LBB0_25
; %bb.14:
	sub	w22, w22, #12
	ldr	w8, [x21]
LBB0_15:
	sub	w8, w8, w22
	b	LBB0_19
LBB0_16:
	sub	w8, w22, #13
	cmn	w8, #12
	b.hs	LBB0_18
LBB0_17:
	mov	w0, #0
	b	LBB0_25
LBB0_18:
	sub	w8, w22, #1
LBB0_19:
	str	w8, [x21]
LBB0_20:
	mov	x0, x21
	bl	_daysinmonth
	ldr	w8, [x21, #4]
	cmp	w8, w0
	b.le	LBB0_22
; %bb.21:
	str	w0, [x21, #4]
LBB0_22:
	cbz	w20, LBB0_24
; %bb.23:
	mov	x0, x21
	mov	x1, x19
	bl	_domktime
	cmn	w0, #1
	cset	w0, ne
	b	LBB0_25
LBB0_24:
	mov	w0, #1
LBB0_25:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adjmon
.subsections_via_symbols
