	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logical_physical
_logical_physical:                      ## @logical_physical
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BtrFsInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rdi, -32(%rbp)
	movq	(%r14), %rdi
	movq	_btrfs_comp_chunk_map@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	8(%r14), %r9d
	leaq	-20(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-32(%rbp), %rdx
	movl	$24, %esi
	xorl	%r8d, %r8d
	callq	_bin_search
	movl	-20(%rbp), %ecx
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	testl	%ecx, %ecx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_1:
	incl	%ecx
	movl	%ecx, -20(%rbp)
LBB0_2:
	movq	(%r14), %rax
	decl	%ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	8(%rax,%rcx,8), %rdx
	addq	%rsi, %rdx
	cmpq	%rbx, %rdx
	jle	LBB0_5
## %bb.3:
	movq	%rbx, %rdx
	subq	%rsi, %rdx
	addq	16(%rax,%rcx,8), %rdx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	movq	(%r14), %rax
	movslq	-20(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	-8(%rax,%rcx,8), %rbx
	subq	-24(%rax,%rcx,8), %rbx
	jmp	LBB0_6
LBB0_5:
	movq	_INVALID_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_6:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BtrFsInfo,8,3                  ## @BtrFsInfo
	.comm	_btrfs_comp_chunk_map,8,3       ## @btrfs_comp_chunk_map
	.comm	_INVALID_ADDRESS,8,3            ## @INVALID_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Address translation: 0x%llx -> 0x%llx\n"

	.no_dead_strip	_logical_physical
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logical_physical
_logical_physical:                      ; @logical_physical
	.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
Lloh0:
	adrp	x8, _BtrFsInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BtrFsInfo@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	str	x0, [sp, #8]
	ldr	x0, [x20]
Lloh3:
	adrp	x8, _btrfs_comp_chunk_map@GOTPAGE
Lloh4:
	ldr	x8, [x8, _btrfs_comp_chunk_map@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w5, [x20, #8]
	add	x2, sp, #8
	add	x6, sp, #4
	mov	w1, #24
	mov	w4, #0
	bl	_bin_search
	ldr	w8, [sp, #4]
	cbz	w0, LBB0_2
; %bb.1:
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_2:
	add	w8, w8, #1
	str	w8, [sp, #4]
LBB0_3:
	ldr	x9, [x20]
	sxtw	x8, w8
	sub	x8, x8, #1
	mov	w10, #24
	madd	x11, x8, x10, x9
	ldp	x10, x11, [x11]
	add	x11, x11, x10
	cmp	x11, x19
	b.le	LBB0_5
; %bb.4:
	mov	w21, #24
	madd	x8, x8, x21, x9
	ldr	x8, [x8, #16]
	sub	x9, x19, x10
	add	x2, x9, x8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	ldr	x8, [x20]
	ldrsw	x9, [sp, #4]
	madd	x8, x9, x21, x8
	ldur	x9, [x8, #-8]
	ldur	x8, [x8, #-24]
	add	x9, x9, x19
	sub	x0, x9, x8
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _INVALID_ADDRESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INVALID_ADDRESS@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BtrFsInfo,8,3                  ; @BtrFsInfo
	.comm	_btrfs_comp_chunk_map,8,3       ; @btrfs_comp_chunk_map
	.comm	_INVALID_ADDRESS,8,3            ; @INVALID_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Address translation: 0x%llx -> 0x%llx\n"

	.no_dead_strip	_logical_physical
.subsections_via_symbols
