	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_nvram_handle_idle
_brcmf_nvram_handle_idle:               ## @brcmf_nvram_handle_idle
	.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
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movb	(%rax,%rcx), %bl
	movq	_COMMENT@GOTPCREL(%rip), %r15
	cmpb	$10, %bl
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r12
	movsbl	%bl, %r14d
	movl	%r14d, %edi
	callq	_is_whitespace
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	testb	%bl, %bl
	je	LBB0_7
## %bb.3:
	cmpb	$35, %bl
	je	LBB0_8
## %bb.4:
	movl	%r14d, %edi
	callq	_is_nvram_char
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%r12), %rax
	movq	%rax, 16(%r12)
	movq	_KEY@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_6:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r12), %ecx
	movl	28(%r12), %edx
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
LBB0_7:
	incl	24(%r12)
	incq	8(%r12)
	movq	_IDLE@GOTPCREL(%rip), %r15
LBB0_8:
	movl	(%r15), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMENT,4,2                    ## @COMMENT
	.comm	_KEY,4,2                        ## @KEY
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: ln=%d:col=%d: ignoring invalid character\n"

	.comm	_IDLE,4,2                       ## @IDLE
	.no_dead_strip	_brcmf_nvram_handle_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_nvram_handle_idle
_brcmf_nvram_handle_idle:               ; @brcmf_nvram_handle_idle
	.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
	ldp	x8, x9, [x0]
	ldrb	w21, [x8, x9]
	cmp	w21, #10
	b.ne	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _COMMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	sxtb	w20, w21
	mov	x0, x20
	bl	_is_whitespace
	cmp	x0, #0
	ccmp	w21, #0, #4, eq
	b.ne	LBB0_4
LBB0_3:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
Lloh2:
	adrp	x8, _IDLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDLE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	cmp	w21, #35
	b.eq	LBB0_1
; %bb.5:
	mov	x0, x20
	bl	_is_nvram_char
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
Lloh4:
	adrp	x8, _KEY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KEY@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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_8:
Lloh6:
	adrp	x8, _INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #24]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMENT,4,2                    ; @COMMENT
	.comm	_KEY,4,2                        ; @KEY
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: ln=%d:col=%d: ignoring invalid character\n"

	.comm	_IDLE,4,2                       ; @IDLE
	.no_dead_strip	_brcmf_nvram_handle_idle
.subsections_via_symbols
