	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pos_from_bit                   ## -- Begin function pos_from_bit
	.p2align	4, 0x90
_pos_from_bit:                          ## @pos_from_bit
	.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
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MULT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_sizetype@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_FLOOR_DIV_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%edx, %edi
	callq	_bitsize_int
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_size_binop
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_fold_convert
	movl	%eax, %r14d
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %edi
	callq	_size_int
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_size_binop
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_FLOOR_MOD_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_bitsize_int
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_size_binop
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MULT_EXPR,4,2                  ## @MULT_EXPR
	.comm	_sizetype,4,2                   ## @sizetype
	.comm	_FLOOR_DIV_EXPR,4,2             ## @FLOOR_DIV_EXPR
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.comm	_FLOOR_MOD_EXPR,4,2             ## @FLOOR_MOD_EXPR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pos_from_bit                   ; -- Begin function pos_from_bit
	.p2align	2
_pos_from_bit:                          ; @pos_from_bit
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MULT_EXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MULT_EXPR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _sizetype@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sizetype@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _FLOOR_DIV_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLOOR_DIV_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
	mov	x0, x2
	bl	_bitsize_int
	mov	x2, x0
	mov	x0, x25
	mov	x1, x19
	bl	_size_binop
	mov	x1, x0
	mov	x0, x24
	bl	_fold_convert
	mov	x24, x0
Lloh9:
	adrp	x8, _BITS_PER_UNIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	udiv	w0, w20, w8
	bl	_size_int
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_size_binop
	str	w0, [x22]
Lloh12:
	adrp	x8, _FLOOR_MOD_EXPR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FLOOR_MOD_EXPR@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_bitsize_int
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_size_binop
	str	w0, [x21]
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MULT_EXPR,4,2                  ; @MULT_EXPR
	.comm	_sizetype,4,2                   ; @sizetype
	.comm	_FLOOR_DIV_EXPR,4,2             ; @FLOOR_DIV_EXPR
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.comm	_FLOOR_MOD_EXPR,4,2             ; @FLOOR_MOD_EXPR
.subsections_via_symbols
