	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmfw_load_firmware
_bcmfw_load_firmware:                   ## @bcmfw_load_firmware
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BCMFW_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_BCMFW_INTR_EP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_open
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_BCMFW_BULK_EP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_snprintf
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_open
	testl	%eax, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	js	LBB0_8
## %bb.2:
	movl	%eax, %ebx
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_open
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_16
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_write
	testl	%eax, %eax
	jns	LBB0_3
LBB0_6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BCMFW_BULK_EP@GOTPCREL(%rip), %rax
	movsbl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_strerror
	movl	(%r15), %r9d
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_19
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_strerror
	movl	(%r15), %r8d
	movsbl	%al, %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movl	$-1, %ebx
	jmp	LBB0_24
LBB0_8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_strerror
	movl	(%r15), %r8d
	movsbl	%al, %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movl	$-1, %ebx
	jmp	LBB0_22
LBB0_9:
	movl	%r13d, %edi
	callq	_close
	movl	$10, %edi
	callq	_usleep
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_write
	testl	%eax, %eax
	js	LBB0_28
## %bb.10:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_34
## %bb.11:
	movb	(%r12), %al
	cmpb	$35, %al
	jne	LBB0_29
## %bb.12:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_open
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	je	LBB0_31
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_write
	testl	%eax, %eax
	jns	LBB0_13
	jmp	LBB0_6
LBB0_16:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_strerror
	movl	(%r14), %r8d
	movsbl	%al, %ecx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_17:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_strerror
	movl	(%r14), %r8d
	movsbl	%al, %ecx
	leaq	L_.str.2(%rip), %rsi
LBB0_18:
	movl	%ebx, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_syslog
LBB0_19:
	movl	$-1, %ebx
	cmpl	$-1, %r13d
	je	LBB0_21
## %bb.20:
	movl	%r13d, %edi
	callq	_close
LBB0_21:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_22:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	cmpl	$-1, %edi
	je	LBB0_24
## %bb.23:
	callq	_close
LBB0_24:
	cmpl	$-1, %r13d
	je	LBB0_26
## %bb.25:
	movl	%r13d, %edi
	callq	_close
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.27:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BCMFW_BULK_EP@GOTPCREL(%rip), %rax
	movsbl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_strerror
	movl	(%r15), %r9d
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
	movl	$-1, %ebx
	jmp	LBB0_21
LBB0_29:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movsbl	%al, %ecx
	leaq	L_.str.6(%rip), %rsi
LBB0_30:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_syslog
	movl	$-1, %ebx
	jmp	LBB0_22
LBB0_31:
	movl	%r13d, %edi
	callq	_close
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_34
## %bb.32:
	movb	(%r12), %al
	cmpb	$46, %al
	jne	LBB0_35
## %bb.33:
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_usleep
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_34:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BCMFW_INTR_EP@GOTPCREL(%rip), %rax
	movsbl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_strerror
	movl	(%r15), %r9d
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
	movl	$-1, %ebx
	jmp	LBB0_22
LBB0_35:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movsbl	%al, %ecx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_30
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMFW_BSIZE,4,2                ## @BCMFW_BSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/%s.%d"

	.comm	_BCMFW_INTR_EP,4,2              ## @BCMFW_INTR_EP
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"Could not open(%s). %s (%d)"

	.comm	_errno,4,2                      ## @errno
	.comm	_BCMFW_BULK_EP,4,2              ## @BCMFW_BULK_EP
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
L_.str.2:                               ## @.str.2
	.asciz	"Could not read(%s). %s (%d)"

L_.str.3:                               ## @.str.3
	.asciz	"Could not write(/dev/%s.%d). %s (%d)"

L_.str.4:                               ## @.str.4
	.asciz	"#"

L_.str.5:                               ## @.str.5
	.asciz	"Could not read(/dev/%s.%d). %s (%d)"

L_.str.6:                               ## @.str.6
	.asciz	"%s: Memory select failed (%c)"

