	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_compute_duration_ht  ## -- Begin function ieee80211_compute_duration_ht
	.p2align	4, 0x90
_ieee80211_compute_duration_ht:         ## @ieee80211_compute_duration_ht
	.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
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	movl	%esi, %r12d
	movq	_IEEE80211_RATE_MCS@GOTPCREL(%rip), %r14
	movslq	%edx, %rbx
	andl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_KASSERT
	movl	(%r14), %eax
	notl	%eax
	andl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	$16, %eax
	setl	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	andl	$15, %ebx
	testl	%r13d, %r13d
	leaq	_ieee80211_compute_duration_ht.ht20_bps(%rip), %rax
	leaq	_ieee80211_compute_duration_ht.ht40_bps(%rip), %rcx
	cmoveq	%rax, %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	_OFDM_PLCP_BITS@GOTPCREL(%rip), %rax
	shll	$3, %r12d
	addl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_howmany
	movl	%eax, %ebx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	leal	(%rbx,%rbx,8), %eax
	addl	%eax, %eax
	addl	$4, %eax
	cltq
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$33, %rbx
	addl	%eax, %ebx
	jmp	LBB0_3
LBB0_2:
	shll	$2, %ebx
LBB0_3:
	movq	_HT_L_STF@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_HT_L_LTF@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_HT_L_SIG@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_HT_SIG@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_HT_STF@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_HT_LTF
	addl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ieee80211_compute_duration_ht.ht20_bps
_ieee80211_compute_duration_ht.ht20_bps:
	.long	26                              ## 0x1a
	.long	52                              ## 0x34
	.long	78                              ## 0x4e
	.long	104                             ## 0x68
	.long	156                             ## 0x9c
	.long	208                             ## 0xd0
	.long	234                             ## 0xea
	.long	260                             ## 0x104
	.long	52                              ## 0x34
	.long	104                             ## 0x68
	.long	156                             ## 0x9c
	.long	208                             ## 0xd0
	.long	312                             ## 0x138
	.long	416                             ## 0x1a0
	.long	468                             ## 0x1d4
	.long	520                             ## 0x208

	.p2align	4                               ## @ieee80211_compute_duration_ht.ht40_bps
_ieee80211_compute_duration_ht.ht40_bps:
	.long	54                              ## 0x36
	.long	108                             ## 0x6c
	.long	162                             ## 0xa2
	.long	216                             ## 0xd8
	.long	324                             ## 0x144
	.long	432                             ## 0x1b0
	.long	486                             ## 0x1e6
	.long	540                             ## 0x21c
	.long	108                             ## 0x6c
	.long	216                             ## 0xd8
	.long	324                             ## 0x144
	.long	432                             ## 0x1b0
	.long	648                             ## 0x288
	.long	864                             ## 0x360
	.long	972                             ## 0x3cc
	.long	1080                            ## 0x438

	.comm	_IEEE80211_RATE_MCS,4,2         ## @IEEE80211_RATE_MCS
	.comm	_OFDM_PLCP_BITS,4,2             ## @OFDM_PLCP_BITS
	.comm	_HT_L_STF,4,2                   ## @HT_L_STF
	.comm	_HT_L_LTF,4,2                   ## @HT_L_LTF
	.comm	_HT_L_SIG,4,2                   ## @HT_L_SIG
	.comm	_HT_SIG,4,2                     ## @HT_SIG
	.comm	_HT_STF,4,2                     ## @HT_STF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_compute_duration_ht  ; -- Begin function ieee80211_compute_duration_ht
	.p2align	2
_ieee80211_compute_duration_ht:         ; @ieee80211_compute_duration_ht
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	sxtw	x24, w22
Lloh0:
	adrp	x25, _IEEE80211_RATE_MCS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IEEE80211_RATE_MCS@GOTPAGEOFF]
	ldr	w8, [x25]
	and	w0, w8, w2
	mov	x1, x24
	bl	_KASSERT
	ldr	w8, [x25]
	bic	w8, w22, w8
	cmp	w8, #16
	cset	w0, lt
	mov	x1, x24
	bl	_KASSERT
	and	w8, w22, #0xf
Lloh2:
	adrp	x9, _ieee80211_compute_duration_ht.ht40_bps@PAGE
Lloh3:
	add	x9, x9, _ieee80211_compute_duration_ht.ht40_bps@PAGEOFF
Lloh4:
	adrp	x10, _ieee80211_compute_duration_ht.ht20_bps@PAGE
Lloh5:
	add	x10, x10, _ieee80211_compute_duration_ht.ht20_bps@PAGEOFF
	cmp	w21, #0
	csel	x9, x10, x9, eq
	ldr	w1, [x9, w8, uxtw #2]
Lloh6:
	adrp	x8, _OFDM_PLCP_BITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OFDM_PLCP_BITS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, w23, lsl #3
	bl	_howmany
	lsl	w8, w0, #2
	mov	w9, #18
	orr	w10, wzr, #0x4
	madd	w9, w0, w9, w10
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	cmp	w20, #0
	csel	w8, w8, w9, eq
Lloh9:
	adrp	x9, _HT_L_STF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HT_L_STF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _HT_L_LTF@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HT_L_LTF@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
Lloh15:
	adrp	x9, _HT_L_SIG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HT_L_SIG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _HT_SIG@GOTPAGE
Lloh19:
	ldr	x10, [x10, _HT_SIG@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	add	w8, w8, w9
	add	w8, w8, w10
Lloh21:
	adrp	x9, _HT_STF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _HT_STF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	add	w20, w8, w9
	mov	x0, x19
	bl	_HT_LTF
	add	w0, w20, w0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ieee80211_compute_duration_ht.ht20_bps
_ieee80211_compute_duration_ht.ht20_bps:
	.long	26                              ; 0x1a
	.long	52                              ; 0x34
	.long	78                              ; 0x4e
	.long	104                             ; 0x68
	.long	156                             ; 0x9c
	.long	208                             ; 0xd0
	.long	234                             ; 0xea
	.long	260                             ; 0x104
	.long	52                              ; 0x34
	.long	104                             ; 0x68
	.long	156                             ; 0x9c
	.long	208                             ; 0xd0
	.long	312                             ; 0x138
	.long	416                             ; 0x1a0
	.long	468                             ; 0x1d4
	.long	520                             ; 0x208

	.p2align	2                               ; @ieee80211_compute_duration_ht.ht40_bps
_ieee80211_compute_duration_ht.ht40_bps:
	.long	54                              ; 0x36
	.long	108                             ; 0x6c
	.long	162                             ; 0xa2
	.long	216                             ; 0xd8
	.long	324                             ; 0x144
	.long	432                             ; 0x1b0
	.long	486                             ; 0x1e6
	.long	540                             ; 0x21c
	.long	108                             ; 0x6c
	.long	216                             ; 0xd8
	.long	324                             ; 0x144
	.long	432                             ; 0x1b0
	.long	648                             ; 0x288
	.long	864                             ; 0x360
	.long	972                             ; 0x3cc
	.long	1080                            ; 0x438

	.comm	_IEEE80211_RATE_MCS,4,2         ; @IEEE80211_RATE_MCS
	.comm	_OFDM_PLCP_BITS,4,2             ; @OFDM_PLCP_BITS
	.comm	_HT_L_STF,4,2                   ; @HT_L_STF
	.comm	_HT_L_LTF,4,2                   ; @HT_L_LTF
	.comm	_HT_L_SIG,4,2                   ; @HT_L_SIG
	.comm	_HT_SIG,4,2                     ; @HT_SIG
	.comm	_HT_STF,4,2                     ; @HT_STF
.subsections_via_symbols
