	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ad_set_group                ## -- Begin function do_ad_set_group
	.p2align	4, 0x90
_do_ad_set_group:                       ## @do_ad_set_group
	.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	%esi, %r14d
	movl	%edi, %ebx
	callq	_ad_is_ancient
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_get_ad_f
	movq	%rax, %r15
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_fprintf
LBB0_2:
	xorl	%eax, %eax
	cmpl	$-2147483648, %r14d             ## imm = 0x80000000
	je	LBB0_6
## %bb.3:
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_load_ancient_ad
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movl	$1, %eax
	cmpl	%r14d, (%r15)
	jne	LBB0_7
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_LEV_TARG_AD_SETGROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$12, %esi
	movl	%ebx, %edx
	callq	_alloc_log_event
	movl	%r14d, (%rax)
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ad_set_group                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in do_ad_set_group (%d, %d):\n"

	.comm	_LEV_TARG_AD_SETGROUP,4,2       ## @LEV_TARG_AD_SETGROUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ad_set_group                ; -- Begin function do_ad_set_group
	.p2align	2
_do_ad_set_group:                       ; @do_ad_set_group
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_ad_is_ancient
	mov	x1, x0
	mov	x0, x20
	bl	_get_ad_f
	mov	x21, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_fprintf
LBB0_2:
	mov	w0, #0
	mov	w8, #-2147483648
	cmp	w19, w8
	b.eq	LBB0_7
; %bb.3:
	cbz	x21, LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_load_ancient_ad
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh8:
	adrp	x8, _LEV_TARG_AD_SETGROUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LEV_TARG_AD_SETGROUP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #12
	mov	x2, x20
	bl	_alloc_log_event
	str	w19, [x0]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ad_set_group
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in do_ad_set_group (%d, %d):\n"

	.comm	_LEV_TARG_AD_SETGROUP,4,2       ; @LEV_TARG_AD_SETGROUP
.subsections_via_symbols
