	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjwday
_adjwday:                               ## @adjwday
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	xorl	%eax, %eax
	testl	%edx, %edx
	js	LBB0_10
## %bb.1:
	movsbl	%sil, %esi
	cmpl	$45, %esi
	je	LBB0_13
## %bb.2:
	cmpl	$43, %esi
	jne	LBB0_19
## %bb.3:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.4:
	movl	(%rdi), %eax
	cmpl	%edx, %eax
	jle	LBB0_6
## %bb.5:
	subl	%eax, %edx
	addl	$7, %edx
	testl	%edx, %edx
	jne	LBB0_11
	jmp	LBB0_9
LBB0_13:
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.14:
	movl	(%rdi), %ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	jge	LBB0_17
## %bb.15:
	subl	%edx, %ecx
	addl	$7, %ecx
	movl	%ecx, %eax
LBB0_17:
	testl	%eax, %eax
	jne	LBB0_18
	jmp	LBB0_9
LBB0_19:
	movl	(%rdi), %esi
	movl	%esi, %ecx
	subl	%edx, %ecx
	jle	LBB0_22
## %bb.20:
	movl	$45, %esi
	movl	%ecx, %edx
	jmp	LBB0_21
LBB0_22:
	cmpl	$6, %edx
	ja	LBB0_10
## %bb.23:
	movl	$1, %eax
	cmpl	%edx, %esi
	jge	LBB0_10
## %bb.24:
	subl	%esi, %edx
	movl	$43, %esi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_21:
	movl	%r8d, %ecx
	popq	%rbp
	jmp	_adjday                         ## TAILCALL
LBB0_7:
	leal	(,%rdx,8), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	testl	%edx, %edx
	jne	LBB0_11
	jmp	LBB0_9
LBB0_16:
	leal	(,%rdx,8), %eax
	subl	%edx, %eax
	testl	%eax, %eax
	je	LBB0_9
LBB0_18:
	movl	$45, %esi
	movl	%eax, %edx
	jmp	LBB0_12
LBB0_6:
	subl	%eax, %edx
	testl	%edx, %edx
	je	LBB0_9
LBB0_11:
	movl	$43, %esi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_12:
	movl	%r8d, %ecx
	callq	_adjday
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adjwday
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjwday
_adjwday:                               ; @adjwday
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tbnz	w2, #31, LBB0_10
; %bb.1:
	cmp	w1, #45
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #43
	b.ne	LBB0_7
; %bb.3:
	cbz	w3, LBB0_11
; %bb.4:
	ldr	w8, [x0]
	sub	w9, w2, w8
	add	w10, w9, #7
	cmp	w8, w2
	csel	w2, w9, w10, le
	cbnz	w2, LBB0_12
	b	LBB0_19
LBB0_5:
	cbz	w3, LBB0_13
; %bb.6:
	ldr	w8, [x0]
	subs	w8, w8, w2
	add	w9, w8, #7
	csel	w2, w8, w9, ge
	cbnz	w2, LBB0_14
	b	LBB0_19
LBB0_7:
	ldr	w9, [x0]
	subs	w8, w9, w2
	b.le	LBB0_9
; %bb.8:
	mov	w1, #45
	mov	x2, x8
	b	LBB0_18
LBB0_9:
	cmp	w2, #6
	b.ls	LBB0_16
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	lsl	w8, w2, #3
	sub	w2, w8, w2
	cbz	w2, LBB0_19
LBB0_12:
	mov	w1, #43
	b	LBB0_15
LBB0_13:
	lsl	w8, w2, #3
	sub	w2, w8, w2
	cbz	w2, LBB0_19
LBB0_14:
	mov	w1, #45
LBB0_15:
	mov	x3, x4
	bl	_adjday
	cmp	w0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_16:
	cmp	w9, w2
	b.ge	LBB0_19
; %bb.17:
	sub	w2, w2, w9
	mov	w1, #43
LBB0_18:
	mov	x3, x4
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_adjday
LBB0_19:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adjwday
.subsections_via_symbols
