	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_boot_run_firmware       ## -- Begin function wl1251_boot_run_firmware
	.p2align	4, 0x90
_wl1251_boot_run_firmware:              ## @wl1251_boot_run_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
	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	_ECPU_CONTROL_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wl1251_boot_set_ecpu_ctrl
	movq	_CHIP_ID_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wl1251_reg_read32
	movq	%rax, %r15
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wl1251_debug
	cmpq	%r15, (%r14)
	jne	LBB0_9
## %bb.1:
	movq	_ACX_REG_INTERRUPT_NO_CLEAR@GOTPCREL(%rip), %r12
	movl	$4294967295, %r15d              ## imm = 0xFFFFFFFF
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %ebx
	movq	_INIT_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	jge	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_INIT_LOOP_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_wl1251_reg_read32
	cmpq	%r15, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_WL1251_ACX_INTR_INIT_COMPLETE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leal	1(%rbx), %r13d
	testq	%rax, %rdx
	je	LBB0_2
## %bb.5:
	movq	_ACX_REG_INTERRUPT_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wl1251_reg_write32
	movq	_INIT_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	cmpl	%eax, %ebx
	jge	LBB0_11
## %bb.7:
	movq	_REG_COMMAND_MAILBOX_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wl1251_reg_read32
	movq	%rax, 40(%r14)
	movq	_REG_EVENT_MAILBOX_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wl1251_reg_read32
	movq	%rax, 32(%r14)
	movq	_WL1251_PART_WORK_MEM_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL1251_PART_WORK_MEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WL1251_PART_WORK_REG_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WL1251_PART_WORK_REG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	callq	_wl1251_set_partition
	movq	_DEBUG_MAILBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%r14), %rcx
	movq	40(%r14), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_wl1251_debug
	movl	24(%r14), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_wl1251_acx_fw_version
	movq	%r14, %rdi
	callq	_wl1251_enable_interrupts
	movq	_WL1251_ACX_INTR_RX0_DATA@GOTPCREL(%rip), %rax
	movq	_WL1251_ACX_INTR_RX1_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	_WL1251_ACX_INTR_TX_RESULT@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_WL1251_ACX_INTR_EVENT_A@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_WL1251_ACX_INTR_EVENT_B@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_WL1251_ACX_INTR_INIT_COMPLETE@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	%rcx, 16(%r14)
	movq	%r14, %rdi
	callq	_wl1251_boot_target_enable_interrupts
	movq	_SCAN_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rax
	movq	_BSS_LOSE_EVENT_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SYNCHRONIZATION_TIMEOUT_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ROAMING_TRIGGER_LOW_RSSI_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_REGAINED_BSS_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BT_PTA_SENSE_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BT_PTA_PREDICTION_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_JOIN_EVENT_COMPLETE_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PS_REPORT_EVENT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%r14)
	movq	%r14, %rdi
	callq	_wl1251_event_unmask
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:
	movq	%r14, %rdi
	callq	_wl1251_event_mbox_config
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_wl1251_error
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
LBB0_12:
	callq	_wl1251_error
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_13:
	subl	(%rax), %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%eax, %r15d
	leaq	L_.str.5(%rip), %rdi
	callq	_wl1251_error
	movl	%r15d, %r13d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ECPU_CONTROL_HALT,4,2          ## @ECPU_CONTROL_HALT
	.comm	_CHIP_ID_B,4,2                  ## @CHIP_ID_B
	.comm	_DEBUG_BOOT,4,2                 ## @DEBUG_BOOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip id after firmware boot: 0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"chip id doesn't match after firmware boot"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_INIT_LOOP,4,2                  ## @INIT_LOOP
	.comm	_INIT_LOOP_DELAY,4,2            ## @INIT_LOOP_DELAY
	.comm	_ACX_REG_INTERRUPT_NO_CLEAR,4,2 ## @ACX_REG_INTERRUPT_NO_CLEAR
