	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_chub_update_mcc     ## -- Begin function iwl_mvm_rx_chub_update_mcc
	.p2align	4, 0x90
_iwl_mvm_rx_chub_update_mcc:            ## @iwl_mvm_rx_chub_update_mcc
	.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	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r14
	leaq	8(%rbx), %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_iwl_mvm_is_vif_assoc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	_MCC_SOURCE_WIFI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_LAR                  ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_iwl_mvm_is_lar_supported
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movb	%ah, -27(%rbp)
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movb	%al, -26(%rbp)
	movb	$0, -25(%rbp)
	movl	(%r14), %r14d
	leaq	L_.str.1(%rip), %rsi
	leaq	-27(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_LAR
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_iwl_mvm_get_regdomain
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_iwl_mvm_get_sar_geo_profile
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rsi
	cmovsq	%rcx, %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IWL_DEBUG_INFO
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_regulatory_set_wiphy_regd
	movq	%r14, %rdi
	callq	_kfree
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCC_SOURCE_WIFI,8,3            ## @MCC_SOURCE_WIFI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignore mcc update while associated\n"

L_.str.1:                               ## @.str.1
	.asciz	"RX: received chub update mcc cmd (mcc '%s' src %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"SAR WGDS is disabled (%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"SAR WGDS: geo profile %d is configured\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_chub_update_mcc     ; -- Begin function iwl_mvm_rx_chub_update_mcc
	.p2align	2
_iwl_mvm_rx_chub_update_mcc:            ; @iwl_mvm_rx_chub_update_mcc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x20, [x0]
	add	x0, x19, #8
	bl	_lockdep_assert_held
	mov	x0, x19
	bl	_iwl_mvm_is_vif_assoc
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _MCC_SOURCE_WIFI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCC_SOURCE_WIFI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_IWL_DEBUG_LAR
LBB0_3:
	mov	x0, x19
	bl	_iwl_mvm_is_lar_supported
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	lsr	w8, w0, #8
	sturb	w8, [x29, #-19]
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	sturb	w0, [x29, #-18]
	sturb	wzr, [x29, #-17]
	ldr	x20, [x20]
	sub	x8, x29, #19
	stp	x8, x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_LAR
	ldr	x8, [x19]
	ldr	w0, [x8]
	sub	x1, x29, #19
	mov	x2, x20
	mov	x3, #0
	bl	_iwl_mvm_get_regdomain
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_iwl_mvm_get_sar_geo_profile
	mov	x2, x0
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x1, x9, x8, lt
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_regulatory_set_wiphy_regd
	mov	x0, x20
	bl	_kfree
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCC_SOURCE_WIFI,8,3            ; @MCC_SOURCE_WIFI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignore mcc update while associated\n"

l_.str.1:                               ; @.str.1
	.asciz	"RX: received chub update mcc cmd (mcc '%s' src %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"SAR WGDS is disabled (%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"SAR WGDS: geo profile %d is configured\n"

.subsections_via_symbols
