	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_pdb_download             ## -- Begin function r_bin_pdb_download
	.p2align	4, 0x90
_r_bin_pdb_download:                    ## @r_bin_pdb_download
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	(%rdi), %edi
	callq	_r_bin_get_info
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.4:
	testq	%r12, %r12
	je	LBB0_7
## %bb.5:
	cmpq	$0, 16(%r12)
	je	LBB0_7
## %bb.6:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.8:
	callq	_r_file_basename
	movq	%rax, -80(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)
	movups	8(%r12), %xmm0
	movups	%xmm0, -64(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -68(%rbp)
	movl	(%r12), %eax
	movl	%eax, -72(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_init_pdb_downloader
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:
	leaq	-40(%rbp), %rdi
	callq	*%rcx
	testl	%r15d, %r15d
	jne	LBB0_12
	jmp	LBB0_14
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_eprintf
	movl	$1, %eax
LBB0_18:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	je	LBB0_14
LBB0_12:
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	cmpl	$0, (%r14)
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rcx, %rsi
	movq	-80(%rbp), %rdx
	testl	%eax, %eax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_14:
	movq	-80(%rbp), %rsi
	testl	%eax, %eax
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_15:
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	incl	(%r14)
LBB0_17:
	leaq	-40(%rbp), %rdi
	callq	_deinit_pdb_downloader
	xorl	%eax, %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't find debug filename\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can't retrieve pdb configurations\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s\"pdb\":{\"file\":\"%s\",\"download\":%s}"

L_.str.3:                               ## @.str.3
	.asciz	","

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"true"

L_.str.6:                               ## @.str.6
	.asciz	"false"

L_.str.7:                               ## @.str.7
	.asciz	"PDB \"%s\" download %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"success"

L_.str.9:                               ## @.str.9
	.asciz	"failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_pdb_download             ; -- Begin function r_bin_pdb_download
	.p2align	2
_r_bin_pdb_download:                    ; @r_bin_pdb_download
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x0]
	bl	_r_bin_get_info
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_7
; %bb.2:
	cbz	x21, LBB0_8
; %bb.3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.5:
	bl	_r_file_basename
	str	x0, [sp, #24]
	ldr	w8, [x22]
	str	w8, [sp, #56]
	ldur	q0, [x21, #8]
	stur	q0, [sp, #40]
	ldr	d0, [x21]
	str	d0, [sp, #32]
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_init_pdb_downloader
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_11
; %bb.6:
	add	x0, sp, #16
	blr	x8
	cbnz	w20, LBB0_12
	b	LBB0_14
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_eprintf
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	w0, #0
	cbz	w20, LBB0_14
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
	ldr	w9, [x19]
Lloh6:
	adrp	x10, l_.str.4@PAGE
Lloh7:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w9, #0
	csel	x1, x10, x8, eq
	ldr	x2, [sp, #24]
Lloh8:
	adrp	x8, l_.str.5@PAGE
Lloh9:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh10:
	adrp	x9, l_.str.6@PAGE
Lloh11:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	w0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
	ldr	x1, [sp, #24]
Lloh14:
	adrp	x8, l_.str.8@PAGE
Lloh15:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh16:
	adrp	x9, l_.str.9@PAGE
Lloh17:
	add	x9, x9, l_.str.9@PAGEOFF
	cmp	w0, #0
	csel	x2, x9, x8, eq
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_15:
	bl	_printf
	cbz	x19, LBB0_17
; %bb.16:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_17:
	add	x0, sp, #16
	bl	_deinit_pdb_downloader
	mov	w0, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't find debug filename\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can't retrieve pdb configurations\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s\"pdb\":{\"file\":\"%s\",\"download\":%s}"

l_.str.3:                               ; @.str.3
	.asciz	","

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"true"

l_.str.6:                               ; @.str.6
	.asciz	"false"

l_.str.7:                               ; @.str.7
	.asciz	"PDB \"%s\" download %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"success"

l_.str.9:                               ; @.str.9
	.asciz	"failed"

.subsections_via_symbols
