	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt77252_int_to_atmfp
_idt77252_int_to_atmfp:                 ## @idt77252_int_to_atmfp
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_idt77252_fls
	movl	%eax, %edx
	leal	-1(%rdx), %eax
	cmpl	$9, %edx
	jg	LBB0_4
## %bb.3:
	movl	$-1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	addl	%ebx, %esi
	movb	$10, %cl
	subb	%dl, %cl
	shll	%cl, %esi
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_4:
	cmpl	$9, %eax
	jne	LBB0_6
## %bb.5:
	addl	$-512, %ebx                     ## imm = 0xFE00
	movl	%ebx, %esi
	jmp	LBB0_7
LBB0_6:
	movl	$-1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	addl	%ebx, %esi
	leal	-10(%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
LBB0_7:
	shll	$9, %eax
	orl	%esi, %eax
	orl	$16384, %eax                    ## imm = 0x4000
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_idt77252_int_to_atmfp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt77252_int_to_atmfp
_idt77252_int_to_atmfp:                 ; @idt77252_int_to_atmfp
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
	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
	bl	_idt77252_fls
	sub	w8, w0, #1
	mov	w9, #-1
	lsl	w9, w9, w8
	add	w9, w9, w19
	sub	w10, w0, #10
	lsr	w10, w9, w10
	sub	w11, w19, #512
	cmp	w8, #9
	csel	w10, w10, w11, ne
	mov	w11, #10
	sub	w11, w11, w0
	lsl	w9, w9, w11
	cmp	w0, #9
	csel	w9, w10, w9, gt
	orr	w8, w9, w8, lsl #9
	orr	w0, w8, #0x4000
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_idt77252_int_to_atmfp
.subsections_via_symbols