L_.str.2:                               ## @.str.2
	.asciz	"error reading hardware complete init indication"

	.comm	_WL1251_ACX_INTR_INIT_COMPLETE,8,3 ## @WL1251_ACX_INTR_INIT_COMPLETE
	.comm	_ACX_REG_INTERRUPT_ACK,4,2      ## @ACX_REG_INTERRUPT_ACK
L_.str.3:                               ## @.str.3
	.asciz	"timeout waiting for the hardware to complete initialization"

	.comm	_REG_COMMAND_MAILBOX_PTR,4,2    ## @REG_COMMAND_MAILBOX_PTR
	.comm	_REG_EVENT_MAILBOX_PTR,4,2      ## @REG_EVENT_MAILBOX_PTR
	.comm	_WL1251_PART_WORK_MEM_START,4,2 ## @WL1251_PART_WORK_MEM_START
	.comm	_WL1251_PART_WORK_MEM_SIZE,4,2  ## @WL1251_PART_WORK_MEM_SIZE
	.comm	_WL1251_PART_WORK_REG_START,4,2 ## @WL1251_PART_WORK_REG_START
	.comm	_WL1251_PART_WORK_REG_SIZE,4,2  ## @WL1251_PART_WORK_REG_SIZE
	.comm	_DEBUG_MAILBOX,4,2              ## @DEBUG_MAILBOX
L_.str.4:                               ## @.str.4
	.asciz	"cmd_box_addr 0x%x event_box_addr 0x%x"

	.comm	_WL1251_ACX_INTR_RX0_DATA,8,3   ## @WL1251_ACX_INTR_RX0_DATA
	.comm	_WL1251_ACX_INTR_RX1_DATA,8,3   ## @WL1251_ACX_INTR_RX1_DATA
	.comm	_WL1251_ACX_INTR_TX_RESULT,8,3  ## @WL1251_ACX_INTR_TX_RESULT
	.comm	_WL1251_ACX_INTR_EVENT_A,8,3    ## @WL1251_ACX_INTR_EVENT_A
	.comm	_WL1251_ACX_INTR_EVENT_B,8,3    ## @WL1251_ACX_INTR_EVENT_B
	.comm	_SCAN_COMPLETE_EVENT_ID,4,2     ## @SCAN_COMPLETE_EVENT_ID
	.comm	_BSS_LOSE_EVENT_ID,4,2          ## @BSS_LOSE_EVENT_ID
	.comm	_SYNCHRONIZATION_TIMEOUT_EVENT_ID,4,2 ## @SYNCHRONIZATION_TIMEOUT_EVENT_ID
	.comm	_ROAMING_TRIGGER_LOW_RSSI_EVENT_ID,4,2 ## @ROAMING_TRIGGER_LOW_RSSI_EVENT_ID
	.comm	_ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID,4,2 ## @ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID
	.comm	_REGAINED_BSS_EVENT_ID,4,2      ## @REGAINED_BSS_EVENT_ID
	.comm	_BT_PTA_SENSE_EVENT_ID,4,2      ## @BT_PTA_SENSE_EVENT_ID
	.comm	_BT_PTA_PREDICTION_EVENT_ID,4,2 ## @BT_PTA_PREDICTION_EVENT_ID
	.comm	_JOIN_EVENT_COMPLETE_ID,4,2     ## @JOIN_EVENT_COMPLETE_ID
	.comm	_PS_REPORT_EVENT_ID,4,2         ## @PS_REPORT_EVENT_ID
L_.str.5:                               ## @.str.5
	.asciz	"EVENT mask setting failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_boot_run_firmware       ; -- Begin function wl1251_boot_run_firmware
	.p2align	2
_wl1251_boot_run_firmware:              ; @wl1251_boot_run_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ECPU_CONTROL_HALT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECPU_CONTROL_HALT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_wl1251_boot_set_ecpu_ctrl
Lloh3:
	adrp	x8, _CHIP_ID_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHIP_ID_B@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wl1251_reg_read32
	mov	x20, x0
