	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_hw_init                 ## -- Begin function wl1271_hw_init
	.p2align	4, 0x90
_wl1271_hw_init:                        ## @wl1271_hw_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_24
## %bb.1:
	movq	%r14, %rdi
	callq	_wl1271_init_templates_config
	testl	%eax, %eax
	js	LBB0_24
## %bb.2:
	movq	%r14, %rdi
	callq	_wl12xx_acx_mem_cfg
	testl	%eax, %eax
	js	LBB0_24
## %bb.3:
	movq	%r14, %rdi
	callq	_wl12xx_init_fwlog
	testl	%eax, %eax
	js	LBB0_24
## %bb.4:
	movq	%r14, %rdi
	callq	_wlcore_cmd_regdomain_config_locked
	testl	%eax, %eax
	js	LBB0_24
## %bb.5:
	movq	%r14, %rdi
	callq	_wl1271_init_pta
	testl	%eax, %eax
	js	LBB0_24
## %bb.6:
	movq	%r14, %rdi
	callq	_wl1271_acx_init_mem_config
	testl	%eax, %eax
	js	LBB0_24
## %bb.7:
	movq	%r14, %rdi
	callq	_wl12xx_init_rx_config
	testl	%eax, %eax
	js	LBB0_17
## %bb.8:
	movq	%r14, %rdi
	callq	_wl1271_acx_dco_itrim_params
	testl	%eax, %eax
	js	LBB0_17
## %bb.9:
	movq	%r14, %rdi
	callq	_wl1271_acx_tx_config_options
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:
	movq	%r14, %rdi
	callq	_wl1271_acx_init_rx_interrupt
	testl	%eax, %eax
	js	LBB0_17
## %bb.11:
	movq	%r14, %rdi
	callq	_wl1271_init_energy_detection
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wl1271_acx_frag_threshold
	testl	%eax, %eax
	js	LBB0_17
## %bb.13:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_wl1271_cmd_data_path
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movq	%r14, %rdi
	callq	_wl1271_acx_pm_config
	testl	%eax, %eax
	js	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	callq	_wl12xx_acx_set_rate_mgmt_params
	testl	%eax, %eax
	js	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_wl12xx_acx_config_hangover
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_25
LBB0_17:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
	jmp	LBB0_25
LBB0_24:
	movl	%eax, %ebx
LBB0_25:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_hw_init                 ; -- Begin function wl1271_hw_init
	.p2align	2
_wl1271_hw_init:                        ; @wl1271_hw_init
	.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
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	blr	x8
	tbnz	w0, #31, LBB0_18
; %bb.1:
	mov	x0, x19
	bl	_wl1271_init_templates_config
	tbnz	w0, #31, LBB0_18
; %bb.2:
	mov	x0, x19
	bl	_wl12xx_acx_mem_cfg
	tbnz	w0, #31, LBB0_18
; %bb.3:
	mov	x0, x19
	bl	_wl12xx_init_fwlog
	tbnz	w0, #31, LBB0_18
; %bb.4:
	mov	x0, x19
	bl	_wlcore_cmd_regdomain_config_locked
	tbnz	w0, #31, LBB0_18
; %bb.5:
	mov	x0, x19
	bl	_wl1271_init_pta
	tbnz	w0, #31, LBB0_18
; %bb.6:
	mov	x0, x19
	bl	_wl1271_acx_init_mem_config
	tbnz	w0, #31, LBB0_18
; %bb.7:
	mov	x0, x19
	bl	_wl12xx_init_rx_config
	tbnz	w0, #31, LBB0_20
; %bb.8:
	mov	x0, x19
	bl	_wl1271_acx_dco_itrim_params
	tbnz	w0, #31, LBB0_20
; %bb.9:
	mov	x0, x19
	bl	_wl1271_acx_tx_config_options
	tbnz	w0, #31, LBB0_20
; %bb.10:
	mov	x0, x19
	bl	_wl1271_acx_init_rx_interrupt
	tbnz	w0, #31, LBB0_20
; %bb.11:
	mov	x0, x19
	bl	_wl1271_init_energy_detection
	tbnz	w0, #31, LBB0_20
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wl1271_acx_frag_threshold
	tbnz	w0, #31, LBB0_20
; %bb.13:
	mov	x0, x19
	mov	w1, #1
	bl	_wl1271_cmd_data_path
	tbnz	w0, #31, LBB0_20
; %bb.14:
	mov	x0, x19
	bl	_wl1271_acx_pm_config
	tbnz	w0, #31, LBB0_20
; %bb.15:
	mov	x0, x19
	bl	_wl12xx_acx_set_rate_mgmt_params
	tbnz	w0, #31, LBB0_20
; %bb.16:
	mov	x0, x19
	bl	_wl12xx_acx_config_hangover
	tbnz	w0, #31, LBB0_20
; %bb.17:
	mov	w20, #0
	b	LBB0_19
LBB0_18:
	mov	x20, x0
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	x20, x0
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
	b	LBB0_19
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
