	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad_is_ancient
_ad_is_ancient:                         ## @ad_is_ancient
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_ADS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	jbe	LBB0_2
## %bb.1:
	movq	_AncientAdBitmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %ecx
	andb	$7, %dil
	movzbl	%dil, %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	setb	%al
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ADS,4,2                    ## @MAX_ADS
	.comm	_AncientAdBitmap,8,3            ## @AncientAdBitmap
	.no_dead_strip	_ad_is_ancient
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad_is_ancient
_ad_is_ancient:                         ; @ad_is_ancient
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_ADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_ADS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AncientAdBitmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AncientAdBitmap@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	asr	w9, w0, #3
	ldr	w8, [x8, w9, sxtw #2]
	and	w9, w0, #0x7
	lsr	w8, w8, w9
	and	w0, w8, #0x1
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ADS,4,2                    ; @MAX_ADS
	.comm	_AncientAdBitmap,8,3            ; @AncientAdBitmap
	.no_dead_strip	_ad_is_ancient
.subsections_via_symbols