L_.str.7:                               ## @.str.7
	.asciz	"%s: Could not load firmware (%c)"

	.no_dead_strip	_bcmfw_load_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmfw_load_firmware
_bcmfw_load_firmware:                   ; @bcmfw_load_firmware
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x24, x2
	mov	x26, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BCMFW_BSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMFW_BSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh8:
	adrp	x27, _BCMFW_INTR_EP@GOTPAGE
Lloh9:
	ldr	x27, [x27, _BCMFW_INTR_EP@GOTPAGEOFF]
	ldr	w4, [x27]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x25
	mov	x3, x21
	bl	_snprintf
Lloh12:
	adrp	x28, _O_RDONLY@GOTPAGE
Lloh13:
	ldr	x28, [x28, _O_RDONLY@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x23
	bl	_open
	mov	x19, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh14:
	adrp	x8, _BCMFW_BULK_EP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BCMFW_BULK_EP@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x25
	mov	x3, x21
	bl	_snprintf
Lloh19:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_open
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	w1, [x28]
	mov	x0, x26
	bl	_open
	mov	x22, x0
	tbnz	w0, #31, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_read
	tbnz	w0, #31, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	cbz	w0, LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_write
	tbz	w0, #31, LBB0_3
LBB0_6:
Lloh22:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w23, [x8]
Lloh25:
	adrp	x8, _BCMFW_BULK_EP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BCMFW_BULK_EP@GOTPAGEOFF]
Lloh27:
	ldrsb	w24, [x8]
Lloh28:
	adrp	x25, _errno@GOTPAGE
