	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_download_pkg
_ice_download_pkg:                      ## @ice_download_pkg
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ICE_DBG_PKG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	24(%rbx), %ecx
	movl	20(%rbx), %r8d
	movl	12(%rbx), %eax
	movl	16(%rbx), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_ice_debug
	movl	(%r13), %r15d
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movl	(%rbx), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ice_debug
	movq	%rbx, %rdi
	callq	_ice_find_buf_table
	movq	%rax, %rbx
	movl	(%r13), %r15d
	movl	(%rax), %edi
	callq	_le32_to_cpu
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ice_debug
	movl	(%rbx), %edi
	movl	4(%rbx), %ebx
	callq	_le32_to_cpu
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_dwnld_cfg_bufs             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_DBG_PKG,4,2                ## @ICE_DBG_PKG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Segment version: %d.%d.%d.%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Seg: type 0x%X, size %d, name %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Seg buf count: %d\n"

	.no_dead_strip	_ice_download_pkg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_download_pkg
_ice_download_pkg:                      ; @ice_download_pkg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _ICE_DBG_PKG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ICE_DBG_PKG@GOTPAGEOFF]
	ldr	w1, [x23]
	ldp	w8, w3, [x20, #20]
	ldp	w10, w9, [x20, #12]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ice_debug
	ldr	w21, [x23]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	bl	_ice_debug
	mov	x0, x20
	bl	_ice_find_buf_table
	mov	x20, x0
	ldr	w21, [x23]
	ldr	w0, [x0]
	bl	_le32_to_cpu
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ice_debug
	ldp	w0, w21, [x20]
	bl	_le32_to_cpu
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	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
	add	sp, sp, #96
	b	_ice_dwnld_cfg_bufs
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_DBG_PKG,4,2                ; @ICE_DBG_PKG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Segment version: %d.%d.%d.%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Seg: type 0x%X, size %d, name %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Seg buf count: %d\n"

	.no_dead_strip	_ice_download_pkg
.subsections_via_symbols
