	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad_limit_user_views
_ad_limit_user_views:                   ## @ad_limit_user_views
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %ebx
	movzwl	4(%rdi), %r14d
	testl	%r14d, %r14d
	sete	%al
	cmpl	$100, %r14d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	%ebx, %edi
	callq	_ad_is_ancient
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_get_ad_f
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_load_ancient_ad
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
	movq	(%rbx), %rdi
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movq	_ADF_LIMIT_VIEWS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	orl	%eax, 8(%rbx)
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_3:
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_5:
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF_LIMIT_VIEWS,4,2            ## @ADF_LIMIT_VIEWS
	.no_dead_strip	_ad_limit_user_views
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad_limit_user_views
_ad_limit_user_views:                   ; @ad_limit_user_views
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w19, [x0]
	ldrh	w20, [x0, #4]
	cmp	w20, #0
	mov	w8, #100
	ccmp	w20, w8, #4, ne
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_ad_is_ancient
	mov	x1, x0
	mov	x0, x19
	bl	_get_ad_f
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_load_ancient_ad
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
	ldr	x8, [x19]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assert
Lloh0:
	adrp	x8, _ADF_LIMIT_VIEWS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADF_LIMIT_VIEWS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w20, LBB0_4
; %bb.2:
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [x19, #8]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF_LIMIT_VIEWS,4,2            ; @ADF_LIMIT_VIEWS
	.no_dead_strip	_ad_limit_user_views
.subsections_via_symbols
