	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radio_work_done                ## -- Begin function radio_work_done
	.p2align	4, 0x90
_radio_work_done:                       ## @radio_work_done
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %r12d
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_os_get_reltime
	leaq	8(%rbx), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_os_reltime_sub
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	testl	%r12d, %r12d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rax, %r9
	movl	-40(%rbp), %eax
	movl	-36(%rbp), %r10d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %r8
	pushq	%rax
	pushq	%r10
	callq	_wpa_dbg
	addq	$16, %rsp
	movq	%rbx, %rdi
	callq	_radio_work_free
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_radio_work_check_next
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Radio work '%s'@%p %s in %ld.%06ld seconds"

L_.str.1:                               ## @.str.1
	.asciz	"done"

L_.str.2:                               ## @.str.2
	.asciz	"canceled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radio_work_done                ; -- Begin function radio_work_done
	.p2align	2
_radio_work_done:                       ; @radio_work_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	x19, [x0, #16]
	ldr	w21, [x0]
	add	x0, sp, #8
	bl	_os_get_reltime
	add	x1, x20, #8
	add	x0, sp, #8
	mov	x2, sp
	bl	_os_reltime_sub
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x5, x9, x8, eq
	ldp	w7, w6, [sp]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_wpa_dbg
	mov	x0, x20
	bl	_radio_work_free
	cbz	w21, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_radio_work_check_next
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Radio work '%s'@%p %s in %ld.%06ld seconds"

l_.str.1:                               ; @.str.1
	.asciz	"done"

l_.str.2:                               ; @.str.2
	.asciz	"canceled"

.subsections_via_symbols
