	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_save_regs                      ## -- Begin function save_regs
	.p2align	4, 0x90
_save_regs:                             ## @save_regs
	.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
	movl	%edi, %r15d
	andl	$199, %r15d
	movl	%r15d, %edi
	callq	_count_bits
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_HOST_REGS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movq	_EXCLUDE_REG@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r13), %ebx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	btl	%ebx, %r15d
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_emit_pushreg
	movl	(%r12), %eax
	jmp	LBB0_6
LBB0_7:
	movq	_slave@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	setne	%cl
	movq	_ESP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$3, %r14d
	leal	(%r14,%rcx,8), %esi
	addl	$-56, %esi
	movl	%edi, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_addimm64                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ## @EXCLUDE_REG
	.comm	_slave,8,3                      ## @slave
	.comm	_ESP,4,2                        ## @ESP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_save_regs                      ; -- Begin function save_regs
	.p2align	2
_save_regs:                             ; @save_regs
	.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	w8, #199
	and	w20, w0, w8
	mov	x0, x20
	bl	_count_bits
	mov	x19, x0
Lloh0:
	adrp	x22, _HOST_REGS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HOST_REGS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
Lloh2:
	adrp	x8, _slave@GOTPAGE
Lloh3:
	ldr	x8, [x8, _slave@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _ESP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ESP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	cmp	x8, #0
	mov	w8, #-48
	mov	w9, #-56
	csel	w8, w9, w8, eq
	add	w1, w8, w19, lsl #3
	mov	x2, x0
	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	_emit_addimm64
LBB0_2:
	mov	w21, #0
Lloh8:
	adrp	x23, _EXCLUDE_REG@GOTPAGE
Lloh9:
	ldr	x23, [x23, _EXCLUDE_REG@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23]
	cmp	w21, w9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsr	w9, w20, w21
	tbz	w9, #0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_emit_pushreg
	ldr	w8, [x22]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ; @EXCLUDE_REG
	.comm	_slave,8,3                      ; @slave
	.comm	_ESP,4,2                        ; @ESP
.subsections_via_symbols