Lloh6:
	adrp	x8, _DEBUG_BOOT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEBUG_BOOT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_wl1251_debug
	ldr	x8, [x19]
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.1:
	mov	w8, #0
Lloh11:
	adrp	x22, _INIT_LOOP@GOTPAGE
Lloh12:
	ldr	x22, [x22, _INIT_LOOP@GOTPAGEOFF]
Lloh13:
	adrp	x23, _INIT_LOOP_DELAY@GOTPAGE
Lloh14:
	ldr	x23, [x23, _INIT_LOOP_DELAY@GOTPAGEOFF]
Lloh15:
	adrp	x24, _ACX_REG_INTERRUPT_NO_CLEAR@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ACX_REG_INTERRUPT_NO_CLEAR@GOTPAGEOFF]
	mov	w25, #-1
Lloh17:
	adrp	x20, _WL1251_ACX_INTR_INIT_COMPLETE@GOTPAGE
Lloh18:
	ldr	x20, [x20, _WL1251_ACX_INTR_INIT_COMPLETE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	ldr	w8, [x22]
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	bl	_udelay
	ldr	w1, [x24]
	mov	x0, x19
	bl	_wl1251_reg_read32
	cmp	x0, x25
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x20]
	add	w8, w21, #1
	tst	x2, x0
	b.eq	LBB0_2
; %bb.5:
Lloh19:
	adrp	x8, _ACX_REG_INTERRUPT_ACK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACX_REG_INTERRUPT_ACK@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wl1251_reg_write32
	ldr	w8, [x22]
LBB0_6:
	cmp	w21, w8
	b.ge	LBB0_11
