	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_boot
_wl18xx_boot:                           ## @wl18xx_boot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_wl18xx_pre_boot
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_wl18xx_pre_upload
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_wlcore_boot_upload_firmware
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_wl18xx_set_mac_and_phy
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	_BSS_LOSS_EVENT_ID@GOTPCREL(%rip), %rcx
	movq	_SCAN_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_RADAR_DETECTED_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RSSI_SNR_TRIGGER_0_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PERIODIC_SCAN_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PERIODIC_SCAN_REPORT_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DUMMY_PACKET_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PEER_REMOVE_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_BA_SESSION_RX_CONSTRAINT_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_INACTIVE_STA_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CHANNEL_SWITCH_COMPLETE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DFS_CHANNELS_CONFIG_COMPLETE_EVENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SMART_CONFIG_SYNC_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SMART_CONFIG_DECODE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TIME_SYNC_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FW_LOGGER_INDICATION@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RX_BA_WIN_SIZE_CHANGE_EVENT_ID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_MAX_TX_FAILURE_EVENT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_wlcore_boot_run_firmware
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wl18xx_enable_interrupts       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_LOSS_EVENT_ID,4,2          ## @BSS_LOSS_EVENT_ID
	.comm	_SCAN_COMPLETE_EVENT_ID,4,2     ## @SCAN_COMPLETE_EVENT_ID
	.comm	_RADAR_DETECTED_EVENT_ID,4,2    ## @RADAR_DETECTED_EVENT_ID
	.comm	_RSSI_SNR_TRIGGER_0_EVENT_ID,4,2 ## @RSSI_SNR_TRIGGER_0_EVENT_ID
	.comm	_PERIODIC_SCAN_COMPLETE_EVENT_ID,4,2 ## @PERIODIC_SCAN_COMPLETE_EVENT_ID
	.comm	_PERIODIC_SCAN_REPORT_EVENT_ID,4,2 ## @PERIODIC_SCAN_REPORT_EVENT_ID
	.comm	_DUMMY_PACKET_EVENT_ID,4,2      ## @DUMMY_PACKET_EVENT_ID
	.comm	_PEER_REMOVE_COMPLETE_EVENT_ID,4,2 ## @PEER_REMOVE_COMPLETE_EVENT_ID
	.comm	_BA_SESSION_RX_CONSTRAINT_EVENT_ID,4,2 ## @BA_SESSION_RX_CONSTRAINT_EVENT_ID
	.comm	_REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID,4,2 ## @REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID
	.comm	_INACTIVE_STA_EVENT_ID,4,2      ## @INACTIVE_STA_EVENT_ID
	.comm	_CHANNEL_SWITCH_COMPLETE_EVENT_ID,4,2 ## @CHANNEL_SWITCH_COMPLETE_EVENT_ID
	.comm	_DFS_CHANNELS_CONFIG_COMPLETE_EVENT,4,2 ## @DFS_CHANNELS_CONFIG_COMPLETE_EVENT
	.comm	_SMART_CONFIG_SYNC_EVENT_ID,4,2 ## @SMART_CONFIG_SYNC_EVENT_ID
	.comm	_SMART_CONFIG_DECODE_EVENT_ID,4,2 ## @SMART_CONFIG_DECODE_EVENT_ID
	.comm	_TIME_SYNC_EVENT_ID,4,2         ## @TIME_SYNC_EVENT_ID
	.comm	_FW_LOGGER_INDICATION,4,2       ## @FW_LOGGER_INDICATION
	.comm	_RX_BA_WIN_SIZE_CHANGE_EVENT_ID,4,2 ## @RX_BA_WIN_SIZE_CHANGE_EVENT_ID
	.comm	_MAX_TX_FAILURE_EVENT_ID,4,2    ## @MAX_TX_FAILURE_EVENT_ID
	.no_dead_strip	_wl18xx_boot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_boot
_wl18xx_boot:                           ; @wl18xx_boot
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_wl18xx_pre_boot
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_wl18xx_pre_upload
	tbnz	w0, #31, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_wlcore_boot_upload_firmware
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_wl18xx_set_mac_and_phy
	tbnz	w0, #31, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _BSS_LOSS_EVENT_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_LOSS_EVENT_ID@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SCAN_COMPLETE_EVENT_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SCAN_COMPLETE_EVENT_ID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _RADAR_DETECTED_EVENT_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RADAR_DETECTED_EVENT_ID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _RSSI_SNR_TRIGGER_0_EVENT_ID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RSSI_SNR_TRIGGER_0_EVENT_ID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PERIODIC_SCAN_COMPLETE_EVENT_ID@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PERIODIC_SCAN_COMPLETE_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _PERIODIC_SCAN_REPORT_EVENT_ID@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PERIODIC_SCAN_REPORT_EVENT_ID@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _DUMMY_PACKET_EVENT_ID@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DUMMY_PACKET_EVENT_ID@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _PEER_REMOVE_COMPLETE_EVENT_ID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PEER_REMOVE_COMPLETE_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh23:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _BA_SESSION_RX_CONSTRAINT_EVENT_ID@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BA_SESSION_RX_CONSTRAINT_EVENT_ID@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID@GOTPAGE
