	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function native_encode_real
_native_encode_real:                    ## @native_encode_real
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_TREE_TYPE
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TYPE_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	movl	%eax, %r15d
	xorl	%eax, %eax
	cmpl	%ebx, %r15d
	jg	LBB0_10
## %bb.1:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	$32, %eax
	xorl	%edx, %edx
	idivl	(%rcx)
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_TREE_REAL_CST_PTR
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_TYPE_MODE
	leaq	-96(%rbp), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_real_to_target
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	movl	%ecx, %eax
	imull	%r15d, %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	movq	_WORDS_BIG_ENDIAN@GOTPCREL(%rip), %r8
	movq	_BYTES_BIG_ENDIAN@GOTPCREL(%rip), %r10
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %r12
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	xorl	$3, %ecx
	cmpq	$0, (%r10)
	cmovel	%eax, %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	andl	$-4, %esi
	addl	%ecx, %esi
	movslq	%esi, %rax
	movb	%r11b, (%r14,%rax)
	movl	(%r9), %ecx
	addl	%ecx, %ebx
	movl	%ecx, %eax
	imull	%r15d, %eax
	cmpl	%eax, %ebx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	andl	$3, %eax
	leal	31(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$5, %ecx
	movslq	%ecx, %rcx
	movq	-96(%rbp,%rcx,8), %r11
	movl	%ebx, %ecx
	andb	$31, %cl
	sarq	%cl, %r11
	movl	(%r12), %edi
	cmpl	$3, %edi
	jg	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	idivl	%edi
	movl	%eax, %ecx
	notl	%ecx
	addl	%r13d, %ecx
	cmpq	$0, (%r8)
	cmovel	%eax, %ecx
	imull	%edi, %ecx
	cmpq	$0, (%r10)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	notl	%edx
	addl	%edi, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%edx, %ecx
	jmp	LBB0_8
LBB0_9:
	movl	%r15d, %eax
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.comm	_WORDS_BIG_ENDIAN,8,3           ## @WORDS_BIG_ENDIAN
	.comm	_BYTES_BIG_ENDIAN,8,3           ## @BYTES_BIG_ENDIAN
	.no_dead_strip	_native_encode_real
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function native_encode_real
_native_encode_real:                    ; @native_encode_real
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_TREE_TYPE
	mov	x22, x0
	bl	_TYPE_MODE
	bl	_GET_MODE_SIZE
	cmp	w0, w23
	b.le	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_10
LBB0_2:
	mov	x20, x0
Lloh3:
	adrp	x23, _UNITS_PER_WORD@GOTPAGE
Lloh4:
	ldr	x23, [x23, _UNITS_PER_WORD@GOTPAGEOFF]
	ldr	w24, [x23]
	mov	x0, x21
	bl	_TREE_REAL_CST_PTR
	mov	x21, x0
	mov	x0, x22
	bl	_TYPE_MODE
	mov	x2, x0
	add	x22, sp, #8
	add	x0, sp, #8
	mov	x1, x21
	bl	_real_to_target
Lloh5:
	adrp	x8, _BITS_PER_UNIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BITS_PER_UNIT@GOTPAGEOFF]
	ldr	w13, [x8]
	mul	w9, w13, w20
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w9, #0
	mov	w12, #32
Lloh7:
	adrp	x10, _WORDS_BIG_ENDIAN@GOTPAGE
Lloh8:
	ldr	x10, [x10, _WORDS_BIG_ENDIAN@GOTPAGEOFF]
Lloh9:
	adrp	x11, _BYTES_BIG_ENDIAN@GOTPAGE
Lloh10:
	ldr	x11, [x11, _BYTES_BIG_ENDIAN@GOTPAGEOFF]
	sdiv	w12, w12, w24
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x16, [x11]
	eor	w17, w15, #0x3
	cmp	x16, #0
	csel	w15, w15, w17, eq
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	asr	w14, w14, #5
	ldr	x14, [x22, w14, sxtw #3]
	and	w16, w9, #0x1f
	asr	x14, x14, x16
	and	w13, w13, #0xfffffffc
	add	w13, w15, w13
	strb	w14, [x19, w13, sxtw]
	ldr	w13, [x8]
	mul	w14, w13, w20
	add	w9, w13, w9
	cmp	w9, w14
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w13, w9, w13
	and	w15, w13, #0x3
	add	w14, w9, #31
	cmp	w9, #0
	csel	w14, w14, w9, lt
	ldr	w16, [x23]
	cmp	w16, #3
	b.gt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sdiv	w0, w15, w16
	ldr	x17, [x10]
	mvn	w1, w0
	add	w1, w12, w1
	cmp	x17, #0
	csel	w17, w0, w1, eq
	mul	w17, w17, w16
	ldr	x1, [x11]
	msub	w15, w0, w16, w15
	cbz	x1, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mvn	w15, w15
	add	w16, w17, w16
	add	w15, w16, w15
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w15, w15, w17
	b	LBB0_5
LBB0_10:
	ldr	x8, [sp, #56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.comm	_WORDS_BIG_ENDIAN,8,3           ; @WORDS_BIG_ENDIAN
	.comm	_BYTES_BIG_ENDIAN,8,3           ; @BYTES_BIG_ENDIAN
	.no_dead_strip	_native_encode_real
.subsections_via_symbols
