	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_asic
_load_asic:                             ## @load_asic
	.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
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_DSP_FNC_LOAD_LAYLA_ASIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_card_fw@GOTPCREL(%rip), %rax
	movq	_FW_LAYLA20_ASIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	shlq	$2, %rdx
	addq	(%rax), %rdx
	callq	_load_asic_generic
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_check_asic_status              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSP_FNC_LOAD_LAYLA_ASIC,4,2    ## @DSP_FNC_LOAD_LAYLA_ASIC
	.comm	_card_fw,8,3                    ## @card_fw
	.comm	_FW_LAYLA20_ASIC,8,3            ## @FW_LAYLA20_ASIC
	.no_dead_strip	_load_asic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_asic
_load_asic:                             ; @load_asic
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
Lloh0:
	adrp	x8, _DSP_FNC_LOAD_LAYLA_ASIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSP_FNC_LOAD_LAYLA_ASIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _card_fw@GOTPAGE
Lloh3:
	ldr	x9, [x9, _card_fw@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _FW_LAYLA20_ASIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_LAYLA20_ASIC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #2
	bl	_load_asic_generic
	tbnz	w0, #31, LBB0_2
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_check_asic_status
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DSP_FNC_LOAD_LAYLA_ASIC,4,2    ; @DSP_FNC_LOAD_LAYLA_ASIC
	.comm	_card_fw,8,3                    ; @card_fw
	.comm	_FW_LAYLA20_ASIC,8,3            ; @FW_LAYLA20_ASIC
	.no_dead_strip	_load_asic
.subsections_via_symbols
