	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_err
_print_err:                             ## @print_err
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	l_.str(%rip), %rdi
	callq	_write_status
	movq	_DWNL_E_LASTERROR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	movq	_StdErr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_IDS_ERROR_DOWNLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	jmp	LBB0_9
LBB0_4:
	cmpl	$128, %ebx
	je	LBB0_7
## %bb.5:
	cmpl	$129, %ebx
	jne	LBB0_10
## %bb.6:
	movq	_StdErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_ERROR_FILENAME@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_IDS_ERROR_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_ConResPrintf
	jmp	LBB0_10
LBB0_7:
	movq	_StdErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
LBB0_9:
	xorl	%eax, %eax
	callq	_ConResPrintf
LBB0_10:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.space	4

	.comm	_DWNL_E_LASTERROR,4,2           ## @DWNL_E_LASTERROR
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_StdErr,4,2                     ## @StdErr
	.comm	_IDS_ERROR_DOWNLOAD,4,2         ## @IDS_ERROR_DOWNLOAD
	.comm	_IDS_ERROR_CODE,4,2             ## @IDS_ERROR_CODE
	.comm	_IDS_ERROR_FILENAME,4,2         ## @IDS_ERROR_FILENAME
	.comm	_IDS_ERROR_PROTOCOL,4,2         ## @IDS_ERROR_PROTOCOL
	.no_dead_strip	_print_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_err
_print_err:                             ; @print_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_write_status
Lloh2:
	adrp	x8, _DWNL_E_LASTERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DWNL_E_LASTERROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_3
; %bb.1:
	bl	_GetLastError
Lloh5:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _StdErr@GOTPAGE
Lloh9:
	ldr	x9, [x9, _StdErr@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x9]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _IDS_ERROR_DOWNLOAD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDS_ERROR_DOWNLOAD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	b	LBB0_9
LBB0_3:
	cmp	w19, #128
	b.eq	LBB0_7
; %bb.4:
	cmp	w19, #129
	b.ne	LBB0_10
; %bb.5:
Lloh14:
	adrp	x8, _StdErr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _StdErr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _IDS_ERROR_FILENAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDS_ERROR_FILENAME@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x8, _IDS_ERROR_CODE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IDS_ERROR_CODE@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	bl	_GetLastError
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x20
	b	LBB0_9
LBB0_7:
Lloh22:
	adrp	x8, _StdErr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _StdErr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _IDS_ERROR_PROTOCOL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IDS_ERROR_PROTOCOL@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
LBB0_9:
	bl	_ConResPrintf
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.space	4

	.comm	_DWNL_E_LASTERROR,4,2           ; @DWNL_E_LASTERROR
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_StdErr,4,2                     ; @StdErr
	.comm	_IDS_ERROR_DOWNLOAD,4,2         ; @IDS_ERROR_DOWNLOAD
	.comm	_IDS_ERROR_CODE,4,2             ; @IDS_ERROR_CODE
	.comm	_IDS_ERROR_FILENAME,4,2         ; @IDS_ERROR_FILENAME
	.comm	_IDS_ERROR_PROTOCOL,4,2         ; @IDS_ERROR_PROTOCOL
	.no_dead_strip	_print_err
.subsections_via_symbols
