	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_test_bit                ## -- Begin function bitmap_test_bit
	.p2align	4, 0x90
_bitmap_test_bit:                       ## @bitmap_test_bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	xorl	%r8d, %r8d
	cmpq	%rax, %rcx
	jge	LBB0_7
## %bb.1:
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	_BITMAP_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%rsi, %rax
	orq	%r9, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%r9
	cmpq	%rcx, %rax
	ja	LBB0_7
LBB0_6:
	movq	16(%rdi), %rcx
	movq	_BITMAP_WMASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %esi
	movq	(%rcx,%rax,8), %rax
	xorl	%r8d, %r8d
	btq	%rsi, %rax
	setb	%r8b
LBB0_7:
	movl	%r8d, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%rcx, %rax
	jbe	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_BITMAP_BITS,8,3                ## @BITMAP_BITS
	.comm	_BITMAP_WMASK,8,3               ## @BITMAP_WMASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_test_bit                ; -- Begin function bitmap_test_bit
	.p2align	2
_bitmap_test_bit:                       ; @bitmap_test_bit
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	cmp	x8, x9
	ccmp	x9, #0, #4, lt
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh0:
	adrp	x9, _BITMAP_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BITMAP_BITS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	udiv	x9, x1, x9
	cmp	x9, x8
	b.ls	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	x8, [x0, #16]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _BITMAP_WMASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BITMAP_WMASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x9, x9, x1
	lsr	x8, x8, x9
	and	w0, w8, #0x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BITMAP_BITS,8,3                ; @BITMAP_BITS
	.comm	_BITMAP_WMASK,8,3               ; @BITMAP_WMASK
.subsections_via_symbols
