	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_sgi_allow
_rs_sgi_allow:                          ## @rs_sgi_allow
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, %rdi
	callq	_is_ht20
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%r14)
	jne	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	callq	_is_ht40
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%r14)
	jne	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_is_ht80
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, (%r14)
	jne	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_is_ht160
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IEEE80211_VHT_CAP_SHORT_GI_160@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, (%r14)
	jne	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	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	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_160
	.no_dead_strip	_rs_sgi_allow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_sgi_allow
_rs_sgi_allow:                          ; @rs_sgi_allow
	.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, x2
	mov	x19, x1
	mov	x0, x2
	bl	_is_ht20
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
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.ne	LBB0_8
LBB0_2:
	mov	x0, x20
	bl	_is_ht40
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_is_ht80
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_is_ht160
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_160
	.no_dead_strip	_rs_sgi_allow
.subsections_via_symbols
