	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htcap_update_shortgi
_htcap_update_shortgi:                  ## @htcap_update_shortgi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rdx
	movq	_IEEE80211_NODE_SGI20@GOTPCREL(%rip), %r9
	movq	_IEEE80211_NODE_SGI40@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	orl	(%r9), %ecx
	notl	%ecx
	andl	(%rdi), %ecx
	movl	%ecx, (%rdi)
	movl	4(%rdi), %esi
	movq	_IEEE80211_HTCAP_SHORTGI20@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_IEEE80211_FHT_SHORTGI20@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_3
## %bb.2:
	orl	(%r9), %ecx
	movl	%ecx, (%rdi)
LBB0_3:
	movq	_IEEE80211_HTCAP_SHORTGI40@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_IEEE80211_FHT_SHORTGI40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_6
## %bb.5:
	orl	(%r8), %ecx
	movl	%ecx, (%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NODE_SGI20,4,2       ## @IEEE80211_NODE_SGI20
	.comm	_IEEE80211_NODE_SGI40,4,2       ## @IEEE80211_NODE_SGI40
	.comm	_IEEE80211_HTCAP_SHORTGI20,4,2  ## @IEEE80211_HTCAP_SHORTGI20
	.comm	_IEEE80211_FHT_SHORTGI20,4,2    ## @IEEE80211_FHT_SHORTGI20
	.comm	_IEEE80211_HTCAP_SHORTGI40,4,2  ## @IEEE80211_HTCAP_SHORTGI40
	.comm	_IEEE80211_FHT_SHORTGI40,4,2    ## @IEEE80211_FHT_SHORTGI40
	.no_dead_strip	_htcap_update_shortgi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htcap_update_shortgi
_htcap_update_shortgi:                  ; @htcap_update_shortgi
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x12, _IEEE80211_NODE_SGI20@GOTPAGE
Lloh1:
	ldr	x12, [x12, _IEEE80211_NODE_SGI20@GOTPAGEOFF]
	ldr	w10, [x12]
Lloh2:
	adrp	x8, _IEEE80211_NODE_SGI40@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_NODE_SGI40@GOTPAGEOFF]
	ldr	w11, [x8]
	orr	w10, w11, w10
	ldp	w13, w11, [x0]
	bic	w10, w13, w10
	str	w10, [x0]
Lloh4:
	adrp	x13, _IEEE80211_HTCAP_SHORTGI20@GOTPAGE
Lloh5:
	ldr	x13, [x13, _IEEE80211_HTCAP_SHORTGI20@GOTPAGEOFF]
Lloh6:
	ldr	w13, [x13]
	tst	w13, w11
	b.eq	LBB0_3
; %bb.1:
	ldr	w13, [x9]
Lloh7:
	adrp	x14, _IEEE80211_FHT_SHORTGI20@GOTPAGE
Lloh8:
	ldr	x14, [x14, _IEEE80211_FHT_SHORTGI20@GOTPAGEOFF]
Lloh9:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.2:
	ldr	w12, [x12]
	orr	w10, w12, w10
	str	w10, [x0]
LBB0_3:
Lloh10:
	adrp	x12, _IEEE80211_HTCAP_SHORTGI40@GOTPAGE
Lloh11:
	ldr	x12, [x12, _IEEE80211_HTCAP_SHORTGI40@GOTPAGEOFF]
Lloh12:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_6
; %bb.4:
	ldr	w9, [x9]
Lloh13:
	adrp	x11, _IEEE80211_FHT_SHORTGI40@GOTPAGE
Lloh14:
	ldr	x11, [x11, _IEEE80211_FHT_SHORTGI40@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x0]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NODE_SGI20,4,2       ; @IEEE80211_NODE_SGI20
	.comm	_IEEE80211_NODE_SGI40,4,2       ; @IEEE80211_NODE_SGI40
	.comm	_IEEE80211_HTCAP_SHORTGI20,4,2  ; @IEEE80211_HTCAP_SHORTGI20
	.comm	_IEEE80211_FHT_SHORTGI20,4,2    ; @IEEE80211_FHT_SHORTGI20
	.comm	_IEEE80211_HTCAP_SHORTGI40,4,2  ; @IEEE80211_HTCAP_SHORTGI40
	.comm	_IEEE80211_FHT_SHORTGI40,4,2    ; @IEEE80211_FHT_SHORTGI40
	.no_dead_strip	_htcap_update_shortgi
.subsections_via_symbols
