	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_tdma_slot_calc             ## -- Begin function ath_tdma_slot_calc
	.p2align	4, 0x90
_ath_tdma_slot_calc:                    ## @ath_tdma_slot_calc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %rsi
	leaq	-64(%rbp), %rdi
	movl	$20, %edx
	callq	_memcpy
	movl	8(%rbx), %edi
	callq	_be32toh
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_be32toh
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_be64toh
	movq	%rax, %r12
	movl	-60(%rbp), %edi
	callq	_be64toh
	movq	%rax, %r13
	movl	-64(%rbp), %edi
	callq	_be64toh
	movq	%rax, %rbx
	movl	-48(%rbp), %edi
	callq	_be32toh
	movq	%rax, %r14
	movl	-52(%rbp), %edi
	callq	_be32toh
	movq	%rax, %r15
	movl	-56(%rbp), %edi
	callq	_be32toh
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%rbx, %r9
	pushq	%rax
	pushq	%r15
	pushq	%r14
	callq	_printf
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%u.%06u] [%llu] SLOTCALC: NEXTTBTT=%llu nextslot=%llu tsfdelta=%d avg (%d/%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_tdma_slot_calc             ; -- Begin function ath_tdma_slot_calc
	.p2align	2
_ath_tdma_slot_calc:                    ; @ath_tdma_slot_calc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x1, x0, #12
	add	x0, sp, #8
	mov	w2, #20
	bl	_memcpy
	ldr	w0, [x19, #8]
	bl	_be32toh
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_be32toh
	mov	x21, x0
	ldr	w0, [x19]
	bl	_be64toh
	mov	x19, x0
	ldr	w0, [sp, #12]
	bl	_be64toh
	mov	x22, x0
	ldr	w0, [sp, #8]
	bl	_be64toh
	mov	x23, x0
	ldr	w0, [sp, #24]
	bl	_be32toh
	mov	x24, x0
	ldr	w0, [sp, #20]
	bl	_be32toh
	mov	x25, x0
	ldr	w0, [sp, #16]
	bl	_be32toh
	str	w0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	mov	x4, x22
	mov	x5, x23
	mov	x6, x24
	mov	x7, x25
	bl	_printf
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u.%06u] [%llu] SLOTCALC: NEXTTBTT=%llu nextslot=%llu tsfdelta=%d avg (%d/%d)\n"

.subsections_via_symbols
