	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __shr_imm64
___shr_imm64:                           ## @__shr_imm64
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpl	$31, %edx
	jg	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	_reg_both
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	1(%r15), %r12d
	movl	%r12d, %edi
	callq	_reg_a
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movl	%r15d, %edi
	callq	_reg_b
	movq	_SHF_SC_R_DSHF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%ebx, (%rsp)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_emit_shf
	movl	%r12d, %edi
	callq	_reg_both
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_reg_none
	movl	%eax, %r15d
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_reg_b
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%ebx, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_emit_shf
	jmp	LBB0_7
LBB0_3:
	cmpl	$32, %ebx
	jne	LBB0_5
## %bb.4:
	leal	1(%r15), %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_wrp_reg_mov
	movl	%ebx, %edi
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %edi
	callq	_reg_both
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_reg_none
	movl	%eax, %r12d
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	incl	%r15d
	movl	%r15d, %edi
	callq	_reg_b
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	addl	$-32, %ebx
	movl	%ebx, (%rsp)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_emit_shf
	movl	%r15d, %edi
LBB0_6:
	callq	_reg_both
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_wrp_immed
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHF_OP_NONE,4,2                ## @SHF_OP_NONE
	.comm	_SHF_SC_R_DSHF,4,2              ## @SHF_SC_R_DSHF
	.comm	_SHF_SC_R_SHF,4,2               ## @SHF_SC_R_SHF
	.no_dead_strip	___shr_imm64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __shr_imm64
___shr_imm64:                           ; @__shr_imm64
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	w2, LBB0_7
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w2, #31
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_reg_both
	mov	x22, x0
	add	w23, w21, #1
	mov	x0, x23
	bl	_reg_a
	mov	x24, x0
Lloh0:
	adrp	x26, _SHF_OP_NONE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SHF_OP_NONE@GOTPAGEOFF]
	ldr	w25, [x26]
	mov	x0, x21
	bl	_reg_b
	mov	x4, x0
Lloh2:
	adrp	x8, _SHF_SC_R_DSHF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHF_SC_R_DSHF@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	x3, x25
	mov	x6, x20
	bl	_emit_shf
	mov	x0, x23
	bl	_reg_both
	mov	x21, x0
	bl	_reg_none
	mov	x22, x0
	ldr	w24, [x26]
	mov	x0, x23
	bl	_reg_b
	mov	x4, x0
Lloh5:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x6, x20
	bl	_emit_shf
	b	LBB0_7
LBB0_3:
	subs	w20, w20, #32
	b.ne	LBB0_5
; %bb.4:
	add	w20, w21, #1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_wrp_reg_mov
	mov	x0, x20
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_reg_both
	mov	x22, x0
	bl	_reg_none
	mov	x23, x0
Lloh8:
	adrp	x8, _SHF_OP_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHF_OP_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	add	w21, w21, #1
	mov	x0, x21
	bl	_reg_b
	mov	x4, x0
Lloh11:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x6, x20
	bl	_emit_shf
	mov	x0, x21
LBB0_6:
	bl	_reg_both
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_wrp_immed
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SHF_OP_NONE,4,2                ; @SHF_OP_NONE
	.comm	_SHF_SC_R_DSHF,4,2              ; @SHF_SC_R_DSHF
	.comm	_SHF_SC_R_SHF,4,2               ; @SHF_SC_R_SHF
	.no_dead_strip	___shr_imm64
.subsections_via_symbols
