	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_ht40_mode_sec
_nl80211_set_ht40_mode_sec:             ## @nl80211_set_ht40_mode_sec
	.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	(%rdi), %r11d
	testl	%r11d, %r11d
	jle	LBB0_10
## %bb.1:
	movq	8(%rdi), %r14
	xorl	%edi, %edi
	movq	_HOSTAPD_CHAN_HT40@GOTPCREL(%rip), %r8
	movq	_HOSTAPD_CHAN_HT40PLUS@GOTPCREL(%rip), %r9
	movq	_HOSTAPD_CHAN_HT40MINUS@GOTPCREL(%rip), %r10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %r11
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rdi,8), %eax
	testl	%eax, (%r8)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%rdi,8), %ebx
	leal	-30(%rbx), %ecx
	cmpl	%esi, %ecx
	jl	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-10(%rbx), %ecx
	cmpl	%edx, %ecx
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	orl	(%r10), %eax
	movl	%eax, (%r14,%rdi,8)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	10(%rbx), %ecx
	cmpl	%esi, %ecx
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$30, %ebx
	cmpl	%edx, %ebx
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	orl	(%r9), %eax
	movl	%eax, (%r14,%rdi,8)
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_HT40,4,2          ## @HOSTAPD_CHAN_HT40
	.comm	_HOSTAPD_CHAN_HT40MINUS,4,2     ## @HOSTAPD_CHAN_HT40MINUS
	.comm	_HOSTAPD_CHAN_HT40PLUS,4,2      ## @HOSTAPD_CHAN_HT40PLUS
	.no_dead_strip	_nl80211_set_ht40_mode_sec
.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_sec
_nl80211_set_ht40_mode_sec:             ; @nl80211_set_ht40_mode_sec
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _HOSTAPD_CHAN_HT40@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HOSTAPD_CHAN_HT40@GOTPAGEOFF]
Lloh2:
	adrp	x11, _HOSTAPD_CHAN_HT40PLUS@GOTPAGE
Lloh3:
	ldr	x11, [x11, _HOSTAPD_CHAN_HT40PLUS@GOTPAGEOFF]
Lloh4:
	adrp	x12, _HOSTAPD_CHAN_HT40MINUS@GOTPAGE
Lloh5:
	ldr	x12, [x12, _HOSTAPD_CHAN_HT40MINUS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	ldr	w14, [x10]
	tst	w14, w13
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x9, #4]
	sub	w15, w14, #30
	sub	w16, w14, #10
	cmp	w15, w1
	ccmp	w16, w2, #0, ge
	b.gt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x12]
	orr	w13, w15, w13
	str	w13, [x9]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w15, w14, #10
	add	w14, w14, #30
	cmp	w15, w1
	ccmp	w14, w2, #0, ge
	b.gt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x11]
	orr	w13, w13, w14
	str	w13, [x9]
	b	LBB0_2
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_HT40,4,2          ; @HOSTAPD_CHAN_HT40
	.comm	_HOSTAPD_CHAN_HT40MINUS,4,2     ; @HOSTAPD_CHAN_HT40MINUS
	.comm	_HOSTAPD_CHAN_HT40PLUS,4,2      ; @HOSTAPD_CHAN_HT40PLUS
	.no_dead_strip	_nl80211_set_ht40_mode_sec
.subsections_via_symbols
