	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getflags
_getflags:                              ## @getflags
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, (%rsi)
	movq	_IEEE80211_MODE_11A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_IEEE80211_MODE_11NA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:
	movq	_IEEE80211_MODE_11B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	_IEEE80211_MODE_11G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	_IEEE80211_MODE_11NG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	_IEEE80211_MODE_VHT_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getflags_2ghz                  ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getflags_5ghz                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MODE_11A,4,2         ## @IEEE80211_MODE_11A
	.comm	_IEEE80211_MODE_11NA,4,2        ## @IEEE80211_MODE_11NA
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ## @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_MODE_11B,4,2         ## @IEEE80211_MODE_11B
	.comm	_IEEE80211_MODE_11G,4,2         ## @IEEE80211_MODE_11G
	.comm	_IEEE80211_MODE_11NG,4,2        ## @IEEE80211_MODE_11NG
	.comm	_IEEE80211_MODE_VHT_2GHZ,4,2    ## @IEEE80211_MODE_VHT_2GHZ
	.no_dead_strip	_getflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getflags
_getflags:                              ; @getflags
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [x1]
Lloh0:
	adrp	x8, _IEEE80211_MODE_11A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MODE_11A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_isset
	cbnz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _IEEE80211_MODE_11NA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_MODE_11NA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbnz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _IEEE80211_MODE_VHT_5GHZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_MODE_VHT_5GHZ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbz	x0, LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _IEEE80211_MODE_11B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_MODE_11B@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbnz	x0, LBB0_7
; %bb.4:
Lloh12:
	adrp	x8, _IEEE80211_MODE_11G@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_MODE_11G@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbnz	x0, LBB0_7
; %bb.5:
Lloh15:
	adrp	x8, _IEEE80211_MODE_11NG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_MODE_11NG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbnz	x0, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _IEEE80211_MODE_VHT_2GHZ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_MODE_VHT_2GHZ@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isset
	cbz	x0, LBB0_9
LBB0_7:
	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
LBB0_8:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	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
	b	_getflags_2ghz
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	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
	b	_getflags_5ghz
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MODE_11A,4,2         ; @IEEE80211_MODE_11A
	.comm	_IEEE80211_MODE_11NA,4,2        ; @IEEE80211_MODE_11NA
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ; @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_MODE_11B,4,2         ; @IEEE80211_MODE_11B
	.comm	_IEEE80211_MODE_11G,4,2         ; @IEEE80211_MODE_11G
	.comm	_IEEE80211_MODE_11NG,4,2        ; @IEEE80211_MODE_11NG
	.comm	_IEEE80211_MODE_VHT_2GHZ,4,2    ; @IEEE80211_MODE_VHT_2GHZ
	.no_dead_strip	_getflags
.subsections_via_symbols
