	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSL_BSP_FWDownload             ## -- Begin function DSL_BSP_FWDownload
	.p2align	4, 0x90
_DSL_BSP_FWDownload:                    ## @DSL_BSP_FWDownload
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	callq	_DSL_DEV_PRIVATE
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	_IFX_MEI_DMSG
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.24:
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	cmpl	$0, (%rax)
	je	LBB0_25
LBB0_20:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_31
## %bb.21:
	xorl	%r15d, %r15d
	movq	_SDRAM_SEGMENT_SIZE@GOTPCREL(%rip), %r14
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	%r14, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%r14, 24(%rax,%rcx,8)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %r15
	movq	_SDRAM_SEGMENT_SIZE@GOTPCREL(%rip), %r14
	jae	LBB0_31
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	addq	%r15, %rax
	movslq	(%r14), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r12
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r12d
                                        ## kill: def $eax killed $eax def $rax
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	cltq
	leaq	(%rax,%rax,4), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdi
	addq	%r12, %rdi
	callq	_KSEG1ADDR
	movq	%rax, %rbx
	subq	%r15, %r13
	movslq	(%r14), %rcx
	movq	%rcx, %r14
	subq	%r12, %r14
	addq	%r13, %r12
	cmpq	%rcx, %r12
	cmovbeq	%r13, %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_copy_from_user
	cmpq	$4, %r14
	jb	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %r12
	shrq	$2, %r12
	cmpq	$2, %r12
	movl	$1, %eax
	cmovbq	%rax, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%r13,8), %rdi
	callq	_le32_to_cpu
	cltq
	movq	%rax, (%rbx,%r13,8)
	incq	%r13
	cmpq	%r12, %r13
	jne	LBB0_29
	jmp	LBB0_30
LBB0_31:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	_DSL_DEV_MEI_ERR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_1:
	cmpq	$15, %r13
	ja	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_IFX_MEI_EMSG
	jmp	LBB0_35
LBB0_25:
	leaq	L_.str.6(%rip), %rdi
LBB0_33:
	callq	_IFX_MEI_EMSG
	movq	_FREE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IFX_MEI_DFEMemoryFree
	movq	_DSL_DEV_MEI_ERR_FAILURE@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %r14d
LBB0_35:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	-112(%rbp), %rdi
	movl	$16, %edx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_copy_from_user
	movq	-112(%rbp), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	addl	$8, %ebx
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	%ebx, (%rax)
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	cmpl	$1048577, (%rax)                ## imm = 0x100001
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	callq	_IFX_MEI_EMSG
	jmp	LBB0_35
LBB0_5:
	movq	%r12, %rdi
	callq	_IFX_MEI_ResetARC
	movq	%r12, %rdi
	callq	_IFX_MEI_HaltArc
	movq	_FREE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IFX_MEI_DFEMemoryFree
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IFX_MEI_DFEMemoryAlloc
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_32
## %bb.6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.7:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	32(%rax), %r13
	xorl	%ebx, %ebx
	movq	_XDATA_REGISTER@GOTPCREL(%rip), %rcx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rcx), %rax
	movq	%rax, (%r13)
	movq	%r12, %rcx
	movq	%r15, %r12
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	addq	$40, %r13
	cmpq	%rbx, %rdx
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %eax
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %r15
	movq	%rcx, %r12
	movq	_SDRAM_SEGMENT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	imull	%ebx, %r14d
	movq	-104(%rbp), %rax
	movq	(%rax), %rdi
	callq	_le32_to_cpu
	movq	_FREE_SHOWTIME@GOTPCREL(%rip), %rcx
	cmpl	%eax, %r14d
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_FREE_RELOAD@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_13:
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	%rbx, 8(%rax)
	movq	_SDRAM_SEGMENT_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %rcx
	shlq	$54, %rcx
	je	LBB0_16
## %bb.17:
	movq	%rax, %rdi
	callq	_kfree
	movl	$1024, %edi                     ## imm = 0x400
	addl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.18:
	movq	%rax, %rcx
	addq	$1023, %rax                     ## imm = 0x3FF
	andq	$-1024, %rax                    ## imm = 0xFC00
	jmp	LBB0_19
LBB0_32:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_33
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_33
LBB0_16:
	movq	%rax, %rcx
LBB0_19:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	_XDATA_REGISTER@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	leaq	(%rsi,%rsi,4), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, (%rdi,%rsi,8)
	movq	%rcx, 8(%rdi,%rsi,8)
	movl	(%r14), %eax
	movl	%eax, 16(%rdi,%rsi,8)
	movq	_FREE_RELOAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rdx), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, 32(%rdi,%rcx,8)
	leaq	L_.str.5(%rip), %rdi
	callq	_IFX_MEI_DMSG
	movq	%r12, %rdi
	callq	_DSL_DEV_PRIVATE
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_IFX_MEI_BarUpdate
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Firmware size is too small!\n"

