	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_unzip_data                 ## -- Begin function qed_unzip_data
	.p2align	4, 0x90
_qed_unzip_data:                        ## @qed_unzip_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	%rdx, 24(%rdi)
	movl	%esi, (%rdi)
	movq	%r8, 16(%rdi)
	movl	%ecx, 4(%rdi)
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_zlib_inflateInit2
	movq	_Z_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_1
## %bb.2:
	movq	(%r14), %rdi
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_zlib_inflate
	movl	%eax, %r15d
	movq	(%r14), %rdi
	callq	_zlib_inflateEnd
	cmpl	(%rbx), %r15d
	je	LBB0_5
## %bb.3:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_5
## %bb.4:
	movq	_NETIF_MSG_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	12(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_6
LBB0_1:
	movq	_NETIF_MSG_DRV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_6
LBB0_5:
	movq	(%r14), %rax
	movl	8(%rax), %eax
	leal	3(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$2, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_NETIF_MSG_DRV,4,2              ## @NETIF_MSG_DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zlib init failed, rc = %d\n"

	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
L_.str.1:                               ## @.str.1
	.asciz	"FW unzip error: %s, rc=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_unzip_data                 ; -- Begin function qed_unzip_data
	.p2align	2
_qed_unzip_data:                        ; @qed_unzip_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x0, [x0]
	stp	x4, x2, [x0, #16]
	stp	w1, w3, [x0]
Lloh0:
	adrp	x8, _MAX_WBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_WBITS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_zlib_inflateInit2
Lloh3:
	adrp	x21, _Z_OK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Z_OK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _Z_FINISH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Z_FINISH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_zlib_inflate
	mov	x20, x0
	ldr	x0, [x19]
	bl	_zlib_inflateEnd
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _Z_STREAM_END@GOTPAGE
Lloh9:
	ldr	x9, [x9, _Z_STREAM_END@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w20, w8
	ccmp	w20, w9, #4, ne
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_6
LBB0_3:
	mov	x3, x0
Lloh11:
	adrp	x8, _NETIF_MSG_DRV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETIF_MSG_DRV@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _NETIF_MSG_DRV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETIF_MSG_DRV@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	w3, [x8, #12]
	str	x20, [sp]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_NETIF_MSG_DRV,4,2              ; @NETIF_MSG_DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zlib init failed, rc = %d\n"

	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
l_.str.1:                               ; @.str.1
	.asciz	"FW unzip error: %s, rc=%d\n"

.subsections_via_symbols
