	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libipw_is_valid_mode
_libipw_is_valid_mode:                  ## @libipw_is_valid_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE_A@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_LIBIPW_OFDM_MODULATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.2:
	movq	_LIBIPW_52GHZ_BAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%rdi)
	je	LBB0_3
LBB0_10:
	popq	%rbp
	retq
LBB0_3:
	movq	_IEEE_G@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_LIBIPW_OFDM_MODULATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.5:
	movq	_LIBIPW_24GHZ_BAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%rdi)
	jne	LBB0_10
LBB0_6:
	movq	_IEEE_B@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_LIBIPW_CCK_MODULATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_9
## %bb.8:
	movq	_LIBIPW_24GHZ_BAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%rdi)
	jne	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_A,4,2                     ## @IEEE_A
	.comm	_LIBIPW_OFDM_MODULATION,4,2     ## @LIBIPW_OFDM_MODULATION
	.comm	_LIBIPW_52GHZ_BAND,4,2          ## @LIBIPW_52GHZ_BAND
	.comm	_IEEE_G,4,2                     ## @IEEE_G
	.comm	_LIBIPW_24GHZ_BAND,4,2          ## @LIBIPW_24GHZ_BAND
	.comm	_IEEE_B,4,2                     ## @IEEE_B
	.comm	_LIBIPW_CCK_MODULATION,4,2      ## @LIBIPW_CCK_MODULATION
	.no_dead_strip	_libipw_is_valid_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libipw_is_valid_mode
_libipw_is_valid_mode:                  ; @libipw_is_valid_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE_A@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _LIBIPW_OFDM_MODULATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIBIPW_OFDM_MODULATION@GOTPAGEOFF]
	tst	w9, w1
	b.eq	LBB0_4
; %bb.1:
	ldr	w9, [x0]
	ldr	w10, [x8]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w9, [x0, #4]
Lloh5:
	adrp	x10, _LIBIPW_52GHZ_BAND@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LIBIPW_52GHZ_BAND@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
Lloh8:
	adrp	x9, _IEEE_G@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE_G@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_8
; %bb.5:
	ldr	w9, [x0]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x0, #4]
Lloh11:
	adrp	x9, _LIBIPW_24GHZ_BAND@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LIBIPW_24GHZ_BAND@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w0, #1
	ret
LBB0_8:
Lloh14:
	adrp	x8, _IEEE_B@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE_B@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_12
; %bb.9:
	ldr	w8, [x0]
Lloh17:
	adrp	x9, _LIBIPW_CCK_MODULATION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LIBIPW_CCK_MODULATION@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	ldr	w8, [x0, #4]
Lloh20:
	adrp	x9, _LIBIPW_24GHZ_BAND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LIBIPW_24GHZ_BAND@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	w0, #1
	ret
LBB0_12:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_A,4,2                     ; @IEEE_A
	.comm	_LIBIPW_OFDM_MODULATION,4,2     ; @LIBIPW_OFDM_MODULATION
	.comm	_LIBIPW_52GHZ_BAND,4,2          ; @LIBIPW_52GHZ_BAND
	.comm	_IEEE_G,4,2                     ; @IEEE_G
	.comm	_LIBIPW_24GHZ_BAND,4,2          ; @LIBIPW_24GHZ_BAND
	.comm	_IEEE_B,4,2                     ; @IEEE_B
	.comm	_LIBIPW_CCK_MODULATION,4,2      ; @LIBIPW_CCK_MODULATION
	.no_dead_strip	_libipw_is_valid_mode
.subsections_via_symbols
