	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_computetxtime         ## -- Begin function ath9k_hw_computetxtime
	.p2align	4, 0x90
_ath9k_hw_computetxtime:                ## @ath9k_hw_computetxtime
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testl	%edx, %edx
	je	LBB0_13
## %bb.1:
	movl	%r8d, %r13d
	movl	%ecx, %r8d
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	cmpl	$128, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %r14d
	jne	LBB0_12
## %bb.3:
	movq	_CCK_PREAMBLE_BITS@GOTPCREL(%rip), %rax
	movq	_CCK_PLCP_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addl	(%rax), %esi
	testl	%r9d, %r9d
	setne	%cl
	sarl	%cl, %esi
	movq	_CCK_SIFS_TIME@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	imull	$8000, %r8d, %eax               ## imm = 0x1F40
	cltd
	idivl	%r15d
	movl	%eax, %ebx
	addl	%esi, %ebx
	jmp	LBB0_13
LBB0_4:
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.5:
	movl	%r8d, %ebx
	callq	_IS_CHAN_QUARTER_RATE
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	sarl	$2, %r15d
	movq	_OFDM_SYMBOL_TIME_QUARTER@GOTPCREL(%rip), %r14
	imull	(%r14), %r15d
	movslq	%r15d, %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	movq	_OFDM_PLCP_BITS@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	shll	$3, %edi
	addl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DIV_ROUND_UP
	movq	_OFDM_SIFS_TIME_QUARTER@GOTPCREL(%rip), %rcx
	movq	_OFDM_PREAMBLE_TIME_QUARTER@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	callq	_ath9k_hw_common
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_ath_err
	jmp	LBB0_13
LBB0_7:
	movl	(%r12), %edi
	testl	%edi, %edi
	movl	%ebx, %r8d
	je	LBB0_10
## %bb.8:
	callq	_IS_CHAN_HALF_RATE
	movl	%ebx, %r8d
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	sarl	%r15d
	movq	_OFDM_SYMBOL_TIME_HALF@GOTPCREL(%rip), %r14
	imull	(%r14), %r15d
	movslq	%r15d, %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	movq	_OFDM_PLCP_BITS@GOTPCREL(%rip), %rax
	shll	$3, %r8d
	addl	(%rax), %r8d
	movl	%r8d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DIV_ROUND_UP
	movq	_OFDM_SIFS_TIME_HALF@GOTPCREL(%rip), %rcx
	movq	_OFDM_PREAMBLE_TIME_HALF@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_10:
	movq	_OFDM_SYMBOL_TIME@GOTPCREL(%rip), %r14
	imull	(%r14), %r15d
	movslq	%r15d, %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	movq	_OFDM_PLCP_BITS@GOTPCREL(%rip), %rax
	shll	$3, %r8d
	addl	(%rax), %r8d
	movl	%r8d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DIV_ROUND_UP
	movq	_OFDM_SIFS_TIME@GOTPCREL(%rip), %rcx
	movq	_OFDM_PREAMBLE_TIME@GOTPCREL(%rip), %rdx
LBB0_11:
	movl	(%rdx), %edx
	addl	(%rcx), %edx
	movl	%eax, %ebx
	imull	(%r14), %ebx
	addl	%edx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCK_PREAMBLE_BITS,4,2          ## @CCK_PREAMBLE_BITS
	.comm	_CCK_PLCP_BITS,4,2              ## @CCK_PLCP_BITS
	.comm	_CCK_SIFS_TIME,4,2              ## @CCK_SIFS_TIME
	.comm	_OFDM_SYMBOL_TIME_QUARTER,4,2   ## @OFDM_SYMBOL_TIME_QUARTER
	.comm	_OFDM_PLCP_BITS,4,2             ## @OFDM_PLCP_BITS
	.comm	_OFDM_SIFS_TIME_QUARTER,4,2     ## @OFDM_SIFS_TIME_QUARTER
	.comm	_OFDM_PREAMBLE_TIME_QUARTER,4,2 ## @OFDM_PREAMBLE_TIME_QUARTER
	.comm	_OFDM_SYMBOL_TIME_HALF,4,2      ## @OFDM_SYMBOL_TIME_HALF
	.comm	_OFDM_SIFS_TIME_HALF,4,2        ## @OFDM_SIFS_TIME_HALF
	.comm	_OFDM_PREAMBLE_TIME_HALF,4,2    ## @OFDM_PREAMBLE_TIME_HALF
	.comm	_OFDM_SYMBOL_TIME,4,2           ## @OFDM_SYMBOL_TIME
	.comm	_OFDM_SIFS_TIME,4,2             ## @OFDM_SIFS_TIME
	.comm	_OFDM_PREAMBLE_TIME,4,2         ## @OFDM_PREAMBLE_TIME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown phy %u (rate ix %u)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_computetxtime         ; -- Begin function ath9k_hw_computetxtime
	.p2align	2
_ath9k_hw_computetxtime:                ; @ath9k_hw_computetxtime
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	w2, LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w23, #129
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _CCK_PREAMBLE_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCK_PREAMBLE_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CCK_PLCP_BITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CCK_PLCP_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w5, #0
	cset	w9, ne
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _CCK_SIFS_TIME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCK_SIFS_TIME@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #8000
	mul	w10, w19, w10
	sdiv	w10, w10, w20
	add	w8, w8, w9
	add	w0, w8, w10
	b	LBB0_14
