	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_fw_strip_multi_v1
_brcmf_fw_strip_multi_v1:               ## @brcmf_fw_strip_multi_v1
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$4552927221158998077, %rax      ## imm = 0x3F2F3F2F6963703D
	movq	%rax, -64(%rbp)
	movb	$0, -56(%rbp)
	movabsq	$3404491955921711165, %rax      ## imm = 0x2F3F2F656963703D
	movq	%rax, -80(%rbp)
	movw	$63, -72(%rbp)
	movl	(%rdi), %edi
	addl	$12, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movslq	(%r15), %rax
	movq	_BRCMF_FW_NVRAM_DEVPATH_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	addq	$6, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_10
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$9, %esi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	callq	_snprintf
	leaq	-64(%rbp), %rdi
	callq	_strlen
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$10, %esi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	callq	_snprintf
	movslq	(%r15), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_10
## %bb.3:
	leaq	-80(%rbp), %rdi
	callq	_strlen
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	xorl	%r13d, %r13d
	leaq	L_.str.2(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	leaq	(%rax,%r13,8), %rdi
	movq	%r12, %rsi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	64(,%r13,8), %rdi
	addq	8(%r15), %rdi
	leaq	-64(%rbp), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	8(%r13), %rdi
	shlq	$3, %rdi
	addq	8(%r15), %rdi
	leaq	-80(%rbp), %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rax,%r13,8)
	leaq	1(%r13), %r13
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r15), %rcx
	subq	(%rbx), %rcx
	cmpq	%rcx, %r13
	jb	LBB0_4
LBB0_10:
	movq	%r14, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
LBB0_25:
	movl	%ebx, (%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	8(%r15), %rdi
	cmpl	$0, (%r15)
	je	LBB0_12
## %bb.13:
	movq	56(%rdi,%r13,8), %r13
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	cmpq	%r13, (%rdi,%r12,8)
	jne	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$58, 8(%rdi,%r12,8)
	jne	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	(%rdi,%r12,8), %rdi
	addq	$16, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, 16(%r15)
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rdi
	movq	16(%rdi,%r12,8), %rax
	addq	$2, %r12
	testq	%rax, %rax
	je	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, (%r14,%rbx,8)
	incq	%rbx
	movq	8(%rdi,%r12,8), %rax
	incq	%r12
	testq	%rax, %rax
	jne	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	$0, (%r14,%rbx,8)
	incq	%rbx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rdi,%r12,8)
	leaq	1(%r12), %r12
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jb	LBB0_14
	jmp	LBB0_24
LBB0_12:
	xorl	%ebx, %ebx
LBB0_24:
	callq	_kfree
	movq	%r14, 8(%r15)
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.brcmf_fw_strip_multi_v1.pci_path: ## @__const.brcmf_fw_strip_multi_v1.pci_path
	.asciz	"=pci/?/?"

L___const.brcmf_fw_strip_multi_v1.pcie_path: ## @__const.brcmf_fw_strip_multi_v1.pcie_path
	.asciz	"=pcie/?/?"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_BRCMF_FW_NVRAM_DEVPATH_LEN,8,3 ## @BRCMF_FW_NVRAM_DEVPATH_LEN
L_.str:                                 ## @.str
	.asciz	"=pci/%d/%d"

L_.str.1:                               ## @.str.1
	.asciz	"=pcie/%d/%d"

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

L_.str.3:                               ## @.str.3
	.asciz	"boardrev"

	.no_dead_strip	_brcmf_fw_strip_multi_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_fw_strip_multi_v1
