	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_country_valid
_brcms_c_country_valid:                 ## @brcms_c_country_valid
	.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
	movb	(%rdi), %r15b
	leal	-65(%r15), %eax
	xorl	%r14d, %r14d
	cmpb	$25, %al
	ja	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movb	1(%rdi), %r12b
	leal	-65(%r12), %eax
	cmpb	$25, %al
	ja	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	cmpb	$88, %r15b
	je	LBB0_8
## %bb.5:
	cmpb	$81, %r15b
	jne	LBB0_7
## %bb.6:
	cmpb	$76, %r12b
	ja	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AA"

L_.str.1:                               ## @.str.1
	.asciz	"ZZ"

L_.str.2:                               ## @.str.2
	.asciz	"NA"

	.no_dead_strip	_brcms_c_country_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_country_valid
_brcms_c_country_valid:                 ; @brcms_c_country_valid
	.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
	ldrb	w20, [x0]
	sub	w8, w20, #65
	cmp	w8, #25
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x0
	ldrb	w21, [x0, #1]
	sub	w8, w21, #65
	cmp	w8, #25
	b.hi	LBB0_7
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_8
; %bb.4:
	cmp	w20, #88
	b.eq	LBB0_8
; %bb.5:
	cmp	w20, #81
	b.ne	LBB0_9
; %bb.6:
	cmp	w21, #76
	b.ls	LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	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_9:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AA"

l_.str.1:                               ; @.str.1
	.asciz	"ZZ"

l_.str.2:                               ; @.str.2
	.asciz	"NA"

	.no_dead_strip	_brcms_c_country_valid
.subsections_via_symbols