L_.str.2:                               ## @.str.2
	.asciz	"Firmware size is too large!\n"

	.comm	_FREE_ALL,4,2                   ## @FREE_ALL
L_.str.3:                               ## @.str.3
	.asciz	"Error: No memory space left.\n"

	.comm	_XDATA_REGISTER,4,2             ## @XDATA_REGISTER
	.comm	_SDRAM_SEGMENT_SIZE,4,2         ## @SDRAM_SEGMENT_SIZE
	.comm	_FREE_RELOAD,8,3                ## @FREE_RELOAD
	.comm	_FREE_SHOWTIME,8,3              ## @FREE_SHOWTIME
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"kmalloc memory fail!\n"

L_.str.5:                               ## @.str.5
	.asciz	"-> IFX_MEI_BarUpdate()\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error: Firmware size=0! \n"

	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ## @DSL_DEV_MEI_ERR_SUCCESS
	.comm	_DSL_DEV_MEI_ERR_FAILURE,4,2    ## @DSL_DEV_MEI_ERR_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSL_BSP_FWDownload             ; -- Begin function DSL_BSP_FWDownload
	.p2align	2
_DSL_BSP_FWDownload:                    ; @DSL_BSP_FWDownload
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x4
	mov	x21, x3
	mov	x20, x2
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x23, x0
	bl	_DSL_DEV_PRIVATE
	ldr	x25, [x0, #16]
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IFX_MEI_DMSG
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	ldr	w8, [x0]
	cbz	w8, LBB0_11
LBB0_2:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	x22, x20
	cbz	x20, LBB0_8
; %bb.3:
	mov	x26, #0
	mov	w28, #40
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w19
	mov	x25, x20
	madd	x8, x8, x28, x20
	ldr	x9, [x8, #24]
	add	x9, x9, x23
	str	x9, [x8, #24]
	add	x26, x23, x26
	mov	x22, x27
	cmp	x26, x27
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x8, x8, x26
Lloh5:
	adrp	x23, _SDRAM_SEGMENT_SIZE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _SDRAM_SEGMENT_SIZE@GOTPAGEOFF]
	ldrsw	x9, [x23]
	udiv	x19, x8, x9
	msub	x21, x19, x9, x8
	smull	x8, w19, w28
	mov	x20, x25
	ldr	x8, [x25, x8]
	add	x0, x21, x8
	bl	_KSEG1ADDR
	mov	x24, x0
	mov	x27, x22
	sub	x8, x22, x26
	add	x9, x21, x8
	ldrsw	x10, [x23]
	sub	x11, x10, x21
	cmp	x9, x10
	csel	x23, x11, x8, hi
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x1, x8, x26
	mov	x2, x23
	bl	_copy_from_user
	cmp	x23, #4
	b.lo	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, #0
	lsr	x8, x23, #2
	cmp	x8, #1
	csinc	x21, x8, xzr, hi
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x25, x22, #3
	ldr	x0, [x24, x25]
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x24, x25]
	add	x22, x22, #1
	cmp	x22, x21
	b.ne	LBB0_7
	b	LBB0_4
LBB0_8:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x9]
	add	x8, x8, x22
	str	x8, [x9]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x22, [x8]
Lloh7:
	adrp	x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	neg	w24, w19
	cmp	x20, #15
	b.hi	LBB0_15
; %bb.10:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IFX_MEI_EMSG
	b	LBB0_14
LBB0_11:
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_12:
	bl	_IFX_MEI_EMSG
Lloh13:
	adrp	x8, _FREE_ALL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FREE_ALL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_IFX_MEI_DFEMemoryFree
Lloh16:
	adrp	x8, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w24, [x8]
LBB0_14:
	mov	x0, x24
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	add	x0, sp, #32
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	w2, #16
	bl	_copy_from_user
	ldr	x0, [sp, #32]
	bl	_le32_to_cpu
	add	w19, w0, #8
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	str	w19, [x0]
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	ldr	w8, [x0]
	cmp	w8, #256, lsl #12               ; =1048576
	b.le	LBB0_17
; %bb.16:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IFX_MEI_EMSG
	b	LBB0_14
LBB0_17:
	mov	x0, x23
	bl	_IFX_MEI_ResetARC
	mov	x0, x23
	bl	_IFX_MEI_HaltArc
Lloh20:
	adrp	x8, _FREE_ALL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FREE_ALL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_IFX_MEI_DFEMemoryFree
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	ldr	w1, [x0]
	mov	x0, x23
	bl	_IFX_MEI_DFEMemoryAlloc
	tbnz	w0, #31, LBB0_27
; %bb.18:
Lloh23:
	adrp	x9, _XDATA_REGISTER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _XDATA_REGISTER@GOTPAGEOFF]
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	cbz	w0, LBB0_23
; %bb.19:
	mov	x19, #0
	add	x28, x25, #32
