	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function outlog
LCPI0_0:
	.quad	0x40f0000000000000              ## double 65536
LCPI0_1:
	.quad	0x4070000000000000              ## double 256
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_outlog:                                ## @outlog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$8, %edx
	jg	LBB0_5
## %bb.1:
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	cmpl	$7, %edx
	jg	LBB0_4
## %bb.3:
	movslq	%eax, %rcx
	imulq	$-2139062143, %rcx, %rsi        ## imm = 0x80808081
	shrq	$32, %rsi
	addl	%eax, %esi
	movl	%esi, %eax
	shrl	$31, %eax
	sarl	$7, %esi
	addl	%eax, %esi
	movl	$-1, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	notl	%eax
	imull	%esi, %eax
LBB0_4:
	cvtsi2sd	%eax, %xmm0
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, 16(%rdi)
	cmovel	%edx, %esi
	cmpl	$16, %esi
	jne	LBB0_8
## %bb.6:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	cvtsi2sd	%rax, %xmm0
	popq	%rbp
	retq
LBB0_8:
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movl	%eax, %ecx
	shll	$8, %ecx
	addl	%eax, %ecx
	cvtsi2sd	%ecx, %xmm0
	popq	%rbp
	retq
LBB0_12:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	popq	%rbp
	retq
LBB0_10:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_outlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function outlog
_outlog:                                ; @outlog
	.cfi_startproc
; %bb.0:
	cmp	w2, #8
	b.gt	LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.2:
	cmp	w2, #7
	b.gt	LBB0_8
; %bb.3:
	mov	w9, #32897
	movk	w9, #32896, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	mov	w9, #-1
	lsl	w9, w9, w2
	mvn	w9, w9
	mul	w8, w8, w9
	scvtf	d0, w8
	ret
LBB0_4:
	ldr	x8, [x0, #16]
	cmp	x8, #0
	csel	w8, w2, w1, eq
	cmp	w8, #16
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x0, #8]
	scvtf	d0, x8
	cmp	x8, #0
	mov	x8, #4679240012837945344
	fmov	d1, x8
	fcsel	d0, d1, d0, eq
	ret
LBB0_6:
	ldr	w8, [x0]
	cbz	w8, LBB0_10
; %bb.7:
	add	w8, w8, w8, lsl #8
LBB0_8:
	scvtf	d0, w8
	ret
LBB0_9:
	mov	x8, #4643211215818981376
	fmov	d0, x8
	ret
LBB0_10:
	mov	x8, #4679240012837945344
	fmov	d0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_outlog
.subsections_via_symbols
