	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_feat_firmware_overrides
_brcmf_feat_firmware_overrides:         ## @brcmf_feat_firmware_overrides
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_brcmf_feat_fwfeat_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r12
	movl	4(%r12,%rbx,8), %edi
	movl	4(%r14), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
	jmp	LBB0_11
LBB0_4:
	movl	(%r12,%rbx,8), %r12d
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.5:
	movq	_BRCMF_FEAT_LAST@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r12d, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_brcmf_feat_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rsi
	callq	_brcmf_dbg
	jmp	LBB0_9
LBB0_10:
	orl	%r12d, (%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_brcmf_feat_fwfeat_map,8,3      ## @brcmf_feat_fwfeat_map
	.comm	_BRCMF_FEAT_LAST,4,2            ## @BRCMF_FEAT_LAST
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling firmware feature: %s\n"

	.comm	_brcmf_feat_names,8,3           ## @brcmf_feat_names
	.no_dead_strip	_brcmf_feat_firmware_overrides
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_feat_firmware_overrides
_brcmf_feat_firmware_overrides:         ; @brcmf_feat_firmware_overrides
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x20, _brcmf_feat_fwfeat_map@GOTPAGE
Lloh1:
	ldr	x20, [x20, _brcmf_feat_fwfeat_map@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20]
	add	x8, x23, x21
	ldr	w0, [x8, #4]
	ldr	w1, [x19, #4]
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_11
LBB0_4:
	ldr	w22, [x23, x21]
	cbz	w22, LBB0_11
; %bb.5:
Lloh2:
	adrp	x23, _BRCMF_FEAT_LAST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BRCMF_FEAT_LAST@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x20, #0
Lloh4:
	adrp	x24, _INFO@GOTPAGE
Lloh5:
	ldr	x24, [x24, _INFO@GOTPAGEOFF]
Lloh6:
	adrp	x25, _brcmf_feat_names@GOTPAGE
Lloh7:
	ldr	x25, [x25, _brcmf_feat_names@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x23]
	cmp	x20, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	ldr	x8, [x25]
	ldr	w2, [x8, x20, lsl #2]
	mov	x1, x21
	bl	_brcmf_dbg
	b	LBB0_7
LBB0_10:
	ldr	w8, [x19]
	orr	w8, w8, w22
	str	w8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_brcmf_feat_fwfeat_map,8,3      ; @brcmf_feat_fwfeat_map
	.comm	_BRCMF_FEAT_LAST,4,2            ; @BRCMF_FEAT_LAST
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling firmware feature: %s\n"

	.comm	_brcmf_feat_names,8,3           ; @brcmf_feat_names
	.no_dead_strip	_brcmf_feat_firmware_overrides
.subsections_via_symbols