Lloh25:
	adrp	x27, _SDRAM_SEGMENT_SIZE@GOTPAGE
Lloh26:
	ldr	x27, [x27, _SDRAM_SEGMENT_SIZE@GOTPAGEOFF]
Lloh27:
	adrp	x24, _FREE_SHOWTIME@GOTPAGE
Lloh28:
	ldr	x24, [x24, _FREE_SHOWTIME@GOTPAGEOFF]
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	mov	w26, w8
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x19, x19, #1
	add	x28, x28, #40
	cmp	x26, x19
	b.eq	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x9]
	cmp	x19, x8
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x27]
	mul	w21, w8, w19
	ldr	x8, [sp, #40]
	ldr	x0, [x8]
	bl	_le32_to_cpu
Lloh29:
	adrp	x9, _XDATA_REGISTER@GOTPAGE
Lloh30:
	ldr	x9, [x9, _XDATA_REGISTER@GOTPAGEOFF]
	cmp	w21, w0
Lloh31:
	adrp	x8, _FREE_RELOAD@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FREE_RELOAD@GOTPAGEOFF]
	csel	x8, x8, x24, lt
	ldr	x8, [x8]
	str	x8, [x28]
	b	LBB0_20
LBB0_23:
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	str	w8, [x0, #4]
	ldr	x19, [x25]
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	str	x19, [x0, #8]
Lloh33:
	adrp	x19, _SDRAM_SEGMENT_SIZE@GOTPAGE
Lloh34:
	ldr	x19, [x19, _SDRAM_SEGMENT_SIZE@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh35:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh36:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_kmalloc
	cbz	x0, LBB0_28
; %bb.24:
	tst	x0, #0x3ff
	b.eq	LBB0_29
; %bb.25:
	bl	_kfree
	ldr	w8, [x19]
	add	w0, w8, #1024
	ldr	w1, [x21]
	bl	_kmalloc
	cbz	x0, LBB0_28
; %bb.26:
	mov	x8, x0
	add	x9, x0, #1023
	and	x0, x9, #0xfffffffffffffc00
	b	LBB0_30
LBB0_27:
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_28:
Lloh39:
	adrp	x0, l_.str.4@PAGE
Lloh40:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_29:
	mov	x8, x0
LBB0_30:
Lloh41:
	adrp	x11, _XDATA_REGISTER@GOTPAGE
Lloh42:
	ldr	x11, [x11, _XDATA_REGISTER@GOTPAGEOFF]
	ldrsw	x9, [x11]
	mov	w10, #40
	madd	x9, x9, x10, x25
	stp	x0, x8, [x9]
	ldr	w8, [x19]
	str	w8, [x9, #16]
Lloh43:
	adrp	x8, _FREE_RELOAD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FREE_RELOAD@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	ldrsw	x9, [x11]
	madd	x9, x9, x10, x25
	str	x8, [x9, #32]
Lloh46:
	adrp	x0, l_.str.5@PAGE
Lloh47:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_IFX_MEI_DMSG
	mov	x0, x23
	bl	_DSL_DEV_PRIVATE
	ldr	w1, [x0, #4]
	mov	x0, x23
	bl	_IFX_MEI_BarUpdate
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Firmware size is too small!\n"

l_.str.2:                               ; @.str.2
	.asciz	"Firmware size is too large!\n"

	.comm	_FREE_ALL,4,2                   ; @FREE_ALL
l_.str.3:                               ; @.str.3
	.asciz	"Error: No memory space left.\n"

	.comm	_XDATA_REGISTER,4,2             ; @XDATA_REGISTER
	.comm	_SDRAM_SEGMENT_SIZE,4,2         ; @SDRAM_SEGMENT_SIZE
	.comm	_FREE_RELOAD,8,3                ; @FREE_RELOAD
	.comm	_FREE_SHOWTIME,8,3              ; @FREE_SHOWTIME
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"kmalloc memory fail!\n"

l_.str.5:                               ; @.str.5
	.asciz	"-> IFX_MEI_BarUpdate()\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error: Firmware size=0! \n"

	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ; @DSL_DEV_MEI_ERR_SUCCESS
	.comm	_DSL_DEV_MEI_ERR_FAILURE,4,2    ; @DSL_DEV_MEI_ERR_FAILURE
.subsections_via_symbols
