	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjhour
_adjhour:                               ## @adjhour
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	xorl	%ebx, %ebx
	testl	%edx, %edx
	js	LBB0_13
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdi, %r12
	movsbl	%sil, %r15d
	cmpl	$45, %r15d
	je	LBB0_5
## %bb.2:
	cmpl	$43, %r15d
	jne	LBB0_8
## %bb.3:
	testl	%edx, %edx
	je	LBB0_10
## %bb.4:
	movl	(%r12), %ecx
	leal	(%rcx,%rdx), %eax
	cltq
	imulq	$715827883, %rax, %rax          ## imm = 0x2AAAAAAB
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	$34, %rax
	addl	%esi, %eax
	movl	%edx, %esi
	movl	$2863311531, %edi               ## imm = 0xAAAAAAAB
	imulq	%rsi, %rdi
	shrq	$36, %rdi
	shll	$3, %edi
	leal	(%rdi,%rdi,2), %esi
	subl	%esi, %edx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	imulq	$715827883, %rcx, %rdx          ## imm = 0x2AAAAAAB
	movq	%rdx, %rsi
	shrq	$63, %rsi
	shrq	$34, %rdx
	addl	%esi, %edx
	shll	$3, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %ecx
	movl	%ecx, (%r12)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$43, %esi
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_5:
	testl	%edx, %edx
	je	LBB0_10
## %bb.6:
	movl	%edx, %eax
	movl	$2863311531, %ecx               ## imm = 0xAAAAAAAB
	imulq	%rax, %rcx
	shrq	$36, %rcx
	leal	(,%rcx,8), %eax
	leal	(%rax,%rax,2), %esi
	movl	%edx, %edi
	subl	%esi, %edi
	movl	(%r12), %ebx
	negl	%esi
	xorl	%eax, %eax
	cmpl	%ebx, %edi
	leal	-24(%rdx,%rsi), %edx
	cmovlel	%edi, %edx
	setg	%al
	addl	%ecx, %eax
	subl	%edx, %ebx
	movl	%ebx, (%r12)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$45, %esi
	movl	%eax, %edx
LBB0_7:
	xorl	%ecx, %ecx
	callq	_adjday
	testl	%eax, %eax
	je	LBB0_13
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_domktime
	xorl	%ebx, %ebx
	cmpl	$-1, %eax
	setne	%bl
	jmp	LBB0_13
LBB0_8:
	cmpl	$23, %edx
	ja	LBB0_13
## %bb.9:
	movl	%edx, (%r12)
	testl	%r14d, %r14d
	jne	LBB0_12
LBB0_11:
	movl	$1, %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adjhour
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjhour
_adjhour:                               ; @adjhour
	.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
	tbnz	w2, #31, LBB0_11
; %bb.1:
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	cmp	w1, #45
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #43
	b.ne	LBB0_10
; %bb.3:
	cbz	w2, LBB0_8
; %bb.4:
	ldr	w9, [x20]
	add	w8, w9, w2
	mov	w10, #43691
	movk	w10, #10922, lsl #16
	smull	x8, w8, w10
	lsr	x11, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w11
	mov	w11, #43691
	movk	w11, #43690, lsl #16
	umull	x11, w2, w11
	lsr	x11, x11, #36
	mov	w12, #24
	msub	w11, w11, w12, w2
	add	w9, w9, w11
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	msub	w9, w10, w12, w9
	str	w9, [x20]
	mov	x0, x20
	mov	w1, #43
	mov	x2, x8
	b	LBB0_7
LBB0_5:
	cbz	w2, LBB0_8
; %bb.6:
	mov	w8, #43691
	movk	w8, #43690, lsl #16
	umull	x8, w2, w8
	lsr	x8, x8, #36
	mov	w9, #24
	msub	w9, w8, w9, w2
	ldr	w10, [x20]
	sub	w11, w9, #24
	cmp	w9, w10
	csel	w9, w11, w9, gt
	cinc	w2, w8, gt
	sub	w8, w10, w9
	str	w8, [x20]
	mov	x0, x20
	mov	w1, #45
LBB0_7:
	mov	w3, #0
	bl	_adjday
	cbz	w0, LBB0_14
LBB0_8:
	cbz	w21, LBB0_13
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_domktime
	cmn	w0, #1
	cset	w0, ne
	b	LBB0_14
LBB0_10:
	cmp	w2, #23
	b.ls	LBB0_12
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
	str	w2, [x20]
	cbnz	w21, LBB0_9
LBB0_13:
	mov	w0, #1
LBB0_14:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adjhour
.subsections_via_symbols
