	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_set_flags_for_band         ## -- Begin function iwl_set_flags_for_band
	.p2align	4, 0x90
_iwl_set_flags_for_band:                ## @iwl_set_flags_for_band
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_RXON_FLG_BAND_24G_MSK@GOTPCREL(%rip), %rax
	movq	_RXON_FLG_AUTO_DETECT_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RXON_FLG_CCK_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	(%rsi), %ecx
	movl	%ecx, (%rsi)
	movq	_RXON_FLG_SHORT_SLOT_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	jmp	LBB0_7
LBB0_2:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_RXON_FLG_SHORT_SLOT_MSK@GOTPCREL(%rip), %rcx
	movl	(%rsi), %eax
	orl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_RXON_FLG_SHORT_SLOT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rsi), %eax
LBB0_6:
	movl	%eax, (%rsi)
	movq	_RXON_FLG_BAND_24G_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	movq	_RXON_FLG_AUTO_DETECT_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	movq	_RXON_FLG_CCK_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
LBB0_7:
	movl	%ecx, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.comm	_RXON_FLG_BAND_24G_MSK,4,2      ## @RXON_FLG_BAND_24G_MSK
	.comm	_RXON_FLG_AUTO_DETECT_MSK,4,2   ## @RXON_FLG_AUTO_DETECT_MSK
	.comm	_RXON_FLG_CCK_MSK,4,2           ## @RXON_FLG_CCK_MSK
	.comm	_RXON_FLG_SHORT_SLOT_MSK,4,2    ## @RXON_FLG_SHORT_SLOT_MSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_set_flags_for_band         ; -- Begin function iwl_set_flags_for_band
	.p2align	2
_iwl_set_flags_for_band:                ; @iwl_set_flags_for_band
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RXON_FLG_BAND_24G_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXON_FLG_BAND_24G_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RXON_FLG_AUTO_DETECT_MSK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXON_FLG_AUTO_DETECT_MSK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _RXON_FLG_CCK_MSK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RXON_FLG_CCK_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x1]
	bic	w8, w9, w8
	str	w8, [x1]
Lloh12:
	adrp	x9, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
	ret
LBB0_2:
	cbz	x3, LBB0_5
; %bb.3:
	ldr	x8, [x3]
	cbz	x8, LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x1]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RXON_FLG_SHORT_SLOT_MSK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x1]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [x1]
Lloh21:
	adrp	x9, _RXON_FLG_BAND_24G_MSK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RXON_FLG_BAND_24G_MSK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
Lloh24:
	adrp	x9, _RXON_FLG_AUTO_DETECT_MSK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RXON_FLG_AUTO_DETECT_MSK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
Lloh27:
	adrp	x9, _RXON_FLG_CCK_MSK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RXON_FLG_CCK_MSK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.comm	_RXON_FLG_BAND_24G_MSK,4,2      ; @RXON_FLG_BAND_24G_MSK
	.comm	_RXON_FLG_AUTO_DETECT_MSK,4,2   ; @RXON_FLG_AUTO_DETECT_MSK
	.comm	_RXON_FLG_CCK_MSK,4,2           ; @RXON_FLG_CCK_MSK
	.comm	_RXON_FLG_SHORT_SLOT_MSK,4,2    ; @RXON_FLG_SHORT_SLOT_MSK
.subsections_via_symbols