; %bb.7:
Lloh22:
	adrp	x8, _REG_COMMAND_MAILBOX_PTR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REG_COMMAND_MAILBOX_PTR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wl1251_reg_read32
	str	x0, [x19, #40]
Lloh25:
	adrp	x8, _REG_EVENT_MAILBOX_PTR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_EVENT_MAILBOX_PTR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wl1251_reg_read32
	str	x0, [x19, #32]
Lloh28:
	adrp	x8, _WL1251_PART_WORK_MEM_START@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WL1251_PART_WORK_MEM_START@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _WL1251_PART_WORK_MEM_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WL1251_PART_WORK_MEM_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _WL1251_PART_WORK_REG_START@GOTPAGE
Lloh35:
	ldr	x8, [x8, _WL1251_PART_WORK_REG_START@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
Lloh37:
	adrp	x8, _WL1251_PART_WORK_REG_SIZE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WL1251_PART_WORK_REG_SIZE@GOTPAGEOFF]
Lloh39:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_wl1251_set_partition
Lloh40:
	adrp	x8, _DEBUG_MAILBOX@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DEBUG_MAILBOX@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldp	x8, x2, [x19, #32]
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wl1251_debug
	ldr	w1, [x19, #24]
	mov	x0, x19
	mov	w2, #4
	bl	_wl1251_acx_fw_version
	mov	x0, x19
	bl	_wl1251_enable_interrupts
Lloh45:
	adrp	x8, _WL1251_ACX_INTR_RX0_DATA@GOTPAGE
Lloh46:
	ldr	x8, [x8, _WL1251_ACX_INTR_RX0_DATA@GOTPAGEOFF]
Lloh47:
	adrp	x9, _WL1251_ACX_INTR_RX1_DATA@GOTPAGE
Lloh48:
	ldr	x9, [x9, _WL1251_ACX_INTR_RX1_DATA@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
Lloh50:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh51:
	adrp	x9, _WL1251_ACX_INTR_TX_RESULT@GOTPAGE
Lloh52:
	ldr	x9, [x9, _WL1251_ACX_INTR_TX_RESULT@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh54:
	adrp	x9, _WL1251_ACX_INTR_EVENT_A@GOTPAGE
Lloh55:
	ldr	x9, [x9, _WL1251_ACX_INTR_EVENT_A@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
Lloh57:
	adrp	x10, _WL1251_ACX_INTR_EVENT_B@GOTPAGE
Lloh58:
	ldr	x10, [x10, _WL1251_ACX_INTR_EVENT_B@GOTPAGEOFF]
	orr	x8, x8, x9
Lloh59:
	ldr	x9, [x10]
	orr	x8, x8, x9
	ldr	x9, [x20]
	orr	x8, x8, x9
	str	x8, [x19, #16]
	mov	x0, x19
	bl	_wl1251_boot_target_enable_interrupts
Lloh60:
	adrp	x8, _SCAN_COMPLETE_EVENT_ID@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SCAN_COMPLETE_EVENT_ID@GOTPAGEOFF]
Lloh62:
	adrp	x9, _BSS_LOSE_EVENT_ID@GOTPAGE
Lloh63:
	ldr	x9, [x9, _BSS_LOSE_EVENT_ID@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh66:
	adrp	x9, _SYNCHRONIZATION_TIMEOUT_EVENT_ID@GOTPAGE
Lloh67:
	ldr	x9, [x9, _SYNCHRONIZATION_TIMEOUT_EVENT_ID@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh69:
	adrp	x9, _ROAMING_TRIGGER_LOW_RSSI_EVENT_ID@GOTPAGE
Lloh70:
	ldr	x9, [x9, _ROAMING_TRIGGER_LOW_RSSI_EVENT_ID@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID@GOTPAGE
Lloh73:
	ldr	x10, [x10, _ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh74:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _REGAINED_BSS_EVENT_ID@GOTPAGE
Lloh76:
	ldr	x9, [x9, _REGAINED_BSS_EVENT_ID@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh78:
	adrp	x9, _BT_PTA_SENSE_EVENT_ID@GOTPAGE
Lloh79:
	ldr	x9, [x9, _BT_PTA_SENSE_EVENT_ID@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
Lloh81:
	adrp	x10, _BT_PTA_PREDICTION_EVENT_ID@GOTPAGE
Lloh82:
	ldr	x10, [x10, _BT_PTA_PREDICTION_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh83:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh84:
	adrp	x9, _JOIN_EVENT_COMPLETE_ID@GOTPAGE
Lloh85:
	ldr	x9, [x9, _JOIN_EVENT_COMPLETE_ID@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh87:
	adrp	x9, _PS_REPORT_EVENT_ID@GOTPAGE
Lloh88:
	ldr	x9, [x9, _PS_REPORT_EVENT_ID@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_wl1251_event_unmask
	tbnz	w0, #31, LBB0_14
; %bb.8:
	mov	x0, x19
	bl	_wl1251_event_mbox_config
	mov	w20, #0
	b	LBB0_13
LBB0_9:
Lloh90:
	adrp	x0, l_.str.1@PAGE
Lloh91:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh92:
	adrp	x0, l_.str.2@PAGE
Lloh93:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh94:
	adrp	x0, l_.str.3@PAGE
Lloh95:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_12:
	bl	_wl1251_error
Lloh96:
	adrp	x8, _EIO@GOTPAGE
Lloh97:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_13:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_14:
	mov	x20, x0
Lloh99:
	adrp	x0, l_.str.5@PAGE
Lloh100:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_wl1251_error
	b	LBB0_13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_ECPU_CONTROL_HALT,4,2          ; @ECPU_CONTROL_HALT
	.comm	_CHIP_ID_B,4,2                  ; @CHIP_ID_B
	.comm	_DEBUG_BOOT,4,2                 ; @DEBUG_BOOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip id after firmware boot: 0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"chip id doesn't match after firmware boot"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_INIT_LOOP,4,2                  ; @INIT_LOOP
	.comm	_INIT_LOOP_DELAY,4,2            ; @INIT_LOOP_DELAY
	.comm	_ACX_REG_INTERRUPT_NO_CLEAR,4,2 ; @ACX_REG_INTERRUPT_NO_CLEAR
l_.str.2:                               ; @.str.2
	.asciz	"error reading hardware complete init indication"

	.comm	_WL1251_ACX_INTR_INIT_COMPLETE,8,3 ; @WL1251_ACX_INTR_INIT_COMPLETE
	.comm	_ACX_REG_INTERRUPT_ACK,4,2      ; @ACX_REG_INTERRUPT_ACK
l_.str.3:                               ; @.str.3
	.asciz	"timeout waiting for the hardware to complete initialization"

	.comm	_REG_COMMAND_MAILBOX_PTR,4,2    ; @REG_COMMAND_MAILBOX_PTR
	.comm	_REG_EVENT_MAILBOX_PTR,4,2      ; @REG_EVENT_MAILBOX_PTR
	.comm	_WL1251_PART_WORK_MEM_START,4,2 ; @WL1251_PART_WORK_MEM_START
	.comm	_WL1251_PART_WORK_MEM_SIZE,4,2  ; @WL1251_PART_WORK_MEM_SIZE
	.comm	_WL1251_PART_WORK_REG_START,4,2 ; @WL1251_PART_WORK_REG_START
	.comm	_WL1251_PART_WORK_REG_SIZE,4,2  ; @WL1251_PART_WORK_REG_SIZE
	.comm	_DEBUG_MAILBOX,4,2              ; @DEBUG_MAILBOX
l_.str.4:                               ; @.str.4
	.asciz	"cmd_box_addr 0x%x event_box_addr 0x%x"

	.comm	_WL1251_ACX_INTR_RX0_DATA,8,3   ; @WL1251_ACX_INTR_RX0_DATA
	.comm	_WL1251_ACX_INTR_RX1_DATA,8,3   ; @WL1251_ACX_INTR_RX1_DATA
	.comm	_WL1251_ACX_INTR_TX_RESULT,8,3  ; @WL1251_ACX_INTR_TX_RESULT
	.comm	_WL1251_ACX_INTR_EVENT_A,8,3    ; @WL1251_ACX_INTR_EVENT_A
	.comm	_WL1251_ACX_INTR_EVENT_B,8,3    ; @WL1251_ACX_INTR_EVENT_B
	.comm	_SCAN_COMPLETE_EVENT_ID,4,2     ; @SCAN_COMPLETE_EVENT_ID
	.comm	_BSS_LOSE_EVENT_ID,4,2          ; @BSS_LOSE_EVENT_ID
	.comm	_SYNCHRONIZATION_TIMEOUT_EVENT_ID,4,2 ; @SYNCHRONIZATION_TIMEOUT_EVENT_ID
	.comm	_ROAMING_TRIGGER_LOW_RSSI_EVENT_ID,4,2 ; @ROAMING_TRIGGER_LOW_RSSI_EVENT_ID
	.comm	_ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID,4,2 ; @ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID
	.comm	_REGAINED_BSS_EVENT_ID,4,2      ; @REGAINED_BSS_EVENT_ID
	.comm	_BT_PTA_SENSE_EVENT_ID,4,2      ; @BT_PTA_SENSE_EVENT_ID
	.comm	_BT_PTA_PREDICTION_EVENT_ID,4,2 ; @BT_PTA_PREDICTION_EVENT_ID
	.comm	_JOIN_EVENT_COMPLETE_ID,4,2     ; @JOIN_EVENT_COMPLETE_ID
	.comm	_PS_REPORT_EVENT_ID,4,2         ; @PS_REPORT_EVENT_ID
l_.str.5:                               ; @.str.5
	.asciz	"EVENT mask setting failed"

.subsections_via_symbols
