	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ctstoself_duration   ## -- Begin function ieee80211_ctstoself_duration
	.p2align	4, 0x90
_ieee80211_ctstoself_duration:          ## @ieee80211_ctstoself_duration
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_hw_to_local
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	16(%r13), %rdx
	movq	(%rax,%rcx,8), %rcx
	movq	8(%rcx), %rax
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_vif_to_sdata
	movl	4(%rax), %r12d
	movq	_IEEE80211_SDATA_OPERATING_GMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_IEEE80211_RATE_ERP_G@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	andl	(%rax,%rdx,8), %r14d
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	jmp	LBB0_6
LBB0_3:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_5:
	movq	%r15, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_6:
	movl	(%rcx), %edi
	movq	%rdx, %r15
	movl	4(%rax,%rdx,8), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_ieee80211_frame_duration
	movq	%rax, %rbx
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	jne	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r15,8), %edx
	movl	$10, %esi
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_ieee80211_frame_duration
	addq	%rax, %rbx
LBB0_8:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu_to_le16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SDATA_OPERATING_GMODE,4,2 ## @IEEE80211_SDATA_OPERATING_GMODE
	.comm	_IEEE80211_RATE_ERP_G,4,2       ## @IEEE80211_RATE_ERP_G
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ctstoself_duration   ; -- Begin function ieee80211_ctstoself_duration
	.p2align	2
_ieee80211_ctstoself_duration:          ; @ieee80211_ctstoself_duration
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_hw_to_local
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x23, [x8, x9, lsl #3]
	ldr	x24, [x23, #8]
	ldr	x25, [x19, #16]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_vif_to_sdata
	ldp	w8, w21, [x0]
Lloh0:
	adrp	x9, _IEEE80211_SDATA_OPERATING_GMODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_SDATA_OPERATING_GMODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	lsl	x8, x25, #3
	ldr	w8, [x24, x8]
Lloh3:
	adrp	x9, _IEEE80211_RATE_ERP_G@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_RATE_ERP_G@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w22, w9, w8
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	w0, [x23]
	add	x24, x24, x25, lsl #3
	ldr	w2, [x24, #4]!
	mov	x1, x20
	mov	x3, x22
	mov	x4, x21
	bl	_ieee80211_frame_duration
	mov	x20, x0
	ldr	w8, [x19, #8]
Lloh6:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x23]
	ldr	w2, [x24]
	mov	w1, #10
	mov	x3, x22
	mov	x4, x21
	bl	_ieee80211_frame_duration
	add	x20, x0, x20
LBB0_6:
	mov	x0, x20
	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
	b	_cpu_to_le16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SDATA_OPERATING_GMODE,4,2 ; @IEEE80211_SDATA_OPERATING_GMODE
	.comm	_IEEE80211_RATE_ERP_G,4,2       ; @IEEE80211_RATE_ERP_G
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
.subsections_via_symbols
