	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_advertisement_state_machine_start ## -- Begin function advertisement_state_machine_start
	.p2align	4, 0x90
_advertisement_state_machine_start:     ## @advertisement_state_machine_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_advertisement_state_machine_stop
	movq	_ADVERTISE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	xorl	%eax, %eax
	callq	_os_random
	movzbl	%al, %eax
	imull	$100, %eax, %esi
	shrl	$8, %esi
	movq	_advertisement_state_machine_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADVERTISE_DOWN,4,2             ## @ADVERTISE_DOWN
	.comm	_advertisement_state_machine_handler,4,2 ## @advertisement_state_machine_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_advertisement_state_machine_start ; -- Begin function advertisement_state_machine_start
	.p2align	2
_advertisement_state_machine_start:     ; @advertisement_state_machine_start
	.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
	mov	x19, x0
	mov	w1, #0
	bl	_advertisement_state_machine_stop
Lloh0:
	adrp	x8, _ADVERTISE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADVERTISE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
	bl	_os_random
	and	w8, w0, #0xff
	mov	w9, #100
	mul	w8, w8, w9
	lsr	w1, w8, #8
Lloh3:
	adrp	x8, _advertisement_state_machine_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _advertisement_state_machine_handler@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x3, #0
	mov	x4, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eloop_register_timeout
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADVERTISE_DOWN,4,2             ; @ADVERTISE_DOWN
	.comm	_advertisement_state_machine_handler,4,2 ; @advertisement_state_machine_handler
.subsections_via_symbols
