	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht40_intolerant_remove         ## -- Begin function ht40_intolerant_remove
	.p2align	4, 0x90
_ht40_intolerant_remove:                ## @ht40_intolerant_remove
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	$0, (%rsi)
	decq	(%rdi)
	je	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	16(%rbx), %rax
	movq	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_WPA_DRIVER_FLAGS_HT_2040_COEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rbx)
	je	LBB0_4
## %bb.5:
	movq	_OVERLAPPING_BSS_TRANS_DELAY_FACTOR@GOTPCREL(%rip), %rcx
	movl	4(%rax), %r14d
	imull	(%rcx), %r14d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_wpa_printf
	movq	_ap_ht2040_timeout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movl	(%r15), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_WPA_DRIVER_FLAGS_HT_2040_COEX,4,2 ## @WPA_DRIVER_FLAGS_HT_2040_COEX
	.comm	_OVERLAPPING_BSS_TRANS_DELAY_FACTOR,4,2 ## @OVERLAPPING_BSS_TRANS_DELAY_FACTOR
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HT: Start 20->40 MHz transition timer (%d seconds)"

	.comm	_ap_ht2040_timeout,4,2          ## @ap_ht2040_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht40_intolerant_remove         ; -- Begin function ht40_intolerant_remove
	.p2align	2
_ht40_intolerant_remove:                ; @ht40_intolerant_remove
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	str	xzr, [x1]
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.4:
	ldr	w9, [x19, #8]
Lloh3:
	adrp	x10, _WPA_DRIVER_FLAGS_HT_2040_COEX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WPA_DRIVER_FLAGS_HT_2040_COEX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.5:
Lloh6:
	adrp	x9, _OVERLAPPING_BSS_TRANS_DELAY_FACTOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OVERLAPPING_BSS_TRANS_DELAY_FACTOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w8, [x8, #4]
	mul	w20, w8, w9
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_wpa_printf
Lloh14:
	adrp	x21, _ap_ht2040_timeout@GOTPAGE
Lloh15:
	ldr	x21, [x21, _ap_ht2040_timeout@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_eloop_register_timeout
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_WPA_DRIVER_FLAGS_HT_2040_COEX,4,2 ; @WPA_DRIVER_FLAGS_HT_2040_COEX
	.comm	_OVERLAPPING_BSS_TRANS_DELAY_FACTOR,4,2 ; @OVERLAPPING_BSS_TRANS_DELAY_FACTOR
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HT: Start 20->40 MHz transition timer (%d seconds)"

	.comm	_ap_ht2040_timeout,4,2          ; @ap_ht2040_timeout
.subsections_via_symbols