_brcmf_fw_strip_multi_v1:               ; @brcmf_fw_strip_multi_v1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, l___const.brcmf_fw_strip_multi_v1.pci_path@PAGE
Lloh4:
	add	x8, x8, l___const.brcmf_fw_strip_multi_v1.pci_path@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	strb	wzr, [sp, #32]
Lloh6:
	adrp	x8, l___const.brcmf_fw_strip_multi_v1.pcie_path@PAGE
Lloh7:
	add	x8, x8, l___const.brcmf_fw_strip_multi_v1.pcie_path@PAGEOFF
Lloh8:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	w8, #63
	strh	w8, [sp, #16]
	ldr	w8, [x0]
	add	w0, w8, #12
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.1:
	ldrsw	x8, [x19]
Lloh12:
	adrp	x24, _BRCMF_FW_NVRAM_DEVPATH_LEN@GOTPAGE
Lloh13:
	ldr	x24, [x24, _BRCMF_FW_NVRAM_DEVPATH_LEN@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x9, x9, #6
	cmp	x9, x8
	b.hi	LBB0_10
; %bb.2:
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w1, #9
	mov	x3, x23
	mov	x4, x22
	bl	_snprintf
	add	x0, sp, #24
	bl	_strlen
	mov	x21, x0
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #10
	mov	x3, x23
	mov	x4, x22
	bl	_snprintf
	ldrsw	x8, [x19]
	ldr	x9, [x24]
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.3:
	add	x0, sp, #8
	bl	_strlen
	mov	x22, x0
	mov	x26, #0
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x23, l_.str.2@PAGE
Lloh19:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	x0, x8, x26, lsl #3
	mov	x1, x23
	mov	w2, #7
	bl	_strncmp
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	add	x25, x26, #8
	add	x0, x8, x25, lsl #3
	add	x1, sp, #24
	mov	x2, x21
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x25, lsl #3
	add	x1, sp, #8
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8, x26, lsl #3]
	add	x26, x26, #1
	cbnz	x9, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x9, [x19]
	ldr	x10, [x24]
	sub	x9, x9, x10
	cmp	x26, x9
	b.lo	LBB0_4
LBB0_10:
	mov	x0, x20
	bl	_kfree
	mov	w22, #0
LBB0_11:
	str	w22, [x19]
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.14:
	mov	x25, #0
	mov	x22, #0
	add	x8, x0, x26, lsl #3
	ldr	x23, [x8, #56]
Lloh23:
	adrp	x21, l_.str.3@PAGE
Lloh24:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	w24, #1
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	ldr	x8, [x0, x25, lsl #3]
	cmp	x8, x23
	b.ne	LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x8, x0, x25, lsl #3
	ldr	x8, [x8, #8]
	cmp	x8, #58
	b.ne	LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x25, #2
	add	x0, x0, x26, lsl #3
	mov	x1, x21
	mov	w2, #8
	bl	_strncmp
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	str	w24, [x19, #16]
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x19, #8]
	ldr	x8, [x0, x26, lsl #3]
	cbz	x8, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x9, x0, #24
LBB0_21:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x8, [x20, x22, lsl #3]
	add	x22, x22, #1
	ldr	x8, [x9, x25, lsl #3]
	add	x25, x25, #1
	cbnz	x8, LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x25, #2
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	str	xzr, [x20, x22, lsl #3]
	add	x22, x22, #1
	mov	x25, x26
LBB0_24:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x0, x25, lsl #3]
	add	x25, x25, #1
	cbnz	x8, LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.lo	LBB0_15
	b	LBB0_27
LBB0_26:
	mov	x22, #0
LBB0_27:
	bl	_kfree
	str	x20, [x19, #8]
	b	LBB0_11
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.brcmf_fw_strip_multi_v1.pci_path: ; @__const.brcmf_fw_strip_multi_v1.pci_path
	.asciz	"=pci/?/?"

l___const.brcmf_fw_strip_multi_v1.pcie_path: ; @__const.brcmf_fw_strip_multi_v1.pcie_path
	.asciz	"=pcie/?/?"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_BRCMF_FW_NVRAM_DEVPATH_LEN,8,3 ; @BRCMF_FW_NVRAM_DEVPATH_LEN
l_.str:                                 ; @.str
	.asciz	"=pci/%d/%d"

l_.str.1:                               ; @.str.1
	.asciz	"=pcie/%d/%d"

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

l_.str.3:                               ; @.str.3
	.asciz	"boardrev"

	.no_dead_strip	_brcmf_fw_strip_multi_v1
.subsections_via_symbols
