	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_ht40_mode
_nl80211_set_ht40_mode:                 ## @nl80211_set_ht40_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.1:
	movq	8(%rdi), %r10
	xorl	%edi, %edi
	movq	_HOSTAPD_CHAN_HT40@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %r9
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rdi,8), %eax
	leal	-10(%rax), %ecx
	cmpl	%esi, %ecx
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$10, %eax
	cmpl	%edx, %eax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8), %eax
	orl	%eax, 4(%r10,%rdi,8)
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_HT40,4,2          ## @HOSTAPD_CHAN_HT40
	.no_dead_strip	_nl80211_set_ht40_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_set_ht40_mode
_nl80211_set_ht40_mode:                 ; @nl80211_set_ht40_mode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #4
Lloh0:
	adrp	x10, _HOSTAPD_CHAN_HT40@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HOSTAPD_CHAN_HT40@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x9, #-4]
	sub	w12, w11, #10
	add	w11, w11, #10
	cmp	w12, w1
	ccmp	w11, w2, #0, ge
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x10]
	ldr	w12, [x9]
	orr	w11, w12, w11
	str	w11, [x9]
	b	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_HT40,4,2          ; @HOSTAPD_CHAN_HT40
	.no_dead_strip	_nl80211_set_ht40_mode
.subsections_via_symbols
