	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_timer_set                 ## -- Begin function comm_timer_set
	.p2align	4, 0x90
_comm_timer_set:                        ## @comm_timer_set
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_log_assert
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_comm_timer_disable
	movq	(%rbx), %rax
LBB0_2:
	movl	16(%rax), %edi
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_comm_timer_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_ub_timer_add
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_4:
	movq	(%rbx), %rax
	movl	$1, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_comm_timer_callback,4,2        ## @comm_timer_callback
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"comm_timer_set: evtimer_add failed."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_timer_set                 ; -- Begin function comm_timer_set
	.p2align	2
_comm_timer_set:                        ; @comm_timer_set
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_log_assert
	ldr	x8, [x19]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_comm_timer_disable
	ldr	x8, [x19]
LBB0_2:
	ldr	w0, [x8, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh0:
	adrp	x8, _comm_timer_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comm_timer_callback@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x3, x19
	mov	x4, x20
	bl	_ub_timer_add
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_4:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_comm_timer_callback,4,2        ; @comm_timer_callback
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"comm_timer_set: evtimer_add failed."

.subsections_via_symbols
