	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function downloadcb_create
_downloadcb_create:                     ## @downloadcb_create
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movl	$64, %edi
	callq	_heap_alloc_zero
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_BindStatusCallbackVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movl	$1, (%rbx)
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	%r12, 8(%rbx)
	movq	%r15, 16(%rbx)
	movq	%r14, 40(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 36(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 28(%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strAtoW
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	16(%rbp), %r15
	movq	%r14, %rdi
	callq	_IInstallEngine2_AddRef
	movq	%rbx, (%r15)
	movq	_S_OK@GOTPCREL(%rip), %r13
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_heap_free
LBB0_4:
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_BindStatusCallbackVtbl,4,2     ## @BindStatusCallbackVtbl
	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_downloadcb_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function downloadcb_create
_downloadcb_create:                     ; @downloadcb_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x23, x5
	mov	x25, x4
	mov	x26, x3
	mov	x22, x2
	mov	x24, x1
	mov	x20, x0
	mov	w0, #64
	bl	_heap_alloc_zero
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _BindStatusCallbackVtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BindStatusCallbackVtbl@GOTPAGEOFF]
	str	x8, [x0, #56]
	mov	w8, #1
	str	w8, [x0]
Lloh2:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #48]
	stp	x26, x25, [x0, #8]
	str	x20, [x0, #40]
	str	w23, [x0, #36]
	ldr	w8, [x20, #4]
	stp	w24, w8, [x0, #28]
	mov	x0, x22
	bl	_strAtoW
	str	w0, [x21, #24]
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_IInstallEngine2_AddRef
	str	x21, [x19]
Lloh5:
	adrp	x8, _S_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_heap_free
LBB0_4:
Lloh7:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_BindStatusCallbackVtbl,4,2     ; @BindStatusCallbackVtbl
	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_downloadcb_create
.subsections_via_symbols
