	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tm_yday
_set_tm_yday:                           ## @set_tm_yday
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movl	$-1, %ebx
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movl	4(%r14), %ecx
	imull	$-1030792151, %ecx, %edx        ## imm = 0xC28F5C29
	testb	$3, %cl
	setne	%cl
	addl	$85899420, %edx                 ## imm = 0x51EB89C
	movl	%edx, %esi
	rorl	$2, %esi
	cmpl	$42949673, %esi                 ## imm = 0x28F5C29
	setb	%bl
	orb	%cl, %bl
	rorl	$4, %edx
	cmpl	$10737419, %edx                 ## imm = 0xA3D70B
	setae	%cl
	andb	%bl, %cl
	movzbl	%cl, %ebx
	negl	%ebx
LBB0_2:
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	cmpl	$12, %ecx
	jb	LBB0_4
## %bb.3:
	movl	%ecx, %eax
	movl	$2863311531, %edx               ## imm = 0xAAAAAAAB
	imulq	%rax, %rdx
	shrq	$35, %rdx
	shll	$2, %edx
	leal	(%rdx,%rdx,2), %eax
	subl	%eax, %ecx
LBB0_4:
	movl	%ecx, %eax
	leaq	_set_tm_yday.d(%rip), %rcx
	addl	(%rcx,%rax,4), %ebx
	addl	8(%r14), %ebx
	movl	12(%r14), %eax
	cmpl	%eax, %ebx
	sete	%cl
	cmpl	$367, %eax                      ## imm = 0x16F
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	%ebx, 12(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @set_tm_yday.d
_set_tm_yday.d:
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	59                              ## 0x3b
	.long	90                              ## 0x5a
	.long	120                             ## 0x78
	.long	151                             ## 0x97
	.long	181                             ## 0xb5
	.long	212                             ## 0xd4
	.long	243                             ## 0xf3
	.long	273                             ## 0x111
	.long	304                             ## 0x130
	.long	334                             ## 0x14e

	.no_dead_strip	_set_tm_yday
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tm_yday
_set_tm_yday:                           ; @set_tm_yday
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x19, #4]
	mov	w10, #23593
	movk	w10, #49807, lsl #16
	tst	w9, #0x3
	mov	w11, #47260
	movk	w11, #1310, lsl #16
	madd	w9, w9, w10, w11
	ror	w10, w9, #2
	mov	w11, #23593
	movk	w11, #655, lsl #16
	ccmp	w10, w11, #0, eq
	ror	w9, w9, #4
	mov	w10, #55050
	movk	w10, #163, lsl #16
	ccmp	w9, w10, #0, lo
	cset	w9, hi
	sbfx	w9, w9, #0, #1
	b	LBB0_3
LBB0_2:
	mov	w9, #-1
LBB0_3:
	cmp	w8, #0
	cneg	w8, w8, mi
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	umull	x10, w8, w10
	lsr	x10, x10, #35
	mov	w11, #12
	msub	w10, w10, w11, w8
	cmp	w8, #11
	csel	w8, w10, w8, hi
Lloh0:
	adrp	x10, _set_tm_yday.d@PAGE
Lloh1:
	add	x10, x10, _set_tm_yday.d@PAGEOFF
	ldr	w8, [x10, w8, uxtw #2]
	ldp	w10, w11, [x19, #8]
	add	w8, w9, w8
	add	w20, w8, w10
	cmp	w11, #367
	ccmp	w20, w11, #4, ne
	cset	w0, eq
	bl	_assert
	str	w20, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @set_tm_yday.d
_set_tm_yday.d:
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	59                              ; 0x3b
	.long	90                              ; 0x5a
	.long	120                             ; 0x78
	.long	151                             ; 0x97
	.long	181                             ; 0xb5
	.long	212                             ; 0xd4
	.long	243                             ; 0xf3
	.long	273                             ; 0x111
	.long	304                             ; 0x130
	.long	334                             ; 0x14e

	.no_dead_strip	_set_tm_yday
.subsections_via_symbols
