	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_set_country
_brcms_c_set_country:                   ## @brcms_c_set_country
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	_SUPPORT_11N@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rcx), %edx
	cmpl	(%rax), %edx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_brcms_c_set_nmode
LBB0_2:
	movq	8(%rbx), %rax
	movq	_BAND_2G_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_brcms_c_stf_ss_update
	movq	8(%rbx), %rax
	movq	_BAND_5G_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_brcms_c_stf_ss_update
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_brcms_c_set_gmode              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORT_11N,4,2                ## @SUPPORT_11N
	.comm	_BAND_2G_INDEX,8,3              ## @BAND_2G_INDEX
	.comm	_BAND_5G_INDEX,8,3              ## @BAND_5G_INDEX
	.no_dead_strip	_brcms_c_set_country
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_set_country
_brcms_c_set_country:                   ; @brcms_c_set_country
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _SUPPORT_11N@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUPPORT_11N@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	x9, [x19]
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_brcms_c_set_nmode
LBB0_2:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _BAND_2G_INDEX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BAND_2G_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_brcms_c_stf_ss_update
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _BAND_5G_INDEX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BAND_5G_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_brcms_c_stf_ss_update
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcms_c_set_gmode
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORT_11N,4,2                ; @SUPPORT_11N
	.comm	_BAND_2G_INDEX,8,3              ; @BAND_2G_INDEX
	.comm	_BAND_5G_INDEX,8,3              ; @BAND_5G_INDEX
	.no_dead_strip	_brcms_c_set_country
.subsections_via_symbols
