	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_query_shortgi
__rtl_query_shortgi:                    ## @_rtl_query_shortgi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_mac
	movq	(%rbx), %rcx
	movl	(%rcx), %r9d
	movl	$0, (%r14)
	testq	%r15, %r15
	je	LBB0_19
## %bb.1:
	movl	8(%r15), %r10d
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	(%r15), %ebx
	cmpl	$0, 12(%r15)
	jne	LBB0_3
## %bb.2:
	cmpl	$0, 4(%r15)
	je	LBB0_19
LBB0_3:
	movl	%edi, %ecx
	orl	%esi, %ecx
	testl	%r10d, %ecx
	je	LBB0_19
## %bb.4:
	movq	(%rax), %rcx
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movl	8(%rax), %r8d
	addq	$12, %rax
	movq	%rax, %r15
	cmpl	$0, (%r15)
	je	LBB0_12
LBB0_11:
	testl	%ebx, %ebx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_6:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.7:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.8:
	xorl	%r8d, %r8d
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_14
LBB0_9:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	andl	%r10d, %r8d
	addq	$4, %r15
	cmpl	$0, (%r15)
	jne	LBB0_11
LBB0_12:
	testl	%r8d, %r8d
	je	LBB0_14
## %bb.13:
	andl	%r10d, %edi
	jne	LBB0_16
LBB0_14:
	testl	%r8d, %r8d
	jne	LBB0_17
## %bb.15:
	andl	%r10d, %esi
	je	LBB0_17
LBB0_16:
	movl	$1, (%r14)
LBB0_17:
	movq	_IEEE80211_TX_RC_SHORT_GI@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	jne	LBB0_19
## %bb.18:
	movl	$0, (%r14)
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ## @IEEE80211_TX_RC_SHORT_GI
	.no_dead_strip	__rtl_query_shortgi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_query_shortgi
__rtl_query_shortgi:                    ; @_rtl_query_shortgi
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	bl	_rtl_priv
	bl	_rtl_mac
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	wzr, [x19]
	cbz	x20, LBB0_19
; %bb.1:
Lloh0:
	adrp	x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh5:
	ldr	w14, [x10]
	ldr	w10, [x20]
Lloh6:
	adrp	x11, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	ldp	w13, w12, [x20, #8]
	cbnz	w12, LBB0_3
; %bb.2:
	ldr	w12, [x20, #4]
	cbz	w12, LBB0_19
LBB0_3:
	and	w12, w9, w13
	and	w9, w14, w13
	orr	w14, w12, w9
	cbz	w14, LBB0_19
; %bb.4:
	ldr	x14, [x0]
Lloh9:
	adrp	x15, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh10:
	ldr	x15, [x15, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh11:
	ldr	x15, [x15]
	cmp	x14, x15
	b.ne	LBB0_7
; %bb.5:
	ldr	w13, [x0, #8]
	add	x14, x0, #12
	ldr	w14, [x14]
	cbz	w14, LBB0_12
LBB0_6:
	and	w9, w11, w10
	cbnz	w9, LBB0_16
	b	LBB0_17
LBB0_7:
Lloh12:
	adrp	x15, _NL80211_IFTYPE_AP@GOTPAGE
Lloh13:
	ldr	x15, [x15, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh14:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_11
; %bb.8:
Lloh15:
	adrp	x15, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh16:
	ldr	x15, [x15, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh17:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_11
; %bb.9:
Lloh18:
	adrp	x15, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh19:
	ldr	x15, [x15, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh20:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_11
; %bb.10:
	mov	w13, #0
	b	LBB0_14
LBB0_11:
Lloh21:
	adrp	x14, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh22:
	ldr	x14, [x14, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh23:
	ldr	w14, [x14]
	and	w13, w14, w13
	add	x14, x20, #4
	ldr	w14, [x14]
	cbnz	w14, LBB0_6
LBB0_12:
	cbz	w13, LBB0_14
; %bb.13:
	cbnz	w12, LBB0_16
LBB0_14:
	cbnz	w13, LBB0_17
; %bb.15:
	cbz	w9, LBB0_17
LBB0_16:
	mov	w9, #1
	str	w9, [x19]
LBB0_17:
Lloh24:
	adrp	x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
	str	wzr, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ; @IEEE80211_TX_RC_SHORT_GI
	.no_dead_strip	__rtl_query_shortgi
.subsections_via_symbols
