	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_float_sample
_pack_float_sample:                     ## @pack_float_sample
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %r13d
	leaq	8(%rdi), %r14
	movl	(%rsi), %edi
	callq	_get_exponent
	movl	(%r15), %edi
	cmpl	$255, %eax
	jne	LBB0_4
## %bb.1:
	callq	_get_mantissa
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movl	(%r15), %edi
	callq	_get_mantissa
	movq	%r14, %rdi
	movl	$23, %esi
	jmp	LBB0_20
LBB0_4:
	callq	_get_exponent
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movl	(%r15), %edi
	callq	_get_exponent
	movl	%r13d, %ebx
	subl	%eax, %ebx
	movl	(%r15), %edi
	callq	_get_mantissa
	addl	$8388608, %eax                  ## imm = 0x800000
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	jmp	LBB0_21
LBB0_11:
	movl	(%r15), %edi
	callq	_get_mantissa
	movl	%r13d, %ebx
	subl	$1, %ebx
	jae	LBB0_6
## %bb.12:
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_13
LBB0_6:
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	$24, %ebx
	jg	LBB0_13
## %bb.7:
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.9:
	movl	4(%r12), %eax
	movq	_FLOAT_SHIFT_SENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.10:
	movl	(%r15), %edi
	callq	_get_mantissa
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_sbits                      ## TAILCALL
LBB0_13:
	movq	_FLOAT_ZEROS_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_23
## %bb.14:
	movl	(%r15), %edi
	callq	_get_exponent
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	(%r15), %edi
	callq	_get_mantissa
	testl	%eax, %eax
	je	LBB0_22
LBB0_16:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movl	(%r15), %edi
	callq	_get_mantissa
	movq	%r14, %rdi
	movl	$23, %esi
	movl	%eax, %edx
	callq	_put_bits
	cmpl	$25, %r13d
	jl	LBB0_18
## %bb.17:
	movl	(%r15), %edi
	callq	_get_exponent
	movq	%r14, %rdi
	movl	$8, %esi
	movl	%eax, %edx
	callq	_put_bits
LBB0_18:
	movl	(%r15), %edi
	callq	_get_sign
LBB0_19:
	movq	%r14, %rdi
	movl	$1, %esi
LBB0_20:
	movl	%eax, %edx
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
LBB0_24:
	movq	_FLOAT_SHIFT_SAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.25:
	movl	(%r15), %edi
	callq	_get_mantissa
	andl	$1, %eax
	jmp	LBB0_19
LBB0_22:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
	movq	_FLOAT_NEG_ZEROS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	jne	LBB0_18
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOAT_ZEROS_SENT,4,2           ## @FLOAT_ZEROS_SENT
	.comm	_FLOAT_NEG_ZEROS,4,2            ## @FLOAT_NEG_ZEROS
	.comm	_FLOAT_SHIFT_SENT,4,2           ## @FLOAT_SHIFT_SENT
	.comm	_FLOAT_SHIFT_SAME,4,2           ## @FLOAT_SHIFT_SAME
	.no_dead_strip	_pack_float_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pack_float_sample
_pack_float_sample:                     ; @pack_float_sample
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	mov	x19, x0
	ldr	w23, [x19], #8
	ldr	w0, [x1]
	bl	_get_exponent
	mov	x8, x0
	ldr	w0, [x20]
	cmp	w8, #255
	b.ne	LBB0_3
; %bb.1:
	bl	_get_mantissa
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	w0, [x20]
	bl	_get_mantissa
	mov	x2, x0
	mov	x0, x19
	mov	w1, #23
	b	LBB0_16
LBB0_3:
	bl	_get_exponent
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
	bl	_get_exponent
	sub	w22, w23, w0
	ldr	w0, [x20]
	bl	_get_mantissa
	add	w0, w0, #2048, lsl #12          ; =8388608
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	b	LBB0_16
LBB0_6:
	ldr	w0, [x20]
	bl	_get_mantissa
	cbz	w23, LBB0_20
; %bb.7:
	sub	w22, w23, #1
LBB0_8:
	asr	w8, w0, w22
	cmp	w22, #24
	ccmp	w8, #0, #4, le
	b.ne	LBB0_17
LBB0_9:
	ldr	w8, [x21, #4]
Lloh0:
	adrp	x9, _FLOAT_ZEROS_SENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOAT_ZEROS_SENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.10:
	ldr	w0, [x20]
	bl	_get_exponent
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	w0, [x20]
	bl	_get_mantissa
	cbz	w0, LBB0_23
LBB0_12:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	w0, [x20]
	bl	_get_mantissa
	mov	x2, x0
	mov	x0, x19
	mov	w1, #23
	bl	_put_bits
	cmp	w23, #25
	b.lt	LBB0_14
; %bb.13:
	ldr	w0, [x20]
	bl	_get_exponent
	mov	x2, x0
	mov	x0, x19
	mov	w1, #8
	bl	_put_bits
LBB0_14:
	ldr	w0, [x20]
	bl	_get_sign
	mov	x2, x0
LBB0_15:
	mov	x0, x19
	mov	w1, #1
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_bits
LBB0_17:
	cbz	w22, LBB0_24
; %bb.18:
	ldr	w8, [x21, #4]
Lloh3:
	adrp	x9, _FLOAT_SHIFT_SENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLOAT_SHIFT_SENT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
	ldr	w0, [x20]
	bl	_get_mantissa
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_sbits
LBB0_20:
	cbnz	w0, LBB0_24
	b	LBB0_9
LBB0_21:
Lloh6:
	adrp	x9, _FLOAT_SHIFT_SAME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLOAT_SHIFT_SAME@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.22:
	ldr	w0, [x20]
	bl	_get_mantissa
	and	w2, w0, #0x1
	b	LBB0_15
LBB0_23:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
	ldr	w8, [x21, #4]
Lloh9:
	adrp	x9, _FLOAT_NEG_ZEROS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLOAT_NEG_ZEROS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
LBB0_24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOAT_ZEROS_SENT,4,2           ; @FLOAT_ZEROS_SENT
	.comm	_FLOAT_NEG_ZEROS,4,2            ; @FLOAT_NEG_ZEROS
	.comm	_FLOAT_SHIFT_SENT,4,2           ; @FLOAT_SHIFT_SENT
	.comm	_FLOAT_SHIFT_SAME,4,2           ; @FLOAT_SHIFT_SAME
	.no_dead_strip	_pack_float_sample
.subsections_via_symbols
