	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_fw_sgi_cw_support
_rs_fw_sgi_cw_support:                  ## @rs_fw_sgi_cw_support
	.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
	xorl	%ebx, %ebx
	cmpq	$0, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movl	12(%rdi), %eax
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movq	_IWL_TLC_MNG_CH_WIDTH_20MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	12(%r14), %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_IWL_TLC_MNG_CH_WIDTH_40MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
LBB0_6:
	movl	8(%r14), %eax
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_IWL_TLC_MNG_CH_WIDTH_80MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	8(%r14), %eax
LBB0_8:
	movq	_IEEE80211_VHT_CAP_SHORT_GI_160@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_IWL_TLC_MNG_CH_WIDTH_160MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_IWL_TLC_MNG_CH_WIDTH_20MHZ,4,2 ## @IWL_TLC_MNG_CH_WIDTH_20MHZ
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IWL_TLC_MNG_CH_WIDTH_40MHZ,4,2 ## @IWL_TLC_MNG_CH_WIDTH_40MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IWL_TLC_MNG_CH_WIDTH_80MHZ,4,2 ## @IWL_TLC_MNG_CH_WIDTH_80MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_IWL_TLC_MNG_CH_WIDTH_160MHZ,4,2 ## @IWL_TLC_MNG_CH_WIDTH_160MHZ
	.no_dead_strip	_rs_fw_sgi_cw_support
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_fw_sgi_cw_support
_rs_fw_sgi_cw_support:                  ; @rs_fw_sgi_cw_support
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_11
LBB0_2:
	mov	x20, x0
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _IWL_TLC_MNG_CH_WIDTH_20MHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_TLC_MNG_CH_WIDTH_20MHZ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
	mov	x19, x0
	ldr	w8, [x20, #12]
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
Lloh6:
	adrp	x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _IWL_TLC_MNG_CH_WIDTH_40MHZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_TLC_MNG_CH_WIDTH_40MHZ@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w0, w19
LBB0_7:
	ldr	w8, [x20, #8]
Lloh12:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _IWL_TLC_MNG_CH_WIDTH_80MHZ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IWL_TLC_MNG_CH_WIDTH_80MHZ@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w0, w19
	ldr	w8, [x20, #8]
LBB0_9:
Lloh18:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _IWL_TLC_MNG_CH_WIDTH_160MHZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IWL_TLC_MNG_CH_WIDTH_160MHZ@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w0, w19
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IWL_TLC_MNG_CH_WIDTH_20MHZ,4,2 ; @IWL_TLC_MNG_CH_WIDTH_20MHZ
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IWL_TLC_MNG_CH_WIDTH_40MHZ,4,2 ; @IWL_TLC_MNG_CH_WIDTH_40MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IWL_TLC_MNG_CH_WIDTH_80MHZ,4,2 ; @IWL_TLC_MNG_CH_WIDTH_80MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_IWL_TLC_MNG_CH_WIDTH_160MHZ,4,2 ; @IWL_TLC_MNG_CH_WIDTH_160MHZ
	.no_dead_strip	_rs_fw_sgi_cw_support
.subsections_via_symbols