LBB0_4:
	ldr	w0, [x21]
	cbz	w0, LBB0_12
; %bb.5:
	bl	_IS_CHAN_QUARTER_RATE
	cbz	w0, LBB0_9
; %bb.6:
Lloh9:
	adrp	x21, _OFDM_SYMBOL_TIME_QUARTER@GOTPAGE
Lloh10:
	ldr	x21, [x21, _OFDM_SYMBOL_TIME_QUARTER@GOTPAGEOFF]
	asr	w8, w20, #2
	ldr	w9, [x21]
	mul	w8, w9, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w1, w8, w9
Lloh11:
	adrp	x8, _OFDM_PLCP_BITS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OFDM_PLCP_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w0, w8, w19, lsl #3
	bl	_DIV_ROUND_UP
Lloh14:
	adrp	x8, _OFDM_SIFS_TIME_QUARTER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OFDM_SIFS_TIME_QUARTER@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _OFDM_PREAMBLE_TIME_QUARTER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OFDM_PREAMBLE_TIME_QUARTER@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	mov	x22, x4
	mov	x0, x21
	bl	_ath9k_hw_common
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x3, x22
	bl	_ath_err
LBB0_8:
	mov	w0, #0
	b	LBB0_14
LBB0_9:
	ldr	w0, [x21]
	cbz	w0, LBB0_12
; %bb.10:
	bl	_IS_CHAN_HALF_RATE
	cbz	w0, LBB0_12
; %bb.11:
Lloh21:
	adrp	x21, _OFDM_SYMBOL_TIME_HALF@GOTPAGE
Lloh22:
	ldr	x21, [x21, _OFDM_SYMBOL_TIME_HALF@GOTPAGEOFF]
	asr	w8, w20, #1
	ldr	w9, [x21]
	mul	w8, w9, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w1, w8, w9
Lloh23:
	adrp	x8, _OFDM_PLCP_BITS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OFDM_PLCP_BITS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	add	w0, w8, w19, lsl #3
	bl	_DIV_ROUND_UP
Lloh26:
	adrp	x8, _OFDM_SIFS_TIME_HALF@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OFDM_SIFS_TIME_HALF@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _OFDM_PREAMBLE_TIME_HALF@GOTPAGE
Lloh30:
	ldr	x9, [x9, _OFDM_PREAMBLE_TIME_HALF@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh31:
	adrp	x21, _OFDM_SYMBOL_TIME@GOTPAGE
Lloh32:
	ldr	x21, [x21, _OFDM_SYMBOL_TIME@GOTPAGEOFF]
	ldr	w8, [x21]
	mul	w8, w8, w20
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w1, w8, w9
Lloh33:
	adrp	x8, _OFDM_PLCP_BITS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OFDM_PLCP_BITS@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	add	w0, w8, w19, lsl #3
	bl	_DIV_ROUND_UP
Lloh36:
	adrp	x8, _OFDM_SIFS_TIME@GOTPAGE
Lloh37:
	ldr	x8, [x8, _OFDM_SIFS_TIME@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _OFDM_PREAMBLE_TIME@GOTPAGE
Lloh40:
	ldr	x9, [x9, _OFDM_PREAMBLE_TIME@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x9]
	add	w8, w9, w8
	ldr	w9, [x21]
	madd	w0, w9, w0, w8
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_CCK_PREAMBLE_BITS,4,2          ; @CCK_PREAMBLE_BITS
	.comm	_CCK_PLCP_BITS,4,2              ; @CCK_PLCP_BITS
	.comm	_CCK_SIFS_TIME,4,2              ; @CCK_SIFS_TIME
	.comm	_OFDM_SYMBOL_TIME_QUARTER,4,2   ; @OFDM_SYMBOL_TIME_QUARTER
	.comm	_OFDM_PLCP_BITS,4,2             ; @OFDM_PLCP_BITS
	.comm	_OFDM_SIFS_TIME_QUARTER,4,2     ; @OFDM_SIFS_TIME_QUARTER
	.comm	_OFDM_PREAMBLE_TIME_QUARTER,4,2 ; @OFDM_PREAMBLE_TIME_QUARTER
	.comm	_OFDM_SYMBOL_TIME_HALF,4,2      ; @OFDM_SYMBOL_TIME_HALF
	.comm	_OFDM_SIFS_TIME_HALF,4,2        ; @OFDM_SIFS_TIME_HALF
	.comm	_OFDM_PREAMBLE_TIME_HALF,4,2    ; @OFDM_PREAMBLE_TIME_HALF
	.comm	_OFDM_SYMBOL_TIME,4,2           ; @OFDM_SYMBOL_TIME
	.comm	_OFDM_SIFS_TIME,4,2             ; @OFDM_SIFS_TIME
	.comm	_OFDM_PREAMBLE_TIME,4,2         ; @OFDM_PREAMBLE_TIME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown phy %u (rate ix %u)\n"

.subsections_via_symbols