Lloh28:
	ldr	x9, [x9, _REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _INACTIVE_STA_EVENT_ID@GOTPAGE
Lloh31:
	ldr	x10, [x10, _INACTIVE_STA_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh32:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _CHANNEL_SWITCH_COMPLETE_EVENT_ID@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CHANNEL_SWITCH_COMPLETE_EVENT_ID@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _DFS_CHANNELS_CONFIG_COMPLETE_EVENT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DFS_CHANNELS_CONFIG_COMPLETE_EVENT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _SMART_CONFIG_SYNC_EVENT_ID@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SMART_CONFIG_SYNC_EVENT_ID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh41:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _SMART_CONFIG_DECODE_EVENT_ID@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SMART_CONFIG_DECODE_EVENT_ID@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh45:
	adrp	x9, _TIME_SYNC_EVENT_ID@GOTPAGE
Lloh46:
	ldr	x9, [x9, _TIME_SYNC_EVENT_ID@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _FW_LOGGER_INDICATION@GOTPAGE
Lloh49:
	ldr	x10, [x10, _FW_LOGGER_INDICATION@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh50:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh51:
	adrp	x9, _RX_BA_WIN_SIZE_CHANGE_EVENT_ID@GOTPAGE
Lloh52:
	ldr	x9, [x9, _RX_BA_WIN_SIZE_CHANGE_EVENT_ID@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh54:
	adrp	x8, _MAX_TX_FAILURE_EVENT_ID@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MAX_TX_FAILURE_EVENT_ID@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_wlcore_boot_run_firmware
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wl18xx_enable_interrupts
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_LOSS_EVENT_ID,4,2          ; @BSS_LOSS_EVENT_ID
	.comm	_SCAN_COMPLETE_EVENT_ID,4,2     ; @SCAN_COMPLETE_EVENT_ID
	.comm	_RADAR_DETECTED_EVENT_ID,4,2    ; @RADAR_DETECTED_EVENT_ID
	.comm	_RSSI_SNR_TRIGGER_0_EVENT_ID,4,2 ; @RSSI_SNR_TRIGGER_0_EVENT_ID
	.comm	_PERIODIC_SCAN_COMPLETE_EVENT_ID,4,2 ; @PERIODIC_SCAN_COMPLETE_EVENT_ID
	.comm	_PERIODIC_SCAN_REPORT_EVENT_ID,4,2 ; @PERIODIC_SCAN_REPORT_EVENT_ID
	.comm	_DUMMY_PACKET_EVENT_ID,4,2      ; @DUMMY_PACKET_EVENT_ID
	.comm	_PEER_REMOVE_COMPLETE_EVENT_ID,4,2 ; @PEER_REMOVE_COMPLETE_EVENT_ID
	.comm	_BA_SESSION_RX_CONSTRAINT_EVENT_ID,4,2 ; @BA_SESSION_RX_CONSTRAINT_EVENT_ID
	.comm	_REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID,4,2 ; @REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID
	.comm	_INACTIVE_STA_EVENT_ID,4,2      ; @INACTIVE_STA_EVENT_ID
	.comm	_CHANNEL_SWITCH_COMPLETE_EVENT_ID,4,2 ; @CHANNEL_SWITCH_COMPLETE_EVENT_ID
	.comm	_DFS_CHANNELS_CONFIG_COMPLETE_EVENT,4,2 ; @DFS_CHANNELS_CONFIG_COMPLETE_EVENT
	.comm	_SMART_CONFIG_SYNC_EVENT_ID,4,2 ; @SMART_CONFIG_SYNC_EVENT_ID
	.comm	_SMART_CONFIG_DECODE_EVENT_ID,4,2 ; @SMART_CONFIG_DECODE_EVENT_ID
	.comm	_TIME_SYNC_EVENT_ID,4,2         ; @TIME_SYNC_EVENT_ID
	.comm	_FW_LOGGER_INDICATION,4,2       ; @FW_LOGGER_INDICATION
	.comm	_RX_BA_WIN_SIZE_CHANGE_EVENT_ID,4,2 ; @RX_BA_WIN_SIZE_CHANGE_EVENT_ID
	.comm	_MAX_TX_FAILURE_EVENT_ID,4,2    ; @MAX_TX_FAILURE_EVENT_ID
	.no_dead_strip	_wl18xx_boot
.subsections_via_symbols
