	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_disable_ht40               ## -- Begin function set_disable_ht40
	.p2align	4, 0x90
_set_disable_ht40:                      ## @set_disable_ht40
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %rax
	movq	_HT_CAP_INFO_SHORT_GI40MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_host_to_le16
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	notl	%eax
	andl	%eax, (%r14)
	jmp	LBB0_3
LBB0_2:
	orl	%eax, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_HT_CAP_INFO_SHORT_GI40MHZ,4,2  ## @HT_CAP_INFO_SHORT_GI40MHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_disable_ht40               ; -- Begin function set_disable_ht40
	.p2align	2
_set_disable_ht40:                      ; @set_disable_ht40
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HT_CAP_INFO_SHORT_GI40MHZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HT_CAP_INFO_SHORT_GI40MHZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_host_to_le16
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	bic	w8, w8, w0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	orr	w8, w8, w0
LBB0_3:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_HT_CAP_INFO_SHORT_GI40MHZ,4,2  ; @HT_CAP_INFO_SHORT_GI40MHZ
.subsections_via_symbols
