	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_user_ads
_prepare_user_ads:                      ## @prepare_user_ads
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r15d
	testl	%esi, %esi
	js	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	movq	16(%rbp), %r9
	cmpl	$16384, %esi                    ## imm = 0x4000
	movl	$16384, %ebx                    ## imm = 0x4000
	cmovll	%esi, %ebx
	movl	%ebx, %esi
	callq	_compute_user_ads
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	cmpl	%ebx, %eax
	cmovbl	%eax, %ebx
	testb	$7, %r14b
	je	LBB0_4
## %bb.3:
	movl	%r14d, %eax
	andl	$1, %eax
	movl	%r14d, %ecx
	shrl	%ecx
	andl	$1, %ecx
	incl	%eax
	btl	$2, %r14d
	adcl	%ecx, %eax
	imull	%eax, %ebx
LBB0_4:
	movl	%ebx, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prepare_user_ads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_user_ads
_prepare_user_ads:                      ; @prepare_user_ads
	.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
	tbnz	w1, #31, LBB0_4
; %bb.1:
	mov	x19, x2
	mov	w8, #16384
	cmp	w1, #4, lsl #12                 ; =16384
	csel	w20, w1, w8, lt
	mov	x1, x20
	mov	x5, x6
	bl	_compute_user_ads
	tbnz	w0, #31, LBB0_4
; %bb.2:
	cmp	w0, w20
	csel	w0, w0, w20, lo
	tst	w19, #0x7
	b.eq	LBB0_5
; %bb.3:
	and	w8, w19, #0x1
	ubfx	w9, w19, #1, #1
	ubfx	w10, w19, #2, #1
	add	w8, w8, w9
	add	w8, w8, w10
	madd	w0, w0, w8, w0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prepare_user_ads
.subsections_via_symbols
