	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i386nto_regset_fill
_i386nto_regset_fill:                   ## @i386nto_regset_fill
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_NTO_REG_GENERAL@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	_NUM_GPREGS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_nto_reg_offset
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rsi
	addq	%r14, %rsi
	movl	%ebx, %edi
	callq	_regcache_collect
	jmp	LBB0_5
LBB0_6:
	movq	_NTO_REG_FLOAT@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	%edi, (%rcx)
	jne	LBB0_12
## %bb.7:
	movq	_nto_cpuinfo_valid@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.8:
	movq	_nto_cpuinfo_flags@GOTPCREL(%rip), %rax
	movq	_X86_CPU_FXSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_i387_fill_fxsave
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_i387_fill_fsave
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NTO_REG_GENERAL,4,2            ## @NTO_REG_GENERAL
	.comm	_NUM_GPREGS,4,2                 ## @NUM_GPREGS
	.comm	_NTO_REG_FLOAT,4,2              ## @NTO_REG_FLOAT
	.comm	_nto_cpuinfo_valid,8,3          ## @nto_cpuinfo_valid
	.comm	_nto_cpuinfo_flags,4,2          ## @nto_cpuinfo_flags
	.comm	_X86_CPU_FXSR,4,2               ## @X86_CPU_FXSR
	.no_dead_strip	_i386nto_regset_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i386nto_regset_fill
_i386nto_regset_fill:                   ; @i386nto_regset_fill
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _NTO_REG_GENERAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NTO_REG_GENERAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.1:
Lloh3:
	adrp	x21, _NUM_GPREGS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NUM_GPREGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	w20, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_nto_reg_offset
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x19, w0, sxtw
	mov	x0, x20
	bl	_regcache_collect
	b	LBB0_3
LBB0_6:
Lloh5:
	adrp	x8, _NTO_REG_FLOAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NTO_REG_FLOAT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_10
; %bb.7:
Lloh8:
	adrp	x8, _nto_cpuinfo_valid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nto_cpuinfo_valid@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.8:
Lloh11:
	adrp	x8, _nto_cpuinfo_flags@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nto_cpuinfo_flags@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _X86_CPU_FXSR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _X86_CPU_FXSR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cbz	w8, LBB0_11
; %bb.9:
	mov	x0, x19
	mov	w1, #-1
	bl	_i387_fill_fxsave
	b	LBB0_12
LBB0_10:
	mov	w0, #-1
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	mov	w1, #-1
	bl	_i387_fill_fsave
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NTO_REG_GENERAL,4,2            ; @NTO_REG_GENERAL
	.comm	_NUM_GPREGS,4,2                 ; @NUM_GPREGS
	.comm	_NTO_REG_FLOAT,4,2              ; @NTO_REG_FLOAT
	.comm	_nto_cpuinfo_valid,8,3          ; @nto_cpuinfo_valid
	.comm	_nto_cpuinfo_flags,4,2          ; @nto_cpuinfo_flags
	.comm	_X86_CPU_FXSR,4,2               ; @X86_CPU_FXSR
	.no_dead_strip	_i386nto_regset_fill
.subsections_via_symbols