Lloh29:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x25]
	stp	x0, x8, [sp, #-16]!
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x24
	b	LBB0_13
LBB0_7:
Lloh32:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh34:
	ldr	w20, [x8]
Lloh35:
	adrp	x21, _errno@GOTPAGE
Lloh36:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_strerror
	ldr	w8, [x21]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_syslog
	add	sp, sp, #16
	mov	w21, #-1
	b	LBB0_17
LBB0_8:
Lloh39:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh41:
	ldr	w21, [x8]
Lloh42:
	adrp	x22, _errno@GOTPAGE
Lloh43:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_strerror
	ldr	w8, [x22]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x23
LBB0_9:
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_15
LBB0_10:
Lloh46:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh48:
	ldr	w21, [x8]
Lloh49:
	adrp	x23, _errno@GOTPAGE
Lloh50:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strerror
	ldr	w8, [x23]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh51:
	adrp	x1, l_.str.1@PAGE
Lloh52:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh53:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh55:
	ldr	w21, [x8]
Lloh56:
	adrp	x23, _errno@GOTPAGE
Lloh57:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strerror
	ldr	w8, [x23]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh58:
	adrp	x1, l_.str.2@PAGE
Lloh59:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	mov	x0, x21
	mov	x2, x26
LBB0_13:
	bl	_syslog
	add	sp, sp, #16
	cmn	w22, #1
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x22
	bl	_close
LBB0_15:
	mov	w21, #-1
	cmn	w20, #1
	b.eq	LBB0_17
LBB0_16:
	mov	x0, x20
	bl	_close
LBB0_17:
	cmn	w19, #1
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_close
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.20:
	mov	x0, x21
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	x0, x22
	bl	_close
	mov	w0, #10
	bl	_usleep
Lloh63:
	adrp	x1, l_.str.4@PAGE
Lloh64:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	bl	_write
	tbnz	w0, #31, LBB0_28
; %bb.22:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x25
	bl	_read
	tbnz	w0, #31, LBB0_37
; %bb.23:
	ldrb	w8, [x23]
	cmp	w8, #35
	b.ne	LBB0_29
; %bb.24:
	ldr	w1, [x28]
	mov	x0, x24
	bl	_open
	mov	x22, x0
	tbnz	w0, #31, LBB0_31
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_read
	tbnz	w0, #31, LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x2, x0
	cbz	w0, LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_write
	tbz	w0, #31, LBB0_25
	b	LBB0_6
LBB0_28:
Lloh65:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh67:
	ldr	w22, [x8]
Lloh68:
	adrp	x8, _BCMFW_BULK_EP@GOTPAGE
Lloh69:
	ldr	x8, [x8, _BCMFW_BULK_EP@GOTPAGEOFF]
Lloh70:
	ldrsb	w23, [x8]
Lloh71:
	adrp	x24, _errno@GOTPAGE
Lloh72:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x24]
	stp	x0, x8, [sp, #-16]!
Lloh73:
	adrp	x1, l_.str.3@PAGE
Lloh74:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_38
LBB0_29:
Lloh75:
	adrp	x9, _LOG_ERR@GOTPAGE
Lloh76:
	ldr	x9, [x9, _LOG_ERR@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x9]
	sxtb	w3, w8
Lloh78:
	adrp	x1, l_.str.6@PAGE
Lloh79:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_30:
	mov	x2, x21
	bl	_syslog
	b	LBB0_15
LBB0_31:
Lloh80:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh81:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh82:
	ldr	w21, [x8]
Lloh83:
	adrp	x23, _errno@GOTPAGE
Lloh84:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strerror
	ldr	w8, [x23]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh85:
	adrp	x1, l_.str.1@PAGE
Lloh86:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_33
LBB0_32:
Lloh87:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh88:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh89:
	ldr	w21, [x8]
Lloh90:
	adrp	x23, _errno@GOTPAGE
Lloh91:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strerror
	ldr	w8, [x23]
	str	x8, [sp, #-16]!
	sxtb	w3, w0
Lloh92:
	adrp	x1, l_.str.2@PAGE
Lloh93:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_33:
	mov	x0, x21
	mov	x2, x24
	b	LBB0_13
LBB0_34:
	mov	x0, x22
	bl	_close
	mov	x0, x19
	mov	x1, x23
	mov	x2, x25
	bl	_read
	tbnz	w0, #31, LBB0_37
; %bb.35:
	ldrb	w8, [x23]
	cmp	w8, #46
	b.ne	LBB0_39
; %bb.36:
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_usleep
	mov	w21, #0
	cmn	w20, #1
	b.ne	LBB0_16
	b	LBB0_17
LBB0_37:
Lloh94:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh95:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh96:
	ldr	w22, [x8]
	ldrsb	w23, [x27]
Lloh97:
	adrp	x24, _errno@GOTPAGE
Lloh98:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x24]
	stp	x0, x8, [sp, #-16]!
Lloh99:
	adrp	x1, l_.str.5@PAGE
Lloh100:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_38:
	mov	x0, x22
	mov	x2, x21
	mov	x3, x23
	b	LBB0_9
LBB0_39:
Lloh101:
	adrp	x9, _LOG_ERR@GOTPAGE
Lloh102:
	ldr	x9, [x9, _LOG_ERR@GOTPAGEOFF]
Lloh103:
	ldr	w0, [x9]
	sxtb	w3, w8
Lloh104:
	adrp	x1, l_.str.7@PAGE
Lloh105:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMFW_BSIZE,4,2                ; @BCMFW_BSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/%s.%d"

	.comm	_BCMFW_INTR_EP,4,2              ; @BCMFW_INTR_EP
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"Could not open(%s). %s (%d)"

	.comm	_errno,4,2                      ; @errno
	.comm	_BCMFW_BULK_EP,4,2              ; @BCMFW_BULK_EP
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
l_.str.2:                               ; @.str.2
	.asciz	"Could not read(%s). %s (%d)"

l_.str.3:                               ; @.str.3
	.asciz	"Could not write(/dev/%s.%d). %s (%d)"

l_.str.4:                               ; @.str.4
	.asciz	"#"

l_.str.5:                               ; @.str.5
	.asciz	"Could not read(/dev/%s.%d). %s (%d)"

l_.str.6:                               ; @.str.6
	.asciz	"%s: Memory select failed (%c)"

l_.str.7:                               ; @.str.7
	.asciz	"%s: Could not load firmware (%c)"

	.no_dead_strip	_bcmfw_load_firmware
.subsections_via_symbols
